Serverdex · build · Kotlin

Build an MCP server in Kotlin

The official Kotlin SDK, the exact install command, the API you start from — and the real Kotlin MCP servers in our index to copy. SDK facts read from the repository on 1 December 2026.
Official SDK
Tier 3
Model Context Protocol
Kotlin servers
30
in our index
Requires
Kotlin 2.3+, JVM 11+
toolchain
Good to know: Tier 3 SDK. Check the badge on the repo for the current $mcpVersion.

1. Install the Kotlin SDK

package: io.modelcontextprotocol:kotlin-sdk
implementation("io.modelcontextprotocol:kotlin-sdk:$mcpVersion")

The official SDK repository: modelcontextprotocol/kotlin-sdk.

2. The shape of a minimal server

start from this API
import io.modelcontextprotocol.kotlin.sdk.server.Server
import io.modelcontextprotocol.kotlin.sdk.types.Implementation

val server = Server(serverInfo = Implementation(name = "example-server", version = "1.0.0"), options = /* … */)

This is the starting API, not a full program — the complete, always-current walkthrough is the official quickstart. Define your tools, then connect a transport (stdio for local, HTTP for remote). Read on 1 December 2026; confirm the current version in the quickstart.

3. Real Kotlin MCP servers to learn from

most-starred in our index · open source
  1. sceneview MCP

    sceneview
    A

    Production-ready

    SceneView 3D & AR for Android and the web: API docs, samples, code validation and generation.

    Registry
    1.4k 6d agoApache-2.0
  2. MCP Task Orchestrator

    jpicklyk
    A

    Production-ready

    Workflow discipline for AI agents: work items, gates, role-scoped tool profiles and runs

    Registry
    215 7d agoMIT
  3. Shuttle

    grarcht
    B

    Well-maintained

    Android framework and solution that prevents TransactionTooLargeException crashes by design.

    Registry
    87 4mo agoMIT
  4. WormaCeptor

    wormaceptor
    A

    Production-ready

    Inspect a running Android debug app: network traffic, crashes, logs, databases and preferences

    Registry
    46 15d agoMIT
  5. AURA

    Dinesh210805
    A

    Production-ready

    Let any MCP client operate your Android phone: taps, typing, screen reading. Local, E2E encrypted.

    Registry
    28 5d agoAGPL-3.0
  6. Icloud Calendar MCP

    icloud-calendar-mcp
    B

    Well-maintained

    MCP server for iCloud (Apple) Calendar access via CalDAV

    Registry
    25 11d agoOther

See all Kotlin MCP servers, or the best-maintained across every language.

4. Connect it, then get it found

Point a client at your server to try it — the client matrix shows which clients support what. When it works, list it on Serverdex: a free listing is a server page with a link back to us, in front of developers choosing MCP servers. Want it live now without the link? Priority Review ($9, one-time) does that.

Questions people ask

What's the official way to build an MCP server in Kotlin?
Use the official Kotlin SDK, io.modelcontextprotocol:kotlin-sdk. Install it (implementation("io.modelcontextprotocol:kotlin-sdk:$mcpVersion")), construct a server, register your tools, and connect a transport. The full, always-current walkthrough is the official quickstart; the snippet here shows the shape. Read from the SDK's repository on 1 December 2026.
Is the Kotlin SDK production-ready?
Tier 3 — experimental, partial or specialised; fine to build on, with sharper edges. Tier 3 SDK. Check the badge on the repo for the current $mcpVersion.
How do I test and connect my Kotlin server?
Run it over stdio and point a client at it. Serverdex's client matrix shows which clients support what; most developers start with Claude Desktop or an IDE client. Once it answers, list it on Serverdex so others find it.