MCP Server TypeScript Template
@MCP-Mirror
关于 MCP Server TypeScript Template
Mirror of
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"example": {
"command": "node",
"args": [
"/path/to/mcp-server-typescript-template/dist/index.js"
]
}
}
}工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is MCP Server TypeScript Template?
MCP Server TypeScript Template is a starter project for building Model Context Protocol (MCP) servers using TypeScript. It demonstrates a basic server implementation with custom tools, such as an example operation and an addition tool, and is intended for developers who want to create their own MCP servers.
How to use MCP Server TypeScript Template?
Clone the repository, run npm install, then npm run build and npm run start. To use with Claude Desktop, add the server to claude_desktop_config.json with the command node and the path to dist/index.js.
Key features of MCP Server TypeScript Template?
- TypeScript-based MCP server template
- Example tool implementations (addition, example operation)
- Integration with the MCP SDK
- Error handling and utility modules
- Ready for Claude Desktop configuration
Use cases of MCP Server TypeScript Template?
- Building a custom MCP server from a working foundation
- Learning how to implement MCP tools in TypeScript
- Rapid prototyping of MCP-based integrations
- Teaching or demonstrating the Model Context Protocol
FAQ from MCP Server TypeScript Template
What are the prerequisites for using this template?
Node.js version 16 or higher and npm or yarn are required.
How do I build and start the server?
Run npm install, then npm run build and npm run start in the project directory.
How can I use this server with Claude Desktop?
Edit your claude_desktop_config.json to add an entry with the command node and the argument pointing to the built dist/index.js file.
What tools does the template include?
The server includes two example tools: an example operation and a tool that adds two numbers.
What is the project structure?
The project contains a common/ folder with constants, types, error handling, and utilities; an operations/ folder with example operations; and an index.ts entry point.
开发工具 分类下的更多 MCP 服务器
MCP Inspector
modelcontextprotocolVisual testing tool for MCP servers
Golf
golf-mcpProduction-Ready MCP Server Framework • Build, deploy & scale secure AI agent infrastructure • Includes Auth, Observability, Debugger, Telemetry & Runtime • Run real-world MCPs powering AI Agents
Stakpak Agent CLI
stakpakShip your code, on autopilot. An open source agent that lives on your machines 24/7 and keeps your apps running. 🦀
MCP-Bridge
SecretiveShellA middleware to provide an openAI compatible endpoint that can call MCP tools
FastAPI-MCP
tadata-orgExpose your FastAPI endpoints as Model Context Protocol (MCP) tools, with Auth!
评论