
metosin/mcp-toolkit
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
clojure(script) で MCP クライアントと MCP サーバーをビルドする lib
概要
このライブラリは、Clojureで非常に非公式なMCP SDKです。 MCP クライアントと MCP サーバー間での通信を処理します。また、MCP エコシステムを拡張する開発者に Clojure-ish 体験を提供しようとします。 ClaudeデスクトップとClaudeコードでテストされ、機能が実装されていない問題はありません。 - クライアントとサーバーの [x] API - [x] CLJC - [x] Clojure - [x] Clojurescript - [x] Babashka - I/O の gnostic ライブラリ - Promesa を使用して、プロンプト、リソース、ツールの非同期タスクをサポート - プロトコルバージョンと互換性 - [x] 2024-11-05 - [x] 2025-03-26 - [ ] 2025-06-18 (まだ) - MCP 機能が実装 - [x] キャンセル - [x] 進行 - [x] ルート - [x] ルート - [x] ルート - [x] タップ - [x] プロンプト - [x] リソース - [x] リソース - [x] リソース - [x] リソース - [x] ツール - [x] 完了 - [x] ロギング - [ ] パジネーション - サンプルプロジェクト - [x] STDIOを使用してCLJCサーバー - [x] STDIOを使用してCLJCクライアント - [x] HTTP / SSEを使用してCLJサーバー - [ ] ストリーム可能なHTTP(PR歓迎)を使用してCLJサーバー README を参照してください.
概要(AI 翻訳)
このライブラリは、Clojureで非常に非公式なMCP SDKです。
MCP クライアントと MCP サーバー間の通信を処理します。 MCP エコシステムを拡張する開発者に Clojure-ish の経験。
ステータス:アルファ品質
ClaudeデスクトップとClaudeコードでテストされ、機能が実装されていない問題はありません。
実装された機能
- クライアントとサーバーの両方の [x] API
- [x] CLJC
- [x] クロージュ
- [x] クロジュレスクリプト
- [ ] ババッハカ
- I/Oアグノスティックライブラリ
- Promesaを使用して、プロンプト、リソース、ツールの非同期タスクをサポート
- プロトコルバージョンと互換性
- [x]
2024-11-05 - [x]
2025-03-26 - [[
2025-06-18] (まだ) - MCP機能搭載
- [x]キャンセル
- [x] ピン
- [x] 進行状況
- [x] ルート
- [x]サンプリング
- [x] プロンプト
- [x] リソース
- [x] ツール
- [x] 完了
- [x] ログイン
- [ ] パジネーション
- プロジェクト例
- [x] STDIOを使用したCLJCサーバー
- [x] STDIOを使用したCLJCクライアント
- [x] HTTP/SSE を使用した CLJ サーバー
- [ ] ストリーム可能な HTTP を使用した CLJ サーバー (PR 歓迎)
使用法
example/cljc-server-stdio/の[README.md]を参照してください。
- このライブラリを使用して、Clojure で MCP サーバーを作成する方法、および
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
MCP Toolkit
This library is a very unofficial MCP SDK in Clojure.
It handles the communication between MCP clients and MCP servers, and attempts to provide a Clojure-ish experience to developers working on expending the MCP ecosystem.
Status: alpha quality
Tested on Claude Desktop and Claude Code, no problems found for the features implemented.
Implemented features
- [x] API for both clients & servers
- [x] CLJC
- [x] Clojure
- [x] Clojurescript
- [ ] Babashka
- I/O agnostic library
- Uses Promesa to support async tasks in prompts, resources and tools
- Compatible with protocol versions
- [x]
2024-11-05 - [x]
2025-03-26 - [ ]
2025-06-18(not yet)
- [x]
- MCP features implemented
- [x] Cancellation
- [x] Ping
- [x] Progress
- [x] Roots
- [x] Sampling
- [x] Prompts
- [x] Resources
- [x] Tools
- [x] Completion
- [x] Logging
- [ ] Pagination
- Example projects
- [x] CLJC server using STDIO
- [x] CLJC client using STDIO
- [x] CLJ server using HTTP/SSE
- [ ] CLJ server using Streamable HTTP (PR welcome)
Usage
See the README.md in the example/cljc-server-stdio/ project to learn:
- how to use this library to make your own MCP server in Clojure, and
- how to develop its components (prompts, resources and tools) via the REPL while the server is running.
Additionally, see the documentation on CLJDocs or in the doc/ directory.
Testing
npm install
./bin/kaocha --watch
Its place in the AI ecosystem
MCP toolkit aims to be more convenient for the Clojure community than the official MCP SDKs for Java or Typescript.
It provides utilities to build an MCP server in Clojure(script), but doesn’t provide any prompts, resources or tools to help working on a Clojure codebase. It is typically used for building general purpose MCP stuffs.
Other MCP libs
- MCP Clojure SDK: similar library, discovered after being mostly done implementing this one 😅
- Calva’s Backseat Driver
- Clojure MCP
- Modex
Contributing
Only code typed and reviewed by a human will be accepted for review, discussion, and maybe merged. We have a policy of keeping the source code clean, organized, and easy to read for a human.
Advices for improving the chances for your PR to be accepted:
インストール
This server does not publish a one-line install command.
Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →