> ## Documentation Index
> Fetch the complete documentation index at: https://www.truefoundry.com/llms.txt
> Use this file to discover all available pages before exploring further.

# TrueFoundry MCP Gateway

> Centralized MCP gateway for enterprise AI agents—unified access, OAuth, security, observability, and guardrails for all your MCP servers.

Model Context Protocol (MCP) is an open standard that enables AI assistants to securely connect to data sources and tools. As AI systems evolve from simple chat interfaces to tool-using agents, MCP provides the standardized interface for these connections.
Truefoundry MCP Gateway enables organizations to centralize access to MCP servers and provides a unified interface for AI agents to access them.

## Why Enterprises Need an MCP Gateway

As AI agents become central to enterprise workflows, organizations face critical challenges when scaling MCP server adoption:

<AccordionGroup>
  <Accordion title="Fragmented Infrastructure">
    Without a centralized gateway, each developer manages their own MCP server connections. Teams configure VS Code, Cursor, and Claude Code individually, leading to inconsistent setups and duplicated effort across the organization.
  </Accordion>

  <Accordion title="Security & Credential Sprawl">
    API keys and credentials scatter across developer machines and tools. There's no standard authentication flow for enterprise tools, making it impossible to enforce security policies or audit who has access to what.
  </Accordion>

  <Accordion title="Zero Visibility">
    IT and security teams have no insight into which tools are being used, by whom, or how frequently. Without observability, you can't detect misuse, optimize costs, or meet compliance requirements.
  </Accordion>

  <Accordion title="No Governance">
    Sensitive tools and data sources get exposed without proper access controls. There's no way to require approvals for high-risk operations or enforce policies before tools execute.
  </Accordion>
</AccordionGroup>

### Before vs After: The MCP Gateway Difference

<img src="https://mintcdn.com/truefoundry/nayNmuj-cvHjEHjX/images/docs/before-after-mcp-gateway.png?fit=max&auto=format&n=nayNmuj-cvHjEHjX&q=85&s=f85ab24529264a8c1738b2aeaab56306" alt="Comparison showing fragmented MCP connections without a gateway versus unified access with TrueFoundry MCP Gateway" width="7549" height="4616" data-path="images/docs/before-after-mcp-gateway.png" />

| <Icon icon="circle-x" color="red" /> **Without MCP Gateway**                                            | <Icon icon="circle-check" color="green" /> **With TrueFoundry MCP Gateway**                                  |
| :------------------------------------------------------------------------------------------------------ | :----------------------------------------------------------------------------------------------------------- |
| **Multiple Connections** <br /> AI agents require separate connections to each MCP server               | **Single Gateway Access** <br /> AI agents connect to one gateway, access multiple MCP servers               |
| **Fragmented Configuration** <br /> Each developer configures VS Code, Cursor, Claude Code individually | **Unified Configuration** <br /> Single configuration point for all AI development tools                     |
| **Local Server Management** <br /> Developers must install and manage MCP servers locally               | **Centralized Infrastructure** <br /> Central IT manages cloud-hosted MCP infrastructure via streamable HTTP |
| **Ad-hoc Authentication** <br /> No standard authentication flow for enterprise tools                   | **Standard OAuth Flows** <br /> Developers use standard OAuth 2LO/3LO flows for enterprise MCP servers       |
| **Credential Sprawl** <br /> Scattered API keys and credentials across tools                            | **Secure Credential Management** <br /> Centralized credential management with secure vault integration      |
| **No Observability** <br /> No visibility into what tools teams are using                               | **Full Audit Trail** <br /> Complete visibility and audit trail for all tool usage                           |
| **Security Risks** <br /> Security risks from unmanaged tool sprawl                                     | **Governed Access** <br /> Enterprise-grade security with governed tool access                               |
| **Static Tool Access** <br /> No dynamic tool discovery for autonomous agents                           | **Dynamic Discovery** <br /> Dynamic tool discovery and invocation for autonomous workflows                  |
| **No Catalog** <br /> No curated tool catalog for multi-tenant environments                             | **Curated Registry** <br /> Registry provides discoverable, curated MCP servers for multi-tenant use         |

***

## TrueFoundry MCP Gateway

TrueFoundry MCP Gateway is an enterprise-ready platform that centralizes access to AI development tools using the Model Context Protocol. Instead of managing hundreds of individual tool configurations across your development teams, provide secure, governed access to curated AI tools through a single platform.

### Architecture

<Frame caption="TrueFoundry MCP Gateway Architecture">
  <img src="https://mintcdn.com/truefoundry/IFnuSpEIfJbMatUs/images/docs/ai-gateway/mcp-gateway-architecture.png?fit=max&auto=format&n=IFnuSpEIfJbMatUs&q=85&s=018b39ba8630a5bab28c5d5745352e80" alt="Architecture diagram showing TrueFoundry MCP Gateway connecting AI clients to multiple MCP servers through a unified interface" width="6103" height="4370" data-path="images/docs/ai-gateway/mcp-gateway-architecture.png" />
</Frame>

***

## Key Features

Use these guides to configure the MCP Gateway features that centralize server registration, authentication, access control, and tool consumption.

<CardGroup cols={2}>
  <Card title="Get started with MCP Gateway" icon="rocket" href="/docs/ai-gateway/mcp/mcp-server-getting-started">
    Register MCP servers, configure collaborators, and make servers available through the Gateway.
  </Card>

  <Card title="Authentication and security" icon="shield-halved" href="/docs/ai-gateway/mcp/mcp-gateway-auth-security">
    Configure inbound authentication, outbound authentication, access control, and token management.
  </Card>

  <Card title="Auth overrides" icon="key" href="/docs/ai-gateway/mcp/mcp-server-auth-overrides">
    Let users or virtual accounts supply their own upstream credentials for per-user server access.
  </Card>

  <Card title="Connect from your IDE" icon="code" href="/docs/ai-gateway/mcp/connect-mcp-from-ide">
    Add Gateway-hosted MCP servers to Cursor, Claude Code, VS Code, and other MCP clients.
  </Card>

  <Card title="Virtual MCP servers" icon="layer-group" href="/docs/ai-gateway/mcp/virtual-mcp-server">
    Curate tools from multiple MCP servers into one server for a team, workflow, or application.
  </Card>

  <Card title="OpenAPI to MCP server" icon="file-code" href="/docs/ai-gateway/mcp/openapi-mcp-server">
    Convert existing OpenAPI specifications into MCP tools without writing a custom server.
  </Card>

  <Card title="Hosted stdio MCP servers" icon="terminal" href="/docs/ai-gateway/mcp/stdio-mcp-server">
    Run CLI-style MCP servers with managed commands, arguments, environment variables, and credentials.
  </Card>

  <Card title="MCP guardrails" icon="screwdriver-wrench" href="/docs/ai-gateway/guardrails-overview">
    Apply pre-tool and post-tool checks to enforce policies before and after MCP tool calls.
  </Card>

  <Card title="MCP metrics" icon="chart-line" href="/docs/ai-gateway/analytics#mcp-metrics">
    Monitor MCP server and tool-level request rates, latency, failures, and usage patterns.
  </Card>
</CardGroup>
