A Cookiecutter template for creating MCP servers with Apple container support and configurable transport methods.
A cookiecutter template for quickly creating MCP (Model Context Protocol) servers with Apple container support.
Apple containers provide VM-level isolation with Docker-like simplicity:
Install UV (if not already installed):
curl -LsSf https://astral.sh/uv/install.sh | sh
Install cookiecutter:
uv tool install cookiecutter
# or
pip install cookiecutter
Install Apple/Container:
# From local directory
cookiecutter /path/to/cookiecutter-mcp-uv-container
# From GitHub
cookiecutter https://github.com/daviddrummond95/cookiecutter-mcp-uv-container
You'll be prompted for:
After generation, your project will have:
my-mcp-server/
āāā Dockerfile # Multi-stage build for containers
āāā pyproject.toml # UV project configuration
āāā hello.py # MCP server implementation
āāā QUICKSTART.md # Quick start guide
āāā .env.example # Environment configuration
After creating your project:
Navigate to your project:
cd my-mcp-server # or whatever you put as project-slug
Start Container System (first time only):
container system start
Build Container:
container build --tag my-mcp . # Replace my-mcp with whatever you want to name the container
Run MCP Server:
# Interactive stdio mode
container run --interactive my-mcp
Customize: Edit hello.py
to add your own MCP tools
For Claude Desktop, you have two options:
{
"mcpServers": {
"My MCP Server (Local)": {
"command": "uv",
"args": ["run", "fastmcp", "/path/to/my-mcp-server/hello.py"]
}
}
}
Then configure Claude Desktop to connect via STDIO:
{
"mcpServers": {
"My MCP Server (Container)": {
"command": "container",
"args": ["run", "--interactive", "my-mcp-container"]
}
}
}
The template supports multiple transport methods via environment variables:
Set via: MCP_TRANSPORT=<transport-type>
MIT
An MCP server for interacting with the Postman API, requiring an API key.
Equip AI agents with evaluation and self-improvement capabilities with Root Signals.
A comprehensive toolkit for AI-driven development, offering file system operations, code analysis, execution, web searching, and system information retrieval.
A server for JavaScript/TypeScript development with intelligent project tooling and testing capabilities.
A proxy server that enables existing REST APIs to be used as Model Context Protocol (MCP) servers.
Server for advanced AI-driven video editing, semantic search, multilingual transcription, generative media, voice cloning, and content moderation.
A server for monitoring and analyzing Java Virtual Machine (JVM) processes using Arthas, with a Python interface.
MCP Server for automated reverse engineering with IDA Pro.
Convert Figma designs into React Native components.
A comprehensive MCP server for managing OPNsense firewalls, offering over 300 tools for configuration and monitoring.