Enterprise MCP Gateway logo

Enterprise MCP Gateway

Go-based MCP gateway that governs tool access, redacts sensitive data, connects OpenAPI backends, and records structured audit events.

Install Enterprise MCP Gateway

Pick your client, then add it in one click or paste the config.

SSE (Remote)
Server URL
http://localhost:8080/sse

Remote servers are added in the app, not the config file: Customize → Connectors → Add custom connector, then paste this URL.

Overview

The enterprise-mcp-gateway MCP server connects MCP clients to enterprise backends through a Go gateway with RBAC, PII and secret redaction, and structured audit logging. It registers MCP tools from OpenAPI 3.0 or Swagger YAML and JSON specifications, then routes authorized JSON-RPC calls to backend services. Stdio suits local clients such as Claude Desktop and Cursor, while HTTP Server-Sent Events supports distributed deployments. Reach for it when tool visibility, response sanitization, and auditable access to internal services are requirements.

Use cases

  • Expose internal OpenAPI operations as MCP tools
  • Restrict tools by agent role and token
  • Redact PII and secrets from tool responses
  • Audit tool calls for SIEM processing
  • Connect local or distributed MCP clients to enterprise services

Key features

  • Dynamic OpenAPI and Swagger tool registration
  • Token-based RBAC for discovery and execution
  • PII, secret, and JSON-key redaction
  • Stdio and HTTP SSE transports
  • Structured JSON audit logging
  • SHA-256 parameter hashing and latency metrics

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked Today

Recent health check succeeded.

4/4 checks healthy over the last 46d

Supply-chain signal

2 high-severity advisories on record for this package. Most advisories affect transitive dependencies and may not be exploitable in this server's actual usage — this is a directional signal, not a security audit.

Critical 1High 1Medium 0Low 0

Scanned 9/7/2026 via OSV.dev · http://localhost:8080/sse (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars1Stargazers on the source repository.
Last commit5d agoMost recent push to the default branch.
Directory activity3 viewsConfig copies, upvotes, and views on AllMCPs.

How Enterprise MCP Gateway works

What enterprise-mcp-gateway MCP server does

The enterprise-mcp-gateway MCP server places a policy and routing layer between MCP clients and internal services. It can expose operations described by OpenAPI 3.0 or Swagger specifications as MCP tools, avoiding separate glue code for each endpoint. The documented target backends include OpenAPI services, Java or Spring Boot applications, Go microservices, and relational databases.

Requests pass through authentication and role checks before execution. A token maps to a role, and that role determines which tools appear in tools/list and which calls are accepted by tools/call. This makes the gateway suitable for separating read-only, support, and administrative tool access.

How it works

The gateway is distributed as a Go binary with a JSON-RPC 2.0 MCP protocol engine. It supports standard stdio transport for local processes and HTTP Server-Sent Events for networked or distributed clients. The routing layer performs the MCP handshake and dispatches calls to registered backend operations.

Response data is inspected before it reaches the model. Built-in handling covers credit card numbers with Luhn validation, US Social Security numbers, email addresses, phone numbers, AWS keys, JWTs, GitHub personal access tokens, and configured JSON keys. Custom regular expressions can extend the sanitization rules.

Each tool execution produces structured JSON audit data. Records include caller identity, the selected tool, SHA-256 hashes of parameters, execution duration, status, and redaction counts. These records can be followed as a log stream and forwarded or processed for SIEM use.

Setup and configuration

Building requires Go 1.24 or newer. The repository provides separate build commands for the gateway and a mock backend server. A sample YAML file configures the server name, version, transport, host, and port, along with governance and sanitizer behavior.

Run the binary in its default stdio mode with a configuration path and token. For network access, select sse transport and provide a port. The repository also documents connecting Claude Desktop by adding the binary command, configuration path, and token to its MCP server configuration. Anthropic's MCP Inspector can verify either stdio or SSE operation.

Governance configuration defines token-to-role mappings, a default role, and wildcard-based allowed tool patterns such as list*, get*, or *. Sanitizer settings enable or disable masking, identify sensitive JSON keys, and add custom patterns.

Tools and capabilities

The enterprise-mcp-gateway MCP server provides infrastructure capabilities rather than a fixed business-tool catalog:

  • Register MCP tools from OpenAPI and Swagger YAML or JSON documents.
  • Map tool inputs to OpenAPI path, query, and body parameters.
  • Filter tool discovery and enforce execution permissions by role.
  • Authenticate calls with configured tokens.
  • Mask PII, secrets, and selected JSON fields in streamed or JSON responses.
  • Emit structured audit records with hashed parameters and latency data.

The actual business operations depend on the configured API specification and backend. The example configuration references operations such as customer listing, customer detail lookup, and support-ticket creation.

Limitations and notes

Those systems are identified as backend targets; their exposed operations still need to be represented through the supported configuration or API description.

No environment variables are specified in the example setup. Configuration is supplied through YAML and command-line options, including the token, config path, transport, and port. The README names Claude Desktop and Cursor as client examples and also mentions Antigravity and LangGraph, but it does not provide dedicated configuration instructions for the latter two.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Enterprise MCP Gateway

enterprise-mcp-gateway is an MCP server that connects AI clients to enterprise backends described by OpenAPI or Swagger specifications, including Java/Spring Boot and Go services. Its main tools register backend operations as MCP tools, enforce token-based RBAC, redact PII and secrets from responses, and emit structured JSON audit records.

Build it from source with Go 1.24 or newer. Clone the repository, build the gateway binary with `go build -o bin/mcp-gateway ./cmd/gateway`, then run it with a YAML config path and token. The documented setup also includes an optional mock backend binary for local testing.

Add the gateway executable as an MCP server in Claude Desktop's configuration, passing the YAML config path and token as command-line arguments. Restart Claude Desktop after saving the configuration. The README provides platform-specific configuration file locations for macOS, Linux, and Windows.

Yes, Cursor is listed as a supported client example. Run the gateway in stdio mode and configure Cursor to launch the binary with the required config path and token. The gateway also supports HTTP Server-Sent Events for clients or deployments that use a network transport.

It masks configured sensitive data in tool responses before those responses reach the model. Built-in patterns cover credit cards, SSNs, emails, phone numbers, AWS keys, JWTs, GitHub PATs, and selected JSON keys; custom regular expressions can add organization-specific patterns.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewEnterprise MCP Gateway AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/enterprise-mcp-gateway-2?style=directory)](https://allmcps.com/mcp/enterprise-mcp-gateway-2)
HTML Embed
<a href="https://allmcps.com/mcp/enterprise-mcp-gateway-2"><img src="https://allmcps.com/api/badge/enterprise-mcp-gateway-2?style=directory" alt="Enterprise MCP Gateway on AllMCPs" /></a>