mcp-typescript-starter
このプロジェクトは、TypeScriptを使用してMCPサーバーの実装を開始するためのスターターテンプレートです。Goバージョンに触発されており、簡単にセットアップして実行できるように設計されています。開発モードでの実行や、ビルドしてからの実行が可能で、カスタマイズ可能な挨拶機能を提供します。
GitHubスター
4
ユーザー評価
未評価
お気に入り
0
閲覧数
16
フォーク
7
イシュー
0
README
MCP TypeScript Starter
A starter MCP server implementation using TypeScript, inspired by the Go version.
Setup
npm install
Running the Server
# Run in development mode (using ts-node)
npm run dev
# Or use the script
./script/ts-run
# Build and run the compiled version
npm run build
npm start
Environment Variables
MCP_GREETING
: Customizes the greeting used by the hello_world tool (default: "Hello")
Features
Tools
hello
: Says hello to someone (uses MCP_GREETING)
Resources
example://md
: Serves the markdown file insrc/resources/example.md
Prompts
greeting-prompt
: A prompt that greets the user by name
License
MIT