Uber has developed an MCP Gateway to manage how AI agents connect to its internal services and applications. The platform supports more than 800 MCP servers and 5,000 tools, allowing developers to access existing APIs through a common interface.
According to an engineering blog, Uber developed the gateway after individual teams began creating separate MCP integrations. This led to duplicated infrastructure, fragmented tooling, difficulties discovering available tools, and inconsistent security controls.
The gateway provides a centralised system for managing tool discovery, access permissions, and requests to internal APIs. It also translates MCP requests into the communication protocols used by Uber’s existing services.
Connecting AI agents to existing APIs
Uber’s MCP Gateway consists of two main components: the MCP Registry and the Proxy Gateway, which handle tool management and request execution, respectively.
The MCP Registry acts as the control plane, maintaining a catalogue of available MCP servers and tools. It stores information about tool definitions, ownership, and whether individual tools have been approved for use.
The Proxy Gateway handles requests from AI agents and forwards them to the appropriate backend services. It translates MCP requests into HTTP, gRPC, or TChannel calls before converting the responses into MCP-compatible results.
Uber operates thousands of internal microservices that expose APIs through these protocols. The gateway allows developers to make these APIs available as MCP tools without modifying the underlying services or building separate MCP servers for each integration.
For API-backed tools, incoming requests are translated into the appropriate format and serialised using Protocol Buffers or Thrift. The gateway then routes them through Muttley, Uber’s existing service mesh sidecar, which handles communication with downstream services.
The gateway also supports native MCP servers developed using Uber’s MCPFx framework. Unlike API-backed tools, these servers implement MCP directly and expose their functions through the protocol.
The gateway periodically refreshes an in-memory copy of server and tool configurations, allowing changes to take effect without restarting or redeploying the service.
AutoCrawler uses Cadence, a distributed workflow engine, to automate API discovery. A scheduled job triggers a workflow that scans Uber’s interface definition language (IDL) registry for new services, APIs, and schema changes.
AutoCrawler extracts method names, request and response schemas, and documentation from Protocol Buffers and Thrift definitions. It then converts the information into MCP-compatible schemas and uses a large language model to generate tool descriptions.
AutoCrawler also discovers native MCP servers through heartbeat signals generated by Uber’s MCPFx framework. Once identified, it retrieves their available tools and schemas before registering them in the MCP Registry.
Controlling tool access and security
Although AutoCrawler can automatically discover APIs and generate tool definitions, newly registered servers and tools remain disabled by default. Service owners must review and approve them before they become available to AI agents.
“Discovery doesn’t imply exposure,” Uber’s engineers said in the blog post, explaining that ownership and control of each MCP server remain with the team responsible for the underlying service.
Changes to tool descriptions also require approval from the responsible teams. Uber’s registry records configuration differences and supports rollbacks, allowing service owners to restore earlier versions when necessary.
These approval controls are relevant to security risks identified by the Open Worldwide Application Security Project (OWASP). Its MCP Security Cheat Sheet describes tool poisoning, where malicious instructions embedded in tool descriptions, parameter schemas, or responses can influence an AI agent’s behaviour.
OWASP also identifies rug pull attacks, in which an MCP server changes its tool definitions after initial approval. The organisation recommends reviewing complete tool definitions, including schemas and annotations, and using cryptographic hashes to detect changes.
Uber’s documented controls require service owners to approve tool-description changes and allow previous configurations to be restored. However, its engineering blog does not specify whether the gateway uses cryptographic verification to detect changes across complete tool definitions.
The gateway integrates with Uber’s existing access control system to enforce authorisation policies based on the identity of the caller. These policies distinguish between human users, internal services, and AI agents, with permissions configured at the MCP server level and additional restrictions available for individual tools.
OWASP recommends applying least-privilege access to MCP deployments by restricting tool permissions and using narrowly scoped credentials. Its guidance identifies excessive permissions and broadly scoped tokens as risks when AI agents interact with connected services.
Uber’s gateway also provides automatic redaction of personally identifiable information and other sensitive data from tool responses.
For third-party integrations, including Jira and Google services, the gateway forwards the caller’s internal user token to Uber’s Third-Party MCP Service. That service exchanges it for the appropriate external authentication token before dispatching the request to the third-party MCP server.
The gateway also applies authorisation, rate limiting, and sensitive-data redaction to third-party requests, extending these controls to external MCP connections.
Uber identifies centralised observability as another capability of its gateway. However, the company has not disclosed detailed monitoring metrics or the volume of agent requests processed by the system.
The OWASP Agent Control Standard, published in September 2026, addresses similar operational requirements for enterprise AI agents. It calls for visibility into agent activities, access permissions, and interactions with connected systems, alongside the ability to enforce security policies during execution.
Managing tool discovery at scale
Beyond security and access management, Uber faced another challenge involving how agents discover tools across hundreds of MCP servers. The company identified the protocol’s lack of native cross-server search as a limitation, since agents must know which servers to contact before retrieving their available functions.
Configuring agents to access numerous MCP servers also requires managing server addresses, credentials, and tool definitions. Loading thousands of definitions into an agent’s context consumes tokens, including information unrelated to the task being performed.
Uber developed Omni MCP, a proxy server that allows agents to discover tools incrementally instead of loading the entire catalogue into their context.
Omni MCP provides functions for finding servers, searching their available tools, retrieving individual tool schemas, and executing requests. Agents can locate the required tools based on a query and retrieve additional information only when needed.
According to Uber, Omni MCP retains the gateway’s existing access controls during tool discovery and execution. The approach allows agents to search across available servers without including every tool definition in the model context.
The gateway also includes Response Projection, which allows AI agents to specify the data they need from a tool response. The system adds a field to the request schema where the agent identifies the required information through nested paths.
The gateway uses these paths to filter the response at runtime, returning only the selected fields to the agent rather than the complete result.
Uber has also introduced Code Mode for coding agents operating in shell environments. It uses a command-line interface called aifx, allowing agents to discover and invoke MCP tools through the gateway without installing individual MCP servers.
The interface provides three commands: aifx mcp list to identify available servers, aifx mcp search to find tools, and aifx mcp call to execute requests.
Agents can chain these commands and write tool responses directly to files, retrieving selected information without loading complete outputs into the model context. According to Uber, Code Mode is now its default approach to MCP tool use in coding agents.
(Photo by Priscilla Du Preez 🇨🇦)
See also: GitHub says AI agents now start over 40% of pull requests
Want to dive deeper into the tools and frameworks shaping modern development? Check out the AI & Big Data Expo, taking place in Amsterdam, California, and London. Explore cutting-edge sessions on machine learning, data pipelines, and next-gen AI applications. The event is part of TechEx and co-located with other leading technology events. Click here for more information.
Developer Tech News is powered by TechForge Media. Explore other upcoming enterprise technology events and webinars here.
