TypeScript MCP Demo Server
@gedankrayze
TypeScript MCP Demo Server について
MCP Server Template for Bun Developers
基本情報
設定
以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。
{
"mcpServers": {
"ts-demo-mcp": {
"command": "bun",
"args": [
"start"
]
}
}
}ツール
ツールは検出されませんでした
ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。
概要
What is TypeScript MCP Demo Server?
A basic Model Context Protocol (MCP) server implementation using the TypeScript SDK and Bun runtime. It demonstrates server initialization with stdio transport, tool registration, and TypeScript type safety, intended for developers learning to build MCP servers.
How to use TypeScript MCP Demo Server?
Clone the repository, install dependencies with bun install, then start the server using bun start or task start. For Claude Desktop integration, add the provided configuration to your Claude Desktop config. Optionally use task inspect-server for debugging via the MCP inspector.
Key features of TypeScript MCP Demo Server
- Implementation with TypeScript SDK and Bun runtime
- Stdio transport for server-client communication
- Two example tools: greet and add_numbers
- TypeScript strict mode for type safety
- Integration with Claude Desktop via MCP protocol
- MCP inspector support for debugging
Use cases of TypeScript MCP Demo Server
- Learning how to build and structure an MCP server in TypeScript
- Testing MCP tool registration and handling with a minimal demo
- Integrating a custom MCP server with Claude Desktop for proof-of-concept
- Exploring the MCP inspector for server capability debugging
FAQ from TypeScript MCP Demo Server
What runtime does TypeScript MCP Demo Server require?
It requires Bun (latest version). Task is optional for using the task runner.
What tools does the server provide?
Two tools: greet which takes a name string and returns a greeting, and add_numbers which takes two numbers and returns their sum.
How do I add new tools to the server?
Add a new tool definition in the ListToolsRequestSchema handler and implement its logic in the CallToolRequestSchema handler, following the provided example.
What transport does this server use?
It uses stdio transport, as specified in the server initialization and the Claude Desktop configuration example.
Where can I find the source code and documentation?
The project is hosted at https://github.com/gedankrayze/ts-demo-mcp. Additional MCP resources are linked in the README.
「その他」の他のコンテンツ
Nginx UI
0xJackyYet another WebUI for Nginx
ghidraMCP
LaurieWiredMCP Server for Ghidra
🚀 Model Context Protocol (MCP) Curriculum for Beginners
microsoftThis open-source curriculum introduces the fundamentals of Model Context Protocol (MCP) through real-world, cross-language examples in .NET, Java, TypeScript, JavaScript, Rust and Python. Designed for developers, it focuses on practical techniques for building modular, scalable,
Core Philosophy: Connect, Unify, Respond
mindsdbDelegate anything. It comes back done.
Blender
ahujasidOpen-source MCP to use Blender with any LLM
コメント