Basic information
About MCP Kotlin Server Sample
# MCP Kotlin Server Sample
MCP Kotlin Server Sample is a MCP server in the Other category listed in the AddMCP.net directory, published by wujingwe. Supported transport: stdio. Runtime: kotlin. The repository has 1 GitHub stars. Source code is hosted on github.com. Related topics: kotlin, mcp, multiplatform, server, sse.
MCP Kotlin Server Sample config
No standard config provided
This server doesn't expose a parseable MCP config block in its README. See the repository for install instructions.
MCP Kotlin Server Sample tools
Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is MCP Kotlin Server Sample?
MCP Kotlin Server Sample is a sample implementation of an MCP (Model Communication Protocol) server in Kotlin. It demonstrates different server configurations and transport methods for both JVM and WASM targets. It is intended for developers learning or prototyping MCP server implementations in Kotlin.
How to use MCP Kotlin Server Sample?
Run the server on JVM with ./gradlew runJvm (defaults to SSE mode with Ktor plugin on port 3001). Run on WASM (Node.js) with ./gradlew wasmJsNodeDevelopmentRun. Connect using the MCP inspector to http://localhost:<port>/sse.
Key features of MCP Kotlin Server Sample
- Supports Standard I/O, plain SSE, and Ktor plugin SSE transports
- Available on JVM and Kotlin/WASM (Node.js)
- Built-in capabilities for Prompts, Resources, and Tools
- Prompts include list change notifications
- Resources support subscriptions and list change notifications
- Tools include list change notifications
Use cases of MCP Kotlin Server Sample
- Learning how to build an MCP server in Kotlin
- Testing MCP client interactions with different transport modes
- Prototyping multiplatform MCP server configurations
- Demonstrating SSE and stdio server implementations
Frequently asked questions
1 What runtimes are supported by MCP Kotlin Server Sample?
JVM and Kotlin/WASM on Node.js.
2 How do I start the server?
On JVM: ./gradlew runJvm. On WASM: ./gradlew wasmJsNodeDevelopmentRun.
3 What transport methods are available?
Standard I/O (JVM only), SSE with plain configuration (JVM, WASM), and SSE using Ktor plugin (JVM, WASM).
4 What is the default port for the SSE server?
Port 3001.
5 How can I connect to the running server?
Use the MCP inspector and connect to http://localhost:<port>/sse.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In