電卓
mcp-framework を使用して構築されたモデル コンテキスト プロトコル (MCP) サーバー。
クイックスタート
プロジェクト構造
コンポーネントの追加
このプロジェクトにsrc/tools/ExampleTool.tsにサンプルツールが付属しています。CLIを使用してツールを追加することもできます。
ツール開発
ツール構造の例:
npmへの公開
package.json を更新します。
nameが一意であり、npm の命名規則に従っていることを確認してください。適切な
versionを設定するdescription、author、licenseなどを追加します。binが正しいエントリファイルを指しているか確認する
ローカルでビルドしてテストします。
npm run build npm link calculator # 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
公開後
この構成を 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
- Asecurity-licenseAqualityA 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 -1183MIT License
- Asecurity-licenseAqualityA server built on mcp-framework that enables integration with Claude Desktop through the Model Context Protocol.Last updated -11
- -security-license-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.
- Asecurity-licenseAqualityA 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