Octelium MCP Gateway
A free, open source, self-hosted MCP gateway that adds identity-based access control, guardrails, credential isolation and auditing for AI agents.
At a Glance
Free and open source, self-hosted Octelium MCP gateway; core licensed under AGPL-3.0 with Apache 2.0 for client-side components.
Engagement
Available On
Listed Nov 2026
About Octelium MCP Gateway
Octelium MCP Gateway is the Model Context Protocol gateway mode of Octelium, a free and open source, self-hosted secure access platform from Octelium Labs, LLC. It authenticates humans, workloads and AI agents, then applies protocol-aware policy to each MCP request before it reaches an upstream server. It runs on Kubernetes infrastructure the operator controls, with no hosted control plane in the MCP request path.
What It Is
An MCP Service in Octelium sits in front of an existing MCP server or deploys a containerized one as a managed upstream. The gateway parses MCP JSON-RPC and streamable HTTP traffic rather than treating it as opaque HTTP. Policies written in CEL or OPA can evaluate the authenticated User, Group, Session and Device together with the method, tool, prompt or resource target and the parsed arguments. For example, tools/list can be allowed for discovery while tools/call is limited to specific identities, tools and argument values.
Controls on MCP traffic
Guardrails inspect tool arguments going to a server and inspect tool results, resources, prompts and tool definitions coming back, with deny, redact, strip or replace actions. Further processing options include JSON Schema validation, rate limits, Lua scripting, Envoy ExtProc and conditional path handling. Protocol controls validate JSON-RPC messages, pin accepted protocol revisions, optionally reject unknown methods, apply origin and CORS rules, and bound request and stream-event sizes.
Credentials and routing
Clients authenticate to Octelium with their own identity, and the gateway separately authenticates to the MCP server after access is allowed. Upstream authentication supports bearer tokens, custom API-key headers, basic credentials, OAuth2 client credentials and AWS Signature Version 4, stored as Cluster Secrets. Dynamic configuration can pick the upstream server, credential and processing rules from the caller's identity and MCP context, so sensitive tools can sit behind dedicated servers.
Audit and operations
Access logs record the protocol version, JSON-RPC method, tool, prompt or resource target, authenticated identity and policy decision, and distinguish protocol errors from tool errors. Request and response body capture can be disabled. Logs are exported over OpenTelemetry OTLP. The Cluster is managed with YAML and GitOps through octeliumctl, or through gRPC APIs and Go, TypeScript, Rust and Python SDKs. A quick installer sets up a single-node Cluster on a Linux VM.
Licensing
The GitHub README states that client-side components are Apache 2.0 licensed and Cluster-side components are AGPLv3, with a commercial license option. A separate enterprise package adds features such as a web console and SCIM 2.0 provisioning.
Community Discussions
Be the first to start a conversation about Octelium MCP Gateway
Share your experience with Octelium MCP Gateway, ask questions, or help others learn from your insights.
Pricing
Open Source (Self-hosted)
Free and open source, self-hosted Octelium MCP gateway; core licensed under AGPL-3.0 with Apache 2.0 for client-side components.
- Self-hosted MCP gateway
- Tool-level access control with CEL or OPA policies
- Guardrails for secrets and prompt injections
- Lua scripting for JSON-RPC messages
- Rate limiting
Capabilities
Key Features
- Method, tool and argument-level MCP access control with CEL or OPA policies
- Bidirectional guardrails for tool arguments and results (secrets, PII, custom patterns)
- Dynamic routing to different MCP servers and credentials by identity
- MCP server credential isolation (bearer, API key, basic, OAuth2 client credentials, AWS SigV4)
- JSON-RPC and protocol version validation with origin/CORS and size limits
- Lua, Envoy ExtProc, JSON Schema validation and rate limiting plugins
- Identity-aware audit logs exported via OpenTelemetry OTLP
- Managed containerized MCP servers with horizontal scaling
- Declarative YAML/GitOps management and gRPC APIs with Go, TypeScript, Rust and Python SDKs
