
easy mcp
一个基于FastMCP的模型上下文协议(MCP)服务器快速部署解决方案。
Repository Info
About This Server
一个基于FastMCP的模型上下文协议(MCP)服务器快速部署解决方案。
Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.
Documentation
Easy MCP
A streamlined server deployment solution for Model Context Protocol (MCP) using FastMCP. This project simplifies the process of running and managing multiple MCP servers with different transport methods.
Features
- 🚀 Quick setup of multiple MCP servers
- 🔄 Support for multiple transport types:
- NPX-based transport
- UVX-based transport
- HTTP proxy transport
- ⚡️ Built on FastMCP for high performance
- 🛠 Configurable through JSON
- 🐳 Docker support included
Requirements
- Python >= 3.13
- FastMCP >= 2.3.3
- UV >= 0.7.3
Installation
- Clone the repository:
git clone https://github.com/yourusername/easy-mcp.git
cd easy-mcp
- Set up your Python environment with UV:
uv venv
source .venv/bin/activate # On Windows: .venv\Scripts\activate
uv pip install -e .
Configuration
Create a servers_config.json file (you can copy from servers_config.json.example):
{
"mcpServers": {
"sequential-thinking": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-sequential-thinking"]
},
"fetch": {
"command": "uvx",
"args": ["mcp-server-fetch"]
},
"local": {
"url": "http://host.docker.internal:12010/mcp/"
}
}
}
Usage
Running with Python
python main.py
Environment Variables
TRANSPORT: Transport method (default: "streamable-http")HOST: Server host (default: "0.0.0.0")PORT: Server port (default: 8000)LOG_LEVEL: Logging level (default: "INFO")
Docker Support
Build and run using Docker Compose:
docker-compose up --build
API Endpoints
/health- GET: Health check endpoint- Additional endpoints provided by mounted MCP servers
Project Structure
.
├── main.py # Main server application
├── servers_config.json # Server configuration
├── Dockerfile # Docker configuration
├── docker-compose.yml # Docker Compose configuration
├── pyproject.toml # Python project metadata
└── src/ # Source code directory
Development
The project uses UV for dependency management and FastMCP for server implementation. The main application supports multiple transport methods and can be extended with additional MCP servers through configuration.
Contributing
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes
- Push to the branch
- Open a Pull Request
License
This project is open source and available under the MIT License.
Made with ❤️ by the Techower.Inc team
Quick Start
Clone the repository
git clone https://github.com/igorwang/easy-mcpInstall dependencies
cd easy-mcp
npm installFollow the documentation
Check the repository's README.md file for specific installation and usage instructions.
Repository Details
Recommended MCP Servers
Discord MCP
Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.
Knit MCP
Connect AI agents to 200+ SaaS applications and automate workflows.
Apify MCP Server
Deploy and interact with Apify actors for web scraping and data extraction.
BrowserStack MCP
BrowserStack MCP Server for automated testing across multiple browsers.
Zapier MCP
A Zapier server that provides automation capabilities for various apps.