Integrations
Enables publishing the MCP server as an npm package that can be installed and run by other users
Provides a TypeScript-based framework for developing MCP tools with type safety and modern language features
Uses Zod schema validation for defining tool input parameters and ensuring proper data validation
シナリオワード
mcp-framework を使用して構築されたモデル コンテキスト プロトコル (MCP) サーバー。
クイックスタート
プロジェクト構造
コンポーネントの追加
このプロジェクトにsrc/tools/ExampleTool.ts
にサンプルツールが付属しています。CLIを使用してツールを追加することもできます。
ツール開発
ツール構造の例:
npmへの公開
- package.json を更新します。
name
が一意であり、npm の命名規則に従っていることを確認してください。- 適切な
version
を設定する description
、author
、license
などを追加します。bin
が正しいエントリファイルを指しているか確認する
- ローカルでビルドしてテストします。Copy
- npm にログインします (必要に応じてアカウントを作成します)。Copy
- パッケージを公開します:Copy
公開後、ユーザーはそれをクロードデスクトップクライアント(下記参照)に追加したり、npxで実行したりすることができます。
公開後
この構成を Claude Desktop 構成ファイルに追加します。
MacOS : ~/Library/Application Support/Claude/claude_desktop_config.json
Windows : %APPDATA%/Claude/claude_desktop_config.json
構築とテスト
- ツールに変更を加える
npm run build
を実行してコンパイルする- サーバーは起動時にツールを自動的に読み込みます
もっと詳しく知る
You must be authenticated.
Claude AI がカスタム ツールと対話できるようにし、MCP フレームワークを通じて Claude の機能を拡張できるようにするモデル コンテキスト プロトコル (MCP) サーバー。
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 -484TypeScript
- AsecurityFlicenseAqualityModel Context Protocol (MCP) server that integrates Redash with AI assistants like Claude, allowing them to query data, manage visualizations, and interact with dashboards through natural language.Last updated -105316JavaScript
- -securityFlicense-qualityA starter template for building Model Context Protocol (MCP) servers, enabling developers to create and add custom tools that can be integrated with Claude Desktop.Last updated -TypeScript
- AsecurityFlicenseAqualityA server built on mcp-framework that enables integration with Claude Desktop through the Model Context Protocol.Last updated -1