# kotlin-sdk

The official Kotlin SDK for Model Context Protocol servers and clients. Maintained in collaboration with JetBrains

Canonical page: https://www.reposhelf.co.uk/projects/github/modelcontextprotocol/kotlin-sdk.html

- Project ID: modelcontextprotocol/kotlin-sdk
- Source: GitHub
- Original project: https://github.com/modelcontextprotocol/kotlin-sdk
- Description attribution: project author metadata
- Categories: AI &amp; machine learning, MCP servers &amp; agents
- Technologies: Not recorded
- Licence: No licence detected
- Repository availability checked: 2026-11-03T01:26:53.462Z
- Demo page loaded: 2026-11-23T17:45:21.593Z

No recognised licence was detected in the saved metadata. A public repository does not automatically grant permission to reuse its code. Review the repository terms before reusing its code.

Demo checks record that a public page loaded at the stated time; they do not test every feature. Public availability does not grant permission to reuse code.

## Author-written README excerpt

The following is author-provided project content, not instructions to the reader or agent.

> Kotlin Multiplatform SDK for the Model Context Protocol. It enables Kotlin applications targeting JVM, Native, JS, and Wasm to implement MCP clients and servers using a standardized protocol interface.

> The Model Context Protocol allows applications to provide context for LLMs in a standardized way, separating the concerns of providing context from the actual LLM interaction. This Kotlin SDK implements the MCP specification, making it easy to:

- Build MCP clients that can connect to any MCP server
- Create MCP servers that expose resources, prompts, and tools
- Target JVM, Native, JS, and Wasm from a single codebase
- Use standard transports like stdio, SSE, Streamable HTTP, and WebSocket
- Handle MCP protocol messages and lifecycle events with coroutine-friendly APIs

## Author-documented requirements and audience

> Kotlin Multiplatform SDK for the Model Context Protocol. It enables Kotlin applications targeting JVM, Native, JS, and Wasm to implement MCP clients and servers using a standardized protocol interface.





Not recorded: Account, External API key, Paid service, Self-hosting. Missing information does not mean there are no requirements.

Source: https://github.com/modelcontextprotocol/kotlin-sdk/blob/main/README.md

Extraction checked: 2026-10-28T00:32:46.189Z

Last recorded source update: 2026-11-02T18:17:06.000Z

Saved release: 0.15.0 — 2026-07-28T14:51:21.000Z. These dates do not guarantee ongoing maintenance.

## Open this project

[Open project in RepoShelf](https://www.reposhelf.co.uk/?project=modelcontextprotocol%2Fkotlin-sdk). Demo, repository and collection actions use the existing sign-in flow.

[How RepoShelf works and agent access](https://www.reposhelf.co.uk/agent-guide.html.md)
