電卓
mcp-framework を使用して構築されたモデル コンテキスト プロトコル (MCP) サーバー。
クイックスタート
プロジェクト構造
コンポーネントの追加
このプロジェクトにsrc/tools/ExampleTool.ts
にサンプルツールが付属しています。CLIを使用してツールを追加することもできます。
ツール開発
ツール構造の例:
npmへの公開
- package.json を更新します。
name
が一意であり、npm の命名規則に従っていることを確認してください。- 適切な
version
を設定する description
、author
、license
などを追加します。bin
が正しいエントリファイルを指しているか確認する
- ローカルでビルドしてテストします。
- npm にログインします (必要に応じてアカウントを作成します)。
- パッケージを公開します:
公開後、ユーザーはそれをクロードデスクトップクライアント(下記参照)に追加したり、npxで実行したりすることができます。
地域開発
この構成を Claude Desktop 構成ファイルに追加します。
MacOS : ~/Library/Application Support/Claude/claude_desktop_config.json
Windows : %APPDATA%/Claude/claude_desktop_config.json
公開後
この構成を 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-framework を使用して構築されたモデル コンテキスト プロトコル サーバー。これにより、ユーザーは CLI 経由で Claude Desktop と統合し、データを処理するためのカスタム ツールを作成および管理できます。
Related Resources
Related MCP Servers
- AsecurityAlicenseAqualityA Model Context Protocol server that automatically reads the Claude Desktop configuration file and presents all available MCP services in an easy-to-copy format at the top of the tools list.Last updated -16643JavaScriptMIT License
- AsecurityFlicenseAqualityA server built on mcp-framework that enables integration with Claude Desktop through the Model Context Protocol.Last updated -11
- -securityFlicense-qualityA server implementation of the Model Context Protocol that allows users to extend Claude's capabilities by creating custom tools that can be used within the Claude Desktop client.Last updated -TypeScript
- 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 -677TypeScript