[Template] MCP Server
@larryhudson
关于 [Template] MCP Server
A template for making an MCP server with TypeScript
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"mcp-server-template-larryhudson": {
"command": "npx",
"args": [
"@modelcontextprotocol/inspector",
"npx",
"tsx",
"src/index.ts"
]
}
}
}工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is [Template] MCP Server?
A starter template for building MCP (Model Context Protocol) servers using TypeScript. It provides a scaffold for defining tools, managing environment variables, and publishing the server to npm.
How to use [Template] MCP Server?
Add tool definitions in src/index.ts, update the README and placeholder info in package.json, then build with npm run build. To use the server in an MCP client, set an API key as an environment variable and add the provided JSON configuration to your client’s settings.
Key features of [Template] MCP Server
- Built with Model Context Protocol and TypeScript
- Ready‑to‑edit tool definition file (
src/index.ts) - Example configurations for VS Code and Claude
- Environment‑variable‑based API key setup
- Test and debug with MCP Inspector
Use cases of [Template] MCP Server
- Quickly prototyping a new MCP server with custom tools
- Packaging an MCP server for npm distribution
- Experimenting with MCP tool definitions before production
FAQ from [Template] MCP Server
What runtime does it require?
Node.js (for npm/npx commands) and TypeScript.
How do I set up the API key?
Create an API key, then set it as the environment variable API_KEY_ENV_VAR (or replace with your own variable name).
Where do I add tool definitions?
In the src/index.ts file.
How can I test the server locally?
Run npx @modelcontextprotocol/inspector npx tsx src/index.ts to launch the MCP Inspector.
Are there any known limitations?
The README does not list any limitations; all placeholder sections are intentionally left for the user to fill.
开发工具 分类下的更多 MCP 服务器
FastAPI-MCP
tadata-orgExpose your FastAPI endpoints as Model Context Protocol (MCP) tools, with Auth!
Serena
oraiosA powerful MCP toolkit for coding, providing semantic retrieval and editing capabilities - the IDE for your agent
mcp-excalidraw
yctimlinMCP server and Claude Code skill for Excalidraw — programmatic canvas toolkit to create, edit, and export diagrams via AI agents with real-time canvas sync.
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
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.
评论