MCP.so
ログイン

MCP(Model Context Protocol) minimal Kotlin client server sample

@takahirom

MCP(Model Context Protocol) minimal Kotlin client server sample について

概要はまだありません

基本情報

カテゴリ

その他

ライセンス

Apache-2.0

ランタイム

kotlin

トランスポート

stdio

公開者

takahirom

設定

標準の設定はありません

このサーバーの README には解析可能な MCP 設定ブロックが含まれていません。インストール手順はリポジトリをご確認ください。

リポジトリ

ツール

ツールは検出されませんでした

ツールは 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_weather tool 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

コメント

「その他」の他のコンテンツ