MCP(Model Context Protocol) minimal Kotlin client server sample
@takahirom
关于 MCP(Model Context Protocol) minimal Kotlin client server sample
暂无概览
基本信息
配置
工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is MCP minimal Kotlin client server sample?
A simple weather tool demonstrating server-client interaction using the Model Context Protocol (MCP). It is a Kotlin version of a minimal MCP client-server sample and is intended for demonstration purposes only.
How to use MCP minimal Kotlin client server sample?
The client is defined in src/main/kotlin/Client.kt and the server in server.main.kts. Run both scripts to see the weather tool in action. No additional configuration is documented.
Key features of MCP minimal Kotlin client server sample
- Demonstrates MCP initialization and tool discovery via JSON-RPC.
- Includes a
get_weathertool that returns a hardcoded response ("Sunny"). - Shows client-LLM-server interaction flow with sequence diagrams.
- Provides a minimal Kotlin implementation for educational purposes.
Use cases of MCP minimal Kotlin client server sample
- Learning how an MCP client discovers and calls a server tool.
- Testing MCP initialization and tool execution in a Kotlin environment.
- Demonstrating the round-trip between a user query, LLM, and tool server.
FAQ from MCP minimal Kotlin client server sample
—
其他 分类下的更多 MCP 服务器
MCP Go 🚀
mark3labsA Go implementation of the Model Context Protocol (MCP), enabling seamless integration between LLM applications and external data sources and tools.

Sequential Thinking
modelcontextprotocolModel Context Protocol Servers
Awesome-MCP-ZH
yzflyMCP 资源精选, MCP指南,Claude MCP,MCP Servers, MCP Clients
Mcp
browsermcpBrowser MCP is a Model Context Provider (MCP) server that allows AI applications to control your browser
🚀 Model Context Protocol (MCP) Curriculum for Beginners
microsoftThis open-source curriculum introduces the fundamentals of Model Context Protocol (MCP) through real-world, cross-language examples in .NET, Java, TypeScript, JavaScript, Rust and Python. Designed for developers, it focuses on practical techniques for building modular, scalable,
评论