mcp-compose
🔧 Orchestrate Model Context Protocol (MCP) servers with management capabilities, REST API, and Web UI - Similar to Docker Compose
claude mcp add --transport stdio datalayer-mcp-compose python -m mcp_compose
How to use
MCP Compose provides a unified platform to manage multiple MCP servers through a modern web UI and REST API. It includes automatic discovery of MCP servers, intelligent service composition across tools, protocol translation between STDIO and SSE, and real-time monitoring. You can start multiple MCP servers, browse and invoke tools across them, and observe live logs and metrics from a single control plane. The CLI exposes commands to serve via a web UI, discover available servers, and invoke tools, while the Python API allows programmatic orchestration and tool invocation from code.
How to install
Prerequisites:
- Python 3.10+ and pip
- Git
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 .
Usage without Docker:
# Start the server with Web UI (requires Python environment)
mcp-compose serve --config examples/mcp_compose.toml
If you prefer Docker-based deployment:
# Clone and run via docker-compose (includes Prometheus & Grafana)
git clone https://github.com/datalayer/mcp-compose.git
cd mcp-compose
docker-compose up -d
Access the UI and API:
- Web UI: http://localhost:8000
- API: http://localhost:8000/api/v1
Note: For production, follow the Deployment Guide in the repository to configure tokens, TLS, and scalable deployment.
Additional notes
Tips and common setup notes:
- If you are using the CLI, ensure your environment PATH includes the mcp-compose script generated by the installation.
- Enable security features such as token authentication and CORS in your config for production use.
- Use the docker-compose deployment for quick, production-like testing with Prometheus and Grafana dashboards.
- The system supports protocol translation (STDIO ↔ SSE) to bridge legacy MCP servers with modern clients.
- Check the REST API and Web UI for real-time metrics, logs, and health checks to diagnose issues quickly.
Related MCP Servers
jupyter
🪐 🔧 Model Context Protocol (MCP) Server for Jupyter.
mcp -odoo
A Model Context Protocol (MCP) server that enables AI assistants to securely interact with Odoo ERP systems through standardized resources and tools for data retrieval and manipulation.
falcon
Connect AI agents to CrowdStrike Falcon for automated security analysis and threat hunting
beemcp
BeeMCP: an unofficial Model Context Protocol (MCP) server that connects your Bee wearable lifelogger to AI via the Model Context Protocol
MCP-MultiServer-Interoperable-Agent2Agent-LangGraph-AI-System
This project demonstrates a decoupled real-time agent architecture that connects LangGraph agents to remote tools served by custom MCP (Modular Command Protocol) servers. The architecture enables a flexible and scalable multi-agent system where each tool can be hosted independently (via SSE or STDIO), offering modularity and cloud-deployable execut
Helios
An AI IDE secure coding MCP service