mcp-cookie-cutter
A cookie cutter template for creating new MCP (Model Control Protocol) servers.
Added on 3/28/2025
MCP Server Cookie Cutter Template
A cookie cutter template for creating new MCP (Model Control Protocol) servers. This template generates a fully functional MCP server with both stdio and SSE support, demonstrated through a simple echo service.
Prerequisites
-
Python 3.10 or higher
python --version # Should be 3.10 or higher
-
uv (Fast Python package installer)
# Install uv if you don't have it curl -LsSf https://astral.sh/uv/install.sh | sh
-
Cookie Cutter
uv pip install cookiecutter
Creating a New MCP Server
You can create a new MCP server either directly from GitHub or from a local copy of this template.
Option 1: Directly from GitHub
cookiecutter gh:codingthefuturewithai/mcp-cookie-cutter
Option 2: From Local Copy
-
Clone this template:
git clone https://github.com/codingthefuturewithai/mcp-cookie-cutter
-
Create a project using the local template:
cookiecutter path/to/mcp-cookie-cutter
Template Configuration
You'll be asked for:
project_name
: Human-readable name (e.g., "My Echo Server")project_slug
: Python package name (e.g., "my_echo_server")description
: Short description of your projectauthor_name
: Your nameauthor_email
: Your emailserver_port
: Port for SSE server (default: 3001)
Once generated, follow the instructions in your new project's README.md for:
- Setting up the development environment
- Installing dependencies
- Running the server
- Testing with the example client
- Using the MCP Inspector
License
This template is licensed under the MIT License - see the LICENSE file for details.
Similar Resources
Developer Tools