{"repo":"modelcontextprotocol/kotlin-sdk","free":true,"listed":false,"github":"https://github.com/modelcontextprotocol/kotlin-sdk","clone":"git clone https://github.com/modelcontextprotocol/kotlin-sdk.git","description":"The official Kotlin SDK for Model Context Protocol servers and clients. Maintained in collaboration with JetBrains","language":"Kotlin","stars":1437,"topics":["kotlin-multiplatform","mcp"],"license":null,"category":"mcp-servers","readme_excerpt":"MCP Kotlin SDK 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. Table of Contents Overview Installation Artifacts Gradle setup (JVM) Multiplatform Ktor dependencies Quickstart Creating a Client Creating a Server Core Concepts MCP Primitives Capabilities Server Capabilities Client Capabilities Server Features Prompts Resources Tools Completion Logging Pagination Client Features Roots Sampling Transports STDIO Transport Streamable HTTP Transport SSE Transport WebSocket Transport ChannelTransport (testing) Connecting your server Examples Documentation Contributing License Overview 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 Installation Artifacts - io.modelcontextprotocol:kotlin-sdk – umbrella SDK (client + server APIs) - io.modelcontextprotocol:kotlin-sdk-client – client-only APIs - io.modelcontextproto","default_branch":null,"files":null,"tree":[],"storefront":"/r/modelcontextprotocol","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/modelcontextprotocol/kotlin-sdk/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}