MCP Server Playground
MCP サーバー プレイグラウンド
このリポジトリは、TypeScriptで構築されたMCPサーバーを試すためのプレイグラウンドです。MCPサーバー構築に関するチュートリアルとビデオのカスタマイズ版であり、学習リソースとしてだけでなく、Calude DesktopおよびCursor IDEとの統合をテストするためのプラットフォームとしても活用できます。
背景
このプロジェクトは、以下の資料に基づいています。
オリジナルのチュートリアルは私が拡張した基盤を提供してくれました。チュートリアルの例に加えて、ツールや機能を追加し、このコードをMCPサーバーの実験のための堅牢なプレイグラウンドへと進化させていく予定です。
Related MCP server: mcp-boilerplate
特徴
TypeScript ベースのサーバー: TypeScript を活用して構造とエラー チェックを改善します。
**モジュラー設計:**新しいコマンド、機能、統合により簡単に拡張できます。
統合対応: Calude Desktop および Cursor IDE と連携して動作するように設計されており、開発エクスペリエンスが向上します。
**拡張可能なプレイグラウンド:**チュートリアルの例以外にも追加のツールや変更を試すことができるサンドボックス環境。
はじめる
前提条件
Node.js (v12以上)
npm(または好みに応じてYarn)
TypeScript(グローバルにインストールされていない場合)
Smithery経由でインストール
Smithery経由で Claude Desktop 用の MCP Server Playground を自動的にインストールするには:
npx -y @smithery/cli install mcp-server-playground --client claudeインストール
リポジトリをクローンします。
git clone <repo_url> cd mcp-server-playground依存関係をインストールします:
npm installプロジェクトをビルドします。
npm run build
構成
このプロジェクトでは環境変数を使用します。設定オプションを設定するには、 .envファイルを作成してください。将来、サンプルファイル( .env.example )が提供された場合は、テンプレートとして使用してください。
発達
IDE統合:
Cursor IDE および Calude Desktop とスムーズに連携するように設計されています。
これらの IDE でサポートされている組み込みツールと拡張機能を活用して、生産性を最大化します。
プロジェクトの拡張:
新しいコマンドや統合を自由に追加したり、既存の機能を変更したりすることができます。
サーバーのモジュール構造により、追加のツールや機能を簡単にプラグインできます。
プロジェクト構造
mcp-server-playground/
├── src/ # Source code directory
│ └── index.ts # Main server implementation
├── build/ # Compiled JavaScript files
├── package.json # Project dependencies and scripts
├── tsconfig.json # TypeScript configuration
└── README.md # Project documentation利用可能なスクリプト
npm run build- TypeScriptコードをコンパイルし、適切な権限を設定しますnpm run prepare- ビルド スクリプトを実行します (git フックに便利です)npm run watch- TypeScript ファイルの変更を監視しますnpm run inspector- MCPインスペクターツールを実行します
貢献
貢献を歓迎します!提案、改善、または新しい統合がある場合は、リポジトリをフォークして、変更を加えたプルリクエストを作成してください。
参考文献
ライセンス
このプロジェクトは MIT ライセンスに基づいてライセンスされています - 詳細についてはLICENSEファイルを参照してください。
注記
このプロジェクトは、MCPサーバー向けの様々な適応と統合をテストすることを目的としたサンドボックス環境です。新しいツールやアイデアが開発されるにつれて、更新と拡張が行われます。
ロードマップ
[ ] チュートリアルの例以外にもツール統合を実装する
[ ] 各ツールの包括的なドキュメントを追加する
[ ] Calude Desktopとのサンプル統合を作成する
[ ] カーソルIDE統合用のカスタムツールの開発
[ ] テストフレームワークと例を追加する
Available Tools
2 toolscalculate_sumB
Add two numbers together
Inputs: a (required), b (required).
httpbin_jsonC
Returns data about slide show
Inputs: a.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 2 tools
The two tools have completely distinct purposes: calculate_sum performs a mathematical addition operation, while httpbin_json returns data about a slide show. There is no overlap or ambiguity between these functions, making it easy for an agent to select the correct tool.
The naming is mixed: calculate_sum uses a verb_noun pattern, but httpbin_json is more of a noun-based name with a prefix. While both are readable, they don't follow a consistent convention, which could cause minor confusion in a larger set.
With only 2 tools, this server feels thin and under-scoped for a 'Playground' purpose, which typically implies a broader set of utilities. The tools are too few to meaningfully explore or test MCP capabilities, suggesting an incomplete implementation.
The tool surface is severely incomplete for a 'Playground' domain, which should offer diverse functionalities. There are obvious gaps, such as missing basic operations like subtraction, multiplication, or other HTTP-related tools, making it inadequate for comprehensive agent workflows.
Related MCP Connectors
A simple Typescript MCP server built using the official MCP Typescript SDK and smithery/cli. This…
A TypeScript MCP server for Home Assistant, enabling programmatic management of entities, automati…
Augments MCP Server - A comprehensive framework documentation provider for Claude Code
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA TypeScript-based server project that can be integrated with Cursor IDE as an MCP (Model Control Protocol) server, enabling enhanced development capabilities.133ISC
- AlicenseAqualityAmaintenanceProduction-ready template for building MCP servers with TypeScript, featuring example tools and resources, and Claude Desktop integration.110 npmMIT
- AlicenseNot gradedqualityDmaintenanceA TypeScript template for building MCP servers, enabling developers to create custom tools for AI assistants like Claude.ISC
- AlicenseNot gradedqualityDmaintenanceA TypeScript MCP server boilerplate with example tools (calculator, greet) and resources (system info), ready for extension and integration with Cursor.ISC