mcpx is a self-hosted gateway for the Model Context Protocol (MCP). It enables organizations to securely connect AI agents to MCP servers while maintaining full control over access, credentials, and observability.
Scope: mcpx focuses exclusively on , which represent the majority of protocol usage. Resources and Prompts are not currently supported.
A self-hosted MCP Gateway for enterprise environments. Secure AI agent connections to MCP servers with tool governance, multi-tenant isolation, and full observability. Built with Rust and Vue.
Estrelas
14
Ferramentas
—
Disponibilidade
—
MCP Tools
Key Capabilities
Capability
Description
Proxy Layer
Route MCP traffic through a central gateway with credential injection
Tool Governance
Allowlist or blocklist specific tools per server
Virtual Gateways
Aggregate multiple servers into a single endpoint
Observability
Audit logs, real-time metrics, and alerting
Authentication
OAuth, API Keys, Bearer Tokens, and Service Accounts
Multi-tenancy
Isolated organizations with role-based access control
For detailed workflows with sequence diagrams and RBAC matrix, see Use Cases.
Point to any MCP server via URL. mcpx handles credential injection and protocol compliance automatically.
Tool Governance
Control which tools AI agents can access. Define allowlists or blocklists per server, and apply prefixes to tool names for namespace isolation.
Full Observability
Every MCP request is logged with timestamps, latency, tool names, and full request/response payloads. Query metrics by time range, server, or tool.
Rate Limiting
Protect your MCP servers with per-server rate limits. Configurable requests per minute with automatic 429 responses.
Flexible Authentication
Support for multiple authentication methods:
Method
Use Case
OAuth
User authentication via Google, GitHub, or Microsoft
Personal Access Tokens
Programmatic access for users
Service Accounts
Machine-to-machine communication
API Keys and Bearer Tokens
Credential injection to upstream servers
Gateway Aggregation
Combine multiple MCP servers into a single endpoint. Connect Claude Desktop to one URL and access all your tools seamlessly.
See it in Action
Watch some of the key features in action:
Example MCP Servers
The project includes example MCP servers in the mcp-servers-examples/ directory for testing different authentication methods. These servers start automatically with Docker Compose.
The domain mcpx.127.0.0.1.nip.io resolves to 127.0.0.1 automatically. No hosts file modification required.
Production Deployment
For production environments on cloud providers (AWS, GCP, Azure).
Architecture
flowchart TB
subgraph Internet
LB["Load Balancer + TLS"]
end
subgraph K8s["Kubernetes Cluster"]
direction TB
subgraph Services
Web["Web<br/>3+ replicas"]
Worker["Worker<br/>2+ replicas"]
end
end
subgraph Data["Managed Services"]
DB[("PostgreSQL<br/>TimescaleDB")]
end
LB --> Web
LB --> Worker
Web --> DB
Worker --> DB
style LB fill:#6366f1,stroke:#4f46e5,color:#fff
style Web fill:#8b5cf6,stroke:#7c3aed,color:#fff
style Worker fill:#8b5cf6,stroke:#7c3aed,color:#fff
style DB fill:#06b6d4,stroke:#0891b2,color:#fff
Managed Database
mcpx requires PostgreSQL with the TimescaleDB extension.
Provider
Managed PostgreSQL
TimescaleDB Support
AWS
RDS for PostgreSQL
Not available
GCP
Cloud SQL
Not available
Azure
Flexible Server
Available
For AWS and GCP, use Timescale Cloud or run TimescaleDB in Kubernetes.
Secrets Management
Use your cloud provider's secrets management service:
Contributions are welcome. Please read CONTRIBUTING.md for guidelines on:
Fork and clone the repository
Create a feature branch
Make changes following coding standards
Submit a pull request
For AI-assisted development guidelines, see AGENT.md.
License
This project is licensed under the Apache License 2.0. See LICENSE for details.
Support
For questions or issues, contact [email protected] or open an issue on GitHub.
Copyright 2025 TM Dev Lab
M
Mcpx
thiagomendes·14 estrelas·
A self-hosted MCP Gateway for enterprise environments. Secure AI agent connections to MCP servers with tool governance, multi-tenant isolation, and full observability. Built with Rust and Vue.
Ainda não há lista de ferramentas. Servidores remotos recebem uma após a primeira verificação de saúde.
Perguntas frequentes
Perguntas
Como instalo Mcpx?
Copie nesta página a configuração stdio para Cursor, Claude Desktop, Claude Code ou VS Code. Ela usa a instalação do publicador, não um proxy do PlugMCP.
Mcpx precisa de uma chave de API?
Este registro não lista nenhuma variável de ambiente obrigatória.
Qual transporte Mcpx usa?
Mcpx roda localmente via stdio.
Quando Mcpx foi verificado pela última vez?
Última verificação: 2026-10-28. A self-hosted MCP Gateway for enterprise environments. Secure AI agent connections to MCP servers with tool governance, multi-tenant isolation, and full observability. Built with Rust and Vue.