MCP Server Boilerplate
A basic Model Context Protocol (MCP) server implementation that can be used as a starting point for building MCP-compatible applications.
Features
- Basic MCP server setup with TypeScript
- Example function implementation
- Graceful shutdown handling
- Development and production build configurations
Prerequisites
- Node.js (v14 or higher)
- npm or yarn
Installation
npm install
Development
To run the server in development mode with hot-reload:
npm run dev
Building for Production
To build the project:
npm run build
To start the production server:
npm start
Project Structure
├── src/
│ └── index.ts # Main server implementation
├── package.json # Project dependencies and scripts
├── tsconfig.json # TypeScript configuration
└── README.md # This file
Adding New MCP Functions
To add new functions to the server:
- Define a new function schema using Zod
- Create a function implementation following the MCPFunction interface
- Add the function to the server configuration
Example:
const myNewFunction: MCPFunction = {
name: 'my_new_function',
description: 'Description of what the function does',
parameters: z.object({
// Define your parameters here
}),
handler: async (params) => {
// Implement your function logic here
return {
// Return your response here
};
}
};
License
ISC
Echo Map
Project Details
- ns-personal/echo-map
- Last Updated: 3/27/2025
Recomended MCP Servers
MCP Bone npm package which is used to connect to MCP Bone as a MCP Server and is...
MCP server for integrating Atlassian products (Confluence, Jira) with Model Context Protocol
A Model Context Protocol (MCP) server for interacting with Ghost CMS through LLM interfaces like Claude. Allow you...
An implementation of Model Context Protocol (MCP) server for Argo CD.
A Model Context Protocol (MCP) server implementation for the Portkey AI platform, providing a standardized interface for managing...
MCP Server supported search engine
MCP服务对接inBox笔记API,实现在任意 MCP 客户端以对话形式创建笔记的功能。
MCP server for using ScrAPI to scrape web pages.
MCP server implementation that enables AI assistants to search and reference Kibela content
Playwright Model Context Protocol Server - Tool to automate Browsers and APIs in Claude Desktop, Cline, Cursor IDE...
Open-source FRED MCP Server (Federal Reserve Economic Data)
The official home of the Presto distributed SQL query engine for big data





