mcp-framework-スターター
mcp-framework を使用して構築されたモデル コンテキスト プロトコル (MCP) サーバー。
クイックスタート
プロジェクト構造
コンポーネントの追加
このプロジェクトにはsrc/tools/ExampleTool.ts
にサンプルツールが付属しています。CLIを使用してツールを追加することもできます。
ツール開発
ツール構造の例:
npmへの公開
package.json を更新します。
name
が一意であり、npm の命名規則に従っていることを確認してください。適切な
version
を設定するdescription
、author
、license
などを追加します。bin
が正しいエントリファイルを指しているか確認する
ローカルでビルドしてテストします。
npm run build npm link mcp-framework-starter # Test your CLI locallynpm にログインします (必要に応じてアカウントを作成します)。
npm loginパッケージを公開します:
npm publish
公開後、ユーザーはそれをクロードデスクトップクライアント(下記参照)に追加したり、npxで実行したりすることができます。
公開後
この構成を Claude Desktop 構成ファイルに追加します。
MacOS : ~/Library/Application Support/Claude/claude_desktop_config.json
Windows : %APPDATA%/Claude/claude_desktop_config.json
構築とテスト
ツールに変更を加える
npm run build
を実行してコンパイルするサーバーは起動時にツールを自動的に読み込みます
もっと詳しく知る
This server cannot be installed
モデル コンテキスト プロトコル (MCP) サーバーを構築するためのスターター テンプレート。開発者は、Claude Desktop と統合できるカスタム ツールを作成および追加できます。
Related MCP Servers
- -securityFlicense-qualityA Model Context Protocol server built with mcp-framework that allows users to create and manage custom tools for processing data, integrating with the Claude Desktop via CLI.Last updated -325
- AsecurityAlicenseAqualityA template repository for creating custom Model Context Protocol (MCP) servers in Python that can be integrated with applications like Claude Desktop or Cursor.Last updated -35MIT License
- AsecurityFlicenseAqualityA Model Context Protocol server that allows integration with Claude Desktop by creating and managing custom tools that can be executed through the MCP framework.Last updated -31
- AsecurityFlicenseAqualityA customizable Model Context Protocol server built with mcp-framework that enables Claude to access external tools and capabilities through a standardized interface.Last updated -31