This is the official Kotlin SDK for the Model Context Protocol (MCP), enabling developers to build MCP clients and servers for Kotlin Multiplatform projects. It supports multiple target platforms including JVM, Native, JS, and WebAssembly, and provides standardized interfaces for LLM context management.
Highlights
Official Kotlin SDK for implementing Model Context Protocol clients and servers.
Supports Kotlin Multiplatform, targeting JVM, Native, JavaScript, and WebAssembly.
Implements core MCP primitives such as prompts, resources, tools, completions, and logging.
Offers flexible transport options including STDIO, Streamable HTTP SSE, and WebSocket.
Available via Maven Central with separate artifacts for client-only and server-only needs.
auto-generated
modelcontextprotocol · via GitHub
Context
Audience
Kotlin developers building LLM-integrated applications