MCP Server Workshop | MCPサーバーワークショップ
Objectives | 目的
- Create an MCP server (MCPサーバーを作成する)
- Create a Transport for the MCP server (MCPサーバーのトランスポートを作成する)
- Ping the MCP server via the Inspector tool (インスペクターツールを使用してMCPサーバーにPingを)
- Add a Tool to the MCP server (MCPサーバーにツールを追加する)
- Add a Resource to the MCP server (MCPサーバーにリソースを追加する)
Prerequisites | 前提条件
- Node.js installed (Node.jsがインストールされていること)
Commands to Run | 実行するコマンド
Install dependencies | 依存関係をインストールする
# If you have PNPM (PNPMがある場合)
pnpm install
# If you do not have PNPM (PNPMがない場合)
sudo npm install -g pnpm
pnpm install
Build the project | プロジェクトをビルドする
Keep watching for changes | 変更を監視し続ける
Open the Inspector tool | インスペクターツールを開く