Integration with GitHub for potential package publishing and project hosting, though marked as a todo item in the README.
Required for running the MCP server, with specific configurations for local and remote setups.
Provides type safety for developing tools and extending the MCP server functionality.
MCP Server Starter
Want to build your own MCP server?
MCP Server Starter gives you a basic structure to run local tools with Cursor, Claude, and others using the MCP standard.
Features
- 📡 Flexible Communication
- Supports multiple communication protocols between client and server,
stdio
: Local usageStreamable HTTP
: Remote and local useagesse
: Remote and local usage (deprecated)~~
- 📦 Minimal Setup - Get started quickly with a basic server implementation.
- 🤖 Cursor AI Integration - Includes example
.cursor/mcp.json
configuration. - ⌨️ TypeScript - Add type safety to your project.
Todo
- Add option to publish your own packages
- Better CLI support for scaffolding
- Prompts to build tools on the fly
Getting Started
Prerequisites
Usage
Supported Transport Options
Model Context Protocol Supports multiple Transport methods.
stdio
Recommend for local setups
Code Editor Support
Add the code snippets below
- Cursor:
.cursor/mcp.json
Local development/testing
Use this if you want to test your mcp server locally
Published Package
Use this when you have published your package in the npm registry
Streamable HTTP
Important: Streamable HTTP is not supported in Cursor yet
Recommend for remote server usage
Important: In contrast to stdio you need also to run the server with the correct flag
Local development
Use the streamable http
transport
- Start the MCP Server Run this in your terminal
Or with mcp inspector
- Add this to your config
Published Package
Use this when you have published your package in the npm registry
Run this in your terminal
Use the Inspector
Use the inspect
command to debug your mcp server
Command-Line Options
Protocol Selection
Protocol | Description | Flags | Notes |
---|---|---|---|
stdio | Standard I/O | (None) | Default |
http | HTTP REST | --port <num> (def: 3000), --endpoint <path> (def: /mcp ) | |
sse | Server-Sent Events | --port <num> (def: 3000) | Deprecated |
License
This project is licensed under the MIT License - see the LICENSE file for details.
Courses
- Learn to build software with AI: instructa.ai
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
Tools
A basic structure to build and run local tools that support the Model Context Protocol (MCP) standard, compatible with AI tools like Cursor and Claude.
Related MCP Servers
- AsecurityFlicenseAqualityA template for building tools based on the Model Control Protocol (MCP) framework, providing a structured way to develop and integrate custom tools with Cursor.Last updated -2Python
- AsecurityAlicenseAqualityA foundation for building custom local Model Context Protocol (MCP) servers that provide tools accessible to AI assistants like Cursor or Claude Desktop.Last updated -125TypeScriptMIT License
- AsecurityFlicenseAqualityA Model Context Protocol (MCP) server that allows Claude AI to interact with custom tools, enabling extension of Claude's capabilities through the MCP framework.Last updated -TypeScript
- -securityFlicense-qualityA lightweight orchestration hub for managing local Model Context Protocol (MCP) tools in a unified way, allowing users to build, manage, and call their AI tools from IDEs, terminal, and custom assistants.Last updated -Python