Skip to main content
Glama

Clojars MCP サーバー

npmバージョン

Clojars (Cline、Roo Code、Cody、Claude Desktop などの Clojure コミュニティの成果物リポジトリ) から依存関係情報を取得するためのツールを提供するModel Context Protocol (MCP)サーバー。

インストール

npx経由でインストール

Clojars MCP サーバーを使用する最も簡単な方法は、npx を使用して直接実行することです。

npx clojars-deps-server

グローバルにインストールすることもできます。

npm install -g clojars-deps-server

Smithery経由でインストール

Smithery経由で Claude Desktop 用の Clojars Dependency Server を自動的にインストールするには:

npx -y @smithery/cli install clojars-deps-server --client claude

手動インストール

  1. このリポジトリをクローンします:

git clone https://github.com/yourusername/clojars-deps-server.git cd clojars-deps-server
  1. 依存関係をインストールします:

npm install
  1. サーバーを構築します。

npm run build
  1. Claude 構成にサーバーを追加します。

VSCode Claude 拡張機能の場合は、 cline_mcp_settings.json (通常、macOS では~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/にあります) に追加します。

{ "mcpServers": { "clojars-deps-server": { "command": "node", "args": ["/path/to/clojars-deps-server/build/index.js"] } } }

Claude デスクトップ アプリの場合は、 claude_desktop_config.json (通常、macOS では~/Library/Application Support/Claude/にあります) に追加します。

{ "mcpServers": { "clojars-deps-server": { "command": "node", "args": ["/path/to/clojars-deps-server/build/index.js"] } } }

サーバー設定を追加すると、Claude は起動時に自動的にサーバーを検出し、接続します。サーバーの機能は Claude のシステムプロンプトの「接続された MCP サーバー」に表示され、使用可能になります。

Related MCP server: Liveblocks

特徴

  • Clojars依存関係の最新バージョンを取得する

  • 依存関係の特定のバージョンが存在するかどうかを確認する

  • シンプルで焦点を絞った回答

  • MCP による Claude との簡単な統合

仕組み

このMCPサーバーがClaudeの設定で設定されると、Claudeのシステムプロンプトの「接続されたMCPサーバー」セクションで自動的に使用可能になります。これにより、Claudeはサーバーの機能を認識し、 use_mcp_toolコマンドを通じて提供されているツールを使用できるようになります。

サーバーは 2 つのツールを公開します。

get_clojars_latest_version

{ "name": "get_clojars_latest_version", "description": "Get the latest version of a Clojars dependency (Maven artifact)", "inputSchema": { "type": "object", "properties": { "dependency": { "type": "string", "description": "Clojars dependency name in format \"group/artifact\" (e.g. \"metosin/reitit\")" } }, "required": ["dependency"] } }

clojarsのバージョンが存在するかどうかを確認する

{ "name": "check_clojars_version_exists", "description": "Check if a specific version of a Clojars dependency exists", "inputSchema": { "type": "object", "properties": { "dependency": { "type": "string", "description": "Clojars dependency name in format \"group/artifact\" (e.g. \"metosin/reitit\")" }, "version": { "type": "string", "description": "Version to check (e.g. \"0.7.2\")" } }, "required": ["dependency", "version"] } }

ツール名と説明は、これらのツールがClojarsからバージョン情報を取得するためのものであることをクロードが理解しやすいように特別に設計されています。ユーザーがClojarsの依存関係について質問した場合、クロードは以下の点に基づいてこれらのツールがタスクに適していると判断できます。

  • ツール名はその目的を明確に示している

  • 説明には「Clojars 依存関係 (Maven アーティファクト)」用であると明記されています

  • サンプルフォーマットは典型的なClojarsの依存パターンを示しています

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Bigsy/Clojars-MCP-Server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server