mcp-boilerplate
Language:
JavaScript
Stars:
2
Forks:
2
MCP Server Boilerplate
This project provides a boilerplate for creating a Model Context Protocol (MCP) server. It's designed to help you quickly set up and start developing your own MCP server with minimal configuration.
Getting Started
- Clone this repository
- Install dependencies:
pnpm install
- Build the project:
pnpm run build
- Start the server:
pnpm start
Development
- Use
npm run dev
to start the TypeScript compiler in watch mode - Modify
src/index.ts
to add your custom tools and logic
Customizing Your Server
-
Update the server info in
src/index.ts
:const server = new Server( { name: "your-server-name", version: "your-version", }, // ... );
-
Define your tools in the
ListToolsRequestSchema
handler -
Implement your tool logic in the
CallToolRequestSchema
handler
Usage with Desktop App
To integrate this server with a desktop app, add the following to your app's server configuration:
{
"mcpServers": {
"your-mcp-server-name-here": {
"command": "node",
"args": [
"{ABSOLUTE PATH TO FILE HERE}/dist/index.js"
]
}
}
}
Publisher info
Zach Caceres
Build all the things! Tech: Typescript + AI.
More MCP servers built with JavaScript
MCP Server Semgrep is a [Model Context Protocol](https://modelcontextprotocol.io) compliant server that integrates the powerful Semgrep static analysis tool with AI assistants like Anthropic Claude. It enables advanced code analysis, security vulnerability detection, and code quality improvements directly through a conversational interface.
This MCP server provides email sending functionality using Protonmail's SMTP service. It allows both Claude Desktop and Cline VSCode extension to send emails on your behalf using your Protonmail credentials.
Model Context Protocol server that integrates AgentQL's data extraction capabilities.