akiraNuma/mcp-server-tutorial
3.3
If you are the rightful owner of mcp-server-tutorial 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.
This project is a sample MCP server application using Express, TypeScript, and the MCP SDK.
Tools
1
Resources
0
Prompts
0
MCP Server Application
概要
このディレクトリは、Express + TypeScript + MCP SDK を使ったMCPサーバーのサンプルプロジェクトです。
環境情報
Node.js バージョン
- 推奨バージョン: Node.js 22.20.0 (
.node-versionで指定)
バージョン管理ツールでのセットアップ
# nodenv を使用している場合
nodenv install 22.20.0
nodenv local 22.20.0
# nvm を使用している場合
nvm install 22.20.0
nvm use 22.20.0
セットアップ手順
- 依存関係のインストール
npm install
- 環境変数の設定
cp .env.example .env
# .envファイルを編集して適切な値を設定してください
- サーバー起動(開発モード)
npm run dev
エンドポイント
http://localhost:3000/mcp(デフォルト設定の場合)
デバッグ用ツール
npx @modelcontextprotocol/inspector