CLI tool to bootstrap MCP (Model Context Protocol) server projects
Project description
Create MCP App
๐ The easiest way to create MCP (Model Context Protocol) servers
Just like create-next-app for React, but for MCP servers! Generate production-ready MCP servers with FastMCP, Docker, tests, and CI/CD in seconds.
โจ Quick Start
# Install globally
pip install create-mcp-app
# Create your MCP server
create-mcp-app my-awesome-mcp
# That's it! ๐
๐ฏ What You Get
- โ FastMCP Framework - Modern, fast MCP server
- โ 5 Example Tools - Echo, calculator, HTTP client, system info, etc.
- โ Docker Ready - Dockerfile and deployment configs included
- โ Type Hints - Full TypeScript-style type safety
- โ Error Handling - Production-ready error handling
- โ Test Suite - Pytest tests included
- โ CI/CD Pipeline - GitHub Actions workflow
- โ Professional Docs - Complete README and documentation
๐ Usage
Interactive Mode
create-mcp-app my-project
Quick Mode
create-mcp-app my-project --no-install --no-git
๐ฆ Generated Project Structure
my-project/
โโโ my_project/
โ โโโ __init__.py
โ โโโ app.py # Main MCP server with example tools
โโโ tests/ # Test suite
โโโ .github/workflows/ # CI/CD pipeline
โโโ Dockerfile # Container configuration
โโโ requirements.txt # Dependencies
โโโ setup.py # Package configuration
โโโ README.md # Project documentation
โโโ .gitignore # Git ignore rules
๐ ๏ธ Example Tools Included
Every generated project includes these example tools:
echo_message- Echo messages with timestampscalculate- Safe mathematical expression evaluationfetch_url- HTTP client for external APIslist_environment_variables- System environment accessget_server_info- Server metadata and health
Perfect starting points for building your own tools!
๐โโ๏ธ Run Your MCP Server
cd my-project
# Install dependencies
python -m venv venv
source venv/bin/activate # Windows: venv\Scripts\activate
pip install -r requirements.txt
pip install -e .
# Run with stdio (for Claude Desktop, etc.)
my_project-mcp --transport stdio
# Run with HTTP (for web integration)
my_project-mcp --transport streamable-http --port 8080
# Run with Docker
docker build -t my-project .
docker run -p 8080:8080 my-project
๐ Integration Examples
Claude Desktop
Add to your Claude Desktop config:
{
"mcpServers": {
"my-project": {
"command": "/path/to/my_project-mcp",
"args": ["--transport", "stdio"]
}
}
}
Web Integration
my_project-mcp --transport streamable-http --port 8080
# Server available at http://localhost:8080/mcp
๐จ Customization
The generated projects are fully customizable:
- Add new tools - Just add
@mcp.tool()decorated functions - API integration - Use the included HTTP client examples
- Database access - Add your database libraries
- Custom logic - Modify the example tools for your needs
๐ค Contributing
We welcome contributions! Here's how:
- Fork the repository
- Create a feature branch
- Make your changes
- Add tests if needed
- Submit a pull request
๐ License
MIT License - see LICENSE file for details.
Made with โค๏ธ for the MCP community
Get started in seconds, deploy in minutes!
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file create_mcp_app-1.0.0.tar.gz.
File metadata
- Download URL: create_mcp_app-1.0.0.tar.gz
- Upload date:
- Size: 13.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a0e7df9f7ac848c265f65186e3639c25df879d2ddf1ed337ad8bde185812a483
|
|
| MD5 |
10f08bb03907cf5a995836ea7cdfe649
|
|
| BLAKE2b-256 |
30f3bed726ac086ddb557347c88ce4c01a0e1aab9b0195ca346c7d4e78321d9c
|
File details
Details for the file create_mcp_app-1.0.0-py3-none-any.whl.
File metadata
- Download URL: create_mcp_app-1.0.0-py3-none-any.whl
- Upload date:
- Size: 14.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d844a460962329f33f08ed13412c4d5893b769cf3b328ec271692024e4c4e025
|
|
| MD5 |
47a4af9bc7367a06bf855c7fda445e29
|
|
| BLAKE2b-256 |
208f92c9424985712454f3df5e77f7cba4815e99dfe25d2d50da8d8904db0186
|