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-Scan: An MCP Security Scanner
invariantlabs-aiSecurity scanner for AI agents, MCP servers and agent skills.
TalkToFigma
sonnylazuardiTalkToFigma: MCP integration between AI Agent (Cursor, Claude Code, Codex) and Figma, allowing Agentic AI to communicate with Figma for reading designs and modifying them programmatically.
test
harlancA simple,high performance and secure live media server in pure Rust (RTMP[cluster]/RTSP/WebRTC[whip/whep]/HTTP-FLV/HLS).🦀
test
cloudwegoThe ultimate LLM/AI application development framework in Go.
Code Index MCP
johnhuang316A Model Context Protocol (MCP) server that helps large language models index, search, and analyze code repositories with minimal setup
コメント