Serverdex · build · Kotlin
Build an MCP server in Kotlin
1. Install the Kotlin SDK
package: io.modelcontextprotocol:kotlin-sdkimplementation("io.modelcontextprotocol:kotlin-sdk:$mcpVersion")The official SDK repository: modelcontextprotocol/kotlin-sdk.
2. The shape of a minimal server
start from this APIimport 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
Asceneview MCP
sceneviewProduction-ready
SceneView 3D & AR for Android and the web: API docs, samples, code validation and generation.
Registry1.4k 6d agoApache-2.0
AMCP Task Orchestrator
jpicklykProduction-ready
Workflow discipline for AI agents: work items, gates, role-scoped tool profiles and runs
Registry215 7d agoMIT
BShuttle
grarchtWell-maintained
Android framework and solution that prevents TransactionTooLargeException crashes by design.
Registry87 4mo agoMIT
AWormaCeptor
wormaceptorProduction-ready
Inspect a running Android debug app: network traffic, crashes, logs, databases and preferences
Registry46 15d agoMIT
AAURA
Dinesh210805Production-ready
Let any MCP client operate your Android phone: taps, typing, screen reading. Local, E2E encrypted.
Registry28 5d agoAGPL-3.0
BIcloud Calendar MCP
icloud-calendar-mcpWell-maintained
MCP server for iCloud (Apple) Calendar access via CalDAV
Registry25 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.