← all repositories

modelcontextprotocol/kotlin-sdk

Kotlin Multiplatform SDK for building Model Context Protocol clients and servers that enable AI models to interact with external tools and data.

1.4k stars Kotlin Coding AssistantsAgents
kotlin-sdk
Velocity · 7d
+2.6
★ / day
Trend
steady
star history

This Kotlin Multiplatform library implements the Model Context Protocol specification, allowing developers to create MCP-compatible clients and servers targeting JVM, Native, JS, and Wasm platforms. It provides standardized abstractions for MCP primitives, server capabilities (prompts, resources, tools, completion, logging), and client features (roots, sampling). The SDK includes STDIO and HTTP/SSE transport implementations for communication between AI models and external tool providers.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.