mikedidomizio/node-mcp-template
Quick Starter template MCP Node
Platform-specific configuration:
{
"mcpServers": {
"node-mcp-template": {
"command": "npx",
"args": [
"-y",
"node-mcp-template"
]
}
}
}Add the config above to .claude/settings.json under the mcpServers key.
A quick start TypeScript template for building an MCP server with Node.
This template currently includes one example tool:
add_two_numbers - adds two numbers and returns the result as text content.Built on top of the instructions provided here, but includes goodies like Vitest, Prettier, ESLint.
npm installnpm run dev - run the MCP server directly from TypeScript with tsxnpm run build - compile TypeScript to dist/npm run test - run unit tests with Vitestnpm run lint - run ESLintnpm run open-config - open/create Claude Desktop config fileFor local development:
npm run devFor compiled output:
npm run build
node ./dist/index.jsOpen your Claude config:
npm run open-configThen add an MCP server entry (update paths for your machine):
{
"mcpServers": {
"add_two_numbers": {
"command": "node",
"args": ["/PATH/TO/PROJECT/dist/index.js"]
}
}
}Build before launching Claude when using the dist entry above.
npm run testLoading reviews...