
🔧 Compose Model Context Protocol (MCP) servers with management capabilities, REST API, and Web UI — Similar to Docker Compose
概览
MCP Compose is a comprehensive solution for managing multiple MCP servers in a unified environment. It provides automatic discovery, intelligent composition, protocol translation, real-time monitoring, and a beautiful web interface for managing your MCP infrastructure. 🔧 - Start, stop, and monitor multiple MCP servers from a single interface 🌐 - Complete REST API with 32 endpoints for programmatic control 🎨 - Beautiful React-based interface with real-time updates 🔄 - Seamlessly translate between STDIO and SSE protocols 📊 - Live metrics, logs, and health checks 🔐 - Token authentication, CORS support, rate limiting 📦 - Docker support with docker-compose orchestration 🧪 - 95% test coverage with 265+ tests 📚 - Full API reference, user guide, and deployment guide - - Overview of all servers, tools, and system metrics - - Start, stop, restart servers with real-time status - - Search and invoke tools with interactive forms - - Edit and validate configuration files - - Real-time...
README
以下为原文 README 节选,完整内容请查看原文。
✨ MCP Compose
Similar to Docker Compose - Orchestrate Model Context Protocol (MCP) servers with management capabilities, REST API, and Web UI.
🎯 Overview
MCP Compose is a comprehensive solution for managing multiple MCP servers in a unified environment. It provides automatic discovery, intelligent composition, protocol translation, real-time monitoring, and a beautiful web interface for managing your MCP infrastructure.
Key Capabilities
🔧 Multiple MCP Servers Management - Start, stop, and monitor multiple MCP servers from a single interface
🌐 REST API - Complete REST API with 32 endpoints for programmatic control
🎨 Modern Web UI - Beautiful React-based interface with real-time updates
🔄 Protocol Translation - Seamlessly translate between STDIO and SSE protocols
📊 Real-Time Monitoring - Live metrics, logs, and health checks
🔐 Security First - Token authentication, CORS support, rate limiting
📦 Easy Deployment - Docker support with docker-compose orchestration
🧪 Well Tested - 95% test coverage with 265+ tests
📚 Comprehensive Docs - Full API reference, user guide, and deployment guide
🚀 Quick Start
Installation
# Install from PyPI
pip install mcp-compose
# Or install from source
git clone https://github.com/datalayer/mcp-compose.git
cd mcp-compose
pip install -e .
Using Docker (Recommended)
# Clone repository
git clone https://github.com/datalayer/mcp-compose.git
cd mcp-compose
# Start with docker-compose (includes Prometheus & Grafana)
docker-compose up -d
# Access the Web UI
open http://localhost:8000
Using CLI
# Start the server with Web UI
mcp-compose serve --config examples/ui/mcp_compose.toml
# Access Web UI at http://localhost:8000
# Access API at http://localhost:8000/api/v1
# Access API docs at http://localhost:8000/docs
# Discover available MCP servers
mcp-compose discover
# Invoke a tool
安装
docker run -d \