A distributed platform for managing, executing, and proxying MCP (Model Context Protocol) servers. The system provides backend components for LLM tool discovery, authentication, and deployment across containerized environments.
Overview
MCP Server Hub manages multiple MCP servers through a microservices architecture. The platform provides centralized control for MCP server instances with support for distributed deployment.
Key Features
- MCP Registry: Registry for discovering and managing MCP server instances
- Execution Engine: Deploys and runs MCP servers on Nomad or Kubernetes, with Vault and Consul integration
- MCP Proxy: Gateway that routes requests to MCP servers and integrates with MCP clients (Cursor, LibreChat, Claude Desktop)
- Web Interface: Admin portal for managing profiles, servers, and secrets
- Protocol Versioning: Support for MCP protocol versioning across different server implementations
- Security: Integration with HashiCorp Vault for secret management
Technical Architecture
Microservices architecture with the following components:
- API Gateway: Authentication, rate limiting, and request routing
- MCP Registry: MCP server discovery and registration (separate from Consul service registry)
- Service Registry: Consul for service discovery and health checking
- Execution Layer: Nomad/Kubernetes orchestration for MCP server deployment
- Message Queue: Redis/Kafka for asynchronous processing and event streaming
- Data Layer: PostgreSQL for configurations and metadata
- Secret Management: HashiCorp Vault for credentials and secrets
Go
Redis
Kafka
PostgreSQL
HashiCorp Vault
Consul
Docker
Nomad
Kubernetes
MCP Protocol
Use Cases
- Centralized management of MCP servers across development teams
- Multi-tenant deployments with isolated MCP server instances
- Managing MCP server configurations across different environments
- Tracking MCP server usage and tool invocations
Technical Highlights
- Distributed architecture with horizontal scalability
- Event-driven design with Redis/Kafka messaging
- RESTful and gRPC APIs
- Load balancing and failover support
- Monitoring integration with Prometheus/Grafana
Project Context
Developed as a freelance/contract project (April 2024 - Present). The platform manages MCP server infrastructure, handling tool discovery, authentication, and orchestration.