MCP Server Boilerplate
@cds-id
About MCP Server Boilerplate
NodeJS MCP Server Boilerplate
Config
No standard config provided
This server doesn't expose a parseable MCP config block in its README. See the repository for install instructions.
RepositoryTools
2`operation`: Operation to perform (add, subtract, multiply, divide)
`format`: Output format (iso, unix, readable)
Overview
What is MCP Server Boilerplate?
MCP Server Boilerplate is a starter implementation of a server following the Model Context Protocol (MCP), built with TypeScript and Express. It provides sample resources, tools, and prompts to help developers quickly build MCP-compatible servers that supply context to LLMs in a standardized way.
How to use MCP Server Boilerplate?
Clone the repository, install dependencies (npm install), copy .env.example to .env, and configure environment variables like PORT. Run the HTTP server with npm start or npm run dev for development. For command-line tools, use npm run start:stdio or npm run dev:stdio.
Key features of MCP Server Boilerplate
- Built with TypeScript and Express for HTTP transport
- Includes sample resources, tools, and prompts
- Supports both HTTP and stdio transport modes
- Easy extension via modular resource/tool/prompt files
- Uses the official MCP TypeScript SDK
Use cases of MCP Server Boilerplate
- Rapidly prototype a new MCP server for LLM context
- Learn how to implement resources, tools, and prompts with MCP
- Serve as a foundation for production MCP servers
- Test and debug MCP implementations using the Inspector tool
FAQ from MCP Server Boilerplate
What are the prerequisites to run MCP Server Boilerplate?
Node.js v18 or later and npm or yarn are required.
How do I start the server?
Build the project with npm run build, then run npm start for HTTP mode or npm run start:stdio for stdio mode. For development with auto-restart, use npm run dev or npm run dev:stdio.
Can I add my own resources, tools, or prompts?
Yes. Create a new file in the respective src/resources/, src/tools/, or src/prompts/ directory, implement the handler, and register it in the corresponding index.ts file. The README provides code examples for each.
What transport modes are supported?
HTTP (via Express on a configurable port) and stdio (for command-line integration) are both supported.
Is there a license for this project?
Yes, the project is licensed under the MIT License.
Frequently asked questions
What are the prerequisites to run MCP Server Boilerplate?
Node.js v18 or later and npm or yarn are required.
How do I start the server?
Build the project with `npm run build`, then run `npm start` for HTTP mode or `npm run start:stdio` for stdio mode. For development with auto-restart, use `npm run dev` or `npm run dev:stdio`.
Can I add my own resources, tools, or prompts?
Yes. Create a new file in the respective `src/resources/`, `src/tools/`, or `src/prompts/` directory, implement the handler, and register it in the corresponding `index.ts` file. The README provides code examples for each.
What transport modes are supported?
HTTP (via Express on a configurable port) and stdio (for command-line integration) are both supported.
Is there a license for this project?
Yes, the project is licensed under the MIT License.
Basic information
More Developer Tools MCP servers
Vibgrate MCP
VibgrateQuery your team's drift, vulnerability, and migration data from any AI assistant. Vibgrate MCP connects Cursor, Claude, ChatGPT, Windsurf, or VS Code to Vibgrate Cloud: 51 tools for DriftScores, CVEs and EOL runtimes, up
DevDocs by CyberAGI π
cyberagiincCompletely free, private, UI based Tech Documentation MCP server. Designed for coders and software developers in mind. Easily integrate into Cursor, Windsurf, Cline, Roo Code, Claude Desktop App

PuzzleTide Puzzle Generator
Caravaca-LabsWord search generator, crossword generator, and sudoku generator + solver as a local-first MCP server. 15 deterministic tools: printable PDF puzzle worksheets, themed word banks, and verifiable LLM evals. From the makers
Unity MCP (Server + Plugin)
IvanMurzakAI Skills, MCP Tools, and CLI for Unity Engine. Full AI develop and test loop. Use cli for quick setup. Efficient token usage, advanced tools. Any C# method may be turned into a tool by a single line. Works with Claude Code, Gemini, Copilot, Cursor and any other absolutely for fr
Stakpak Agent CLI
stakpakShip your code, on autopilot. An open source agent that lives on your machines 24/7 and keeps your apps running. π¦
Comments