kotlin-sdk
Kotlin multiplatform SDK for implementing MCP clients and servers.
- Type
- MCP
- Open source
- Yes
- GitHub Stars
- ★ 1.4k
- Source
- mcp-github
Overview
The official Kotlin SDK for Model Context Protocol (MCP), supporting JVM, Native, JS, and Wasm platforms. It enables developers to easily build MCP clients and servers, providing resources, prompts, and tools through standardized protocol interfaces. The SDK supports multiple transport protocols such as stdio, SSE, Streamable HTTP, and WebSocket. Ideal for applications needing to supply context to LLMs.
Capabilities
- ▪Create MCP clients
- ▪Create MCP servers
- ▪Support multiplatform (JVM, Native, JS, Wasm)
- ▪Support multiple transport protocols (stdio, SSE, HTTP, WebSocket)
- ▪Handle MCP protocol messages and lifecycle events
Use cases
Setup
Add the dependency in your Gradle project: [implementation("io.modelcontextprotocol:kotlin-sdk:$mcpVersion")]This information was compiled by AI from public sources and may contain inaccuracies — please refer to the source.
FAQ
Which platforms does this SDK support?
JVM, Native, JS, and Wasm platforms.
How do I install this SDK?
Add the Maven Central repository and SDK dependency in your Gradle project.
Related skills
gemini-cli
Gemini CLI is an open-source AI agent that brings Gemini's powerful capabilities directly into the terminal.
sast-skills
Transform your AI coding assistant into a SAST scanner to automatically detect vulnerabilities in code.
recon-skills
Security testing toolkit covering vulnerability detection for CORS, XSS, SQLi, and more.
scientific-agent-skills
Transform any AI agent into a scientific assistant with 147 ready-to-use research skills.
susi_alexa_skill
A skill that enables question-and-answer interactions between Alexa and Susi AI.
claude-context
Provides code search capabilities for Claude Code, turning the entire codebase into context.