mcp4k

mcp4k is a compiler-driven framework for building both clients and servers using the Model Context Protocol (MCP) in Kotlin. It implements a vast majority of the MCP specification, including resources, prompts, tools, sampling, and more. mcp4k automatically generates JSON-RPC handlers, schema metadata, and manages the complete lifecycle for you.

GitHub Stars

62

User Rating

Not Rated

Favorites

0

Views

32

Forks

3

Issues

0

Technical Information

Programming Languages

KotlinPrimary Language

System Requirements

Kotlin 2.2.0

Provided Features

クライアントとサーバーの両方を構築可能
MCP仕様の大部分を実装
JSON-RPCハンドラーとスキーマメタデータを自動生成
ツールパラメータの型チェックをコンパイル時に実施
標準JSON-RPCメッセージとプロトコルイベントを処理

Safety Analysis

Safety Score
Safe100/100

Recommended For

Recommended for developers looking to build multiplatform applications using Kotlin, or those who want to implement data processing and tools utilizing MCP.

Maintenance Status

Active

GitHub Topics

agentic-aiagentsaikmpkmp-libraryllmmcpmodelcontextprotocol