# Enterprise MCP Gateway

> Securely bridge AI agents to internal REST APIs with RBAC, PII masking, and audit logging via MCP.

Enterprise MCP Gateway is a free AI agent skill on Agensi by Benjamin Janssens, in Security. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [Benjamin Janssens](https://www.agensi.io/creators/benjamin-janssens)
- Category: [Security](https://www.agensi.io/skills/security)
- Uses: 2
- Version: 1.0
- Last updated: 2026-10-18
- Security: scan passed (2026-10-18); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/enterprise-mcp-gateway
- Tags: apis-backend, security, agents-orchestration, mcp, rbac, pii, gateway, enterprise

## About this skill

Exposing internal enterprise APIs to AI agents often creates security and compliance gaps. This skill provides a secure Model Context Protocol (MCP) gateway that bridges AI coding agents to internal REST and OpenAPI services with enterprise-grade controls. It ensures that internal tools are only accessible via governed channels, preventing unauthorized access and data leakage.

### What it does
- **OpenAPI bridging** connects agents like Claude, Cursor, and Gemini to internal REST services by converting OpenAPI 3.0 specs into MCP tools.
- **RBAC enforcement** applies granular tool-level permissions per agent or team using token-based role mapping.
- **Data redaction** masks sensitive info including credit cards, SSNs, and secrets using zero-allocation in-flight PII filtering.
- **Audit logging** generates immutable JSON logs of every tool execution for SIEM compliance and security forensics.
- **Flexible transport** supports local execution via `stdio` for IDE agents or centralized deployment via `SSE` for shared team servers.

### How it works
1. **Define connectors** in a `config.yaml` file pointing to absolute paths of OpenAPI 3.0 specification files.
2. **Configure governance** by mapping tokens to roles and defining allowed tool globs and PII masking patterns.
3. **Launch the binary** using the `--config` flag and selecting the transport mode (`stdio` or `sse`).
4. **Connect the agent** by adding the gateway command and token to the agent's MCP configuration file.

### Frameworks & tools
The gateway is built as a Go binary and supports OpenAPI 3.0 specifications. It integrates with Claude Code, Claude Desktop, Cursor, Antigravity, and Gemini CLI.

### Why this beats prompting it yourself
Prompting an agent to call an API manually lacks security controls and auditability. This skill moves governance to the infrastructure layer, ensuring PII is redacted and access is logged before the LLM ever sees the data.

### Use cases
- Providing developers with AI-driven access to internal CRM or ERP APIs while masking customer PII.
- Restricting a support agent to read-only tool access while allowing an admin agent full write capabilities.
- Maintaining a centralized audit trail of all actions performed by AI agents against internal production environments.

### Known limitations
The gateway currently only supports OpenAPI 3.0 REST specifications. GraphQL and gRPC backends are not supported. Config files must use absolute paths to resolve OpenAPI specs correctly.

## Requires

- Gateway MCP

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Enterprise MCP Gateway skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### How does this gateway secure my internal APIs differently than just giving an agent the documentation?

The gateway acts as a security middleware that converts internal REST APIs into MCP tools while enforcing role-based access control and masking sensitive data like SSNs before the AI can see it.

### Which AI agents and IDEs can I use with the Enterprise MCP Gateway?

It is fully compatible with any agent that supports the Model Context Protocol, including Claude Desktop, Claude Code, Cursor, and Gemini CLI, using either stdio or SSE transports.

### Does this skill support GraphQL or gRPC internal services?

Currently, the gateway is designed specifically for OpenAPI 3.0 REST specifications; it does not support GraphQL or gRPC backends at this time.

### What does the initial configuration process look like for a new user?

Setup involves creating a config.yaml to map your OpenAPI specs, defining your PII masking rules, and launching the Go binary via your agent's MCP configuration.

### What exactly is included in the purchase of this skill?

You will receive the compiled Go binary, documentation for configuration, and a sample YAML file to help you quickly map your roles and API connectors.

### Can I integrate the audit logs with my existing security monitoring tools?

The gateway generates immutable JSON logs of every tool execution, which can be easily ingested into SIEM platforms for security forensics and compliance reporting.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
