# About Agent Gateway

> Agent Gateway, the hub in Orchestrator for registering and managing MCP Servers and A2A agents in both directions.

:::note
Agent Gateway is available in preview.
:::

Agent Gateway is the area in Orchestrator where you register and manage the agents and servers that connect the UiPath Platform to the outside world, using two open protocols: Model Context Protocol (MCP) and Agent2Agent (A2A). It replaces the former standalone MCP Servers area, which now lives inside Agent Gateway alongside a new A2A Agents area.

## Two directions of communication

Agent Gateway supports communication in both directions:

- **Outbound (UiPath to external):** lets you connect external MCP servers and A2A agents, so they can be orchestrated alongside UiPath automations and agents.
- **Inbound (external to UiPath):** exposes UiPath capabilities, such as automations, API workflows, and agents, to external AI assistants and agents.

![Agent Gateway overview, showing inbound and outbound flows for MCP Servers and A2A Agents](https://dev-assets.cms.uipath.com/assets/images/orchestrator/agent-gateway-overview-54cdf88b.webp)

## Registered once, available everywhere

Every MCP server and A2A agent that you register in Agent Gateway, including ones hosted outside the UiPath Platform, becomes a resource on the platform. Once registered, you can use it in any orchestration or agentic layer, such as Maestro flows, Maestro BPMN processes, or agents built with Agent Builder, without additional setup for each consumer.

## MCP and A2A

Agent Gateway is organized by protocol, because the protocol determines how discovery, registration, authentication, and communication work:

- **MCP** exposes capabilities as tools that agents can discover and call.
- **A2A** supports multi-turn conversations between agents.

For inbound scenarios, the setup differs between the two protocols:

- **A2A:** every UiPath conversational agent speaks A2A natively and already has an agent card. No setup is needed.
- **MCP:** exposing UiPath artifacts as tools requires creating a UiPath MCP Server, where each tool is linked to a process.

For details on MCP, check [About MCP Servers](./about-mcp-servers.md). For details on A2A, check [About A2A Agents](./about-a2a-agents.md). To register your first agent or server, check [Outbound (UiPath to external)](./outbound-a2a.md) or [Managing MCP Servers](./managing-mcp-servers.md).
