mcp-template
April 19, 2025 ยท View on GitHub
A minimal, unopinionated template to quickly start building an MCP Server.
Installation
Note: The
npx github:<repo>syntax is used for convenience and rapid prototyping. To use a specific version, append a branch name or tag (e.g.npx github:<repo>#<branch-or-tag>).
Claude Code
- Create a local
.mcp.jsonfile in your project directory or a global~/.claude.jsonfile. - Add the following configuration:
{ "mcpServers": { "mcp-template": { "type": "stdio", "command": "npx", "args": ["-y", "github:aaronccasanova/mcp-template"] } } }
Claude for Desktop
- Create a global
~/Library/Application Support/Claude/claude_desktop_config.jsonfile. - Add the following configuration:
{ "mcpServers": { "mcp-template": { "command": "npx", "args": ["-y", "github:aaronccasanova/mcp-template"] } } }
Cursor
- Create a local
.cursor/mcp.jsonfile in your project directory or a global~/.cursor/mcp.jsonfile. - Add the following configuration:
{ "mcpServers": { "mcp-template": { "command": "npx", "args": ["-y", "github:aaronccasanova/mcp-template"] } } }
VS Code
- Create a local
.vscode/mcp.jsonfile in your project directory. - Add the following configuration:
{ "servers": { "mcp-template": { "type": "stdio", "command": "npx", "args": ["-y", "github:aaronccasanova/mcp-template"] } } }
Debugging
Use the MCP Inspector to debug your server.
pnpm build
npx @modelcontextprotocol/inspector node dist/server.js