シンプルなTypeScript MCPサーバー
基本的なCRUD操作を備えたモデルコンテキストプロトコル(MCP)サーバーを構築するためのシンプルなTypeScriptテンプレートです。このテンプレートは、JSONレスポンスを返すMCPツールを作成するための基盤を提供します。
特徴
CRUD操作を備えたシンプルなノートAPI
インメモリデータストレージ
TypeScript実装
JSONレスポンス
Vitestでテスト準備完了
設定
サーバーの実行
生産のための構築
利用可能なツール
このテンプレートには、次の MCP ツールが含まれています。
getNote
: IDでノートを取得するgetAllNotes
: すべてのノートを取得するcreateNote
: 新しいノートを作成するupdateNote
: 既存のメモを更新するdeleteNote
: IDでノートを削除する
テスト
次のようにテストを実行します。
または視聴モード:
カスタマイズ
ニーズに合わせてsrc/server.ts
内のツールを変更することで、このテンプレートを独自の MCP サーバーの開始点として使用できます。
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
JSON 応答による基本的なメモ作成 CRUD 操作を実装するモデル コンテキスト プロトコル サーバーを構築するための TypeScript テンプレート。
Related MCP Servers
- AsecurityAlicenseAqualityA production-ready template for creating Model Context Protocol servers with TypeScript, providing tools for efficient testing, development, and deployment.Last updated -16038MIT License
- AsecurityAlicenseAqualityA production-ready template for building Model Context Protocol servers in TypeScript, offering fast development with Bun, Biome linting, and automated version management.Last updated -160MIT License
- AsecurityFlicenseAqualityA TypeScript-based template for developing Model Context Protocol servers with features like dependency injection and service-based architecture, facilitating the creation and integration of custom data processing tools.Last updated -124
- AsecurityAlicenseAqualityA TypeScript-based template for building Model Context Protocol servers, featuring fast testing, automated version management, and a clean structure for MCP tool implementations.Last updated -1604MIT License