McTechie/mcp-server-workshop
3.2
If you are the rightful owner of mcp-server-workshop and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
The Model Context Protocol (MCP) server is a specialized server designed to handle model context operations, providing a robust framework for managing and interacting with various tools and resources.
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 | プロジェクトをビルドする
pnpm server:build
Keep watching for changes | 変更を監視し続ける
pnpm server:watch
Open the Inspector tool | インスペクターツールを開く
pnpm server:inspect