- Getting started
- UiPath Conversational Agents
- UiPath Agents in Studio Web
- UiPath Coded agents
- Build with Coding Agents
MCP Servers
Add Model Context Protocol (MCP) servers as tools within Agents to extend capabilities and enable interaction with external systems, APIs, or models.
Add Model Context Protocol (MCP) servers as tools within UiPath agents to extend their capabilities and allow interaction with external systems, APIs, or models.
MCP provides a standardized protocol for communicating and sharing contextual data between large language models (LLMs), agents, and applications. Inside UiPath, this allows agents to call out to various MCP servers that expose functions, data, or automation capabilities as reusable tools. MCP integration ensures that agents can access both UiPath-hosted and external MCP endpoints seamlessly.
Agents can connect to the following types of MCP servers:
- UiPath MCP servers – Built and hosted in the UiPath Platform. They expose RPA workflows, agents, API workflows, and Maestro BPMN processes as tools.
- Remote MCP servers – Secure connection to MCP servers hosted outside UiPath.
- Platform MCP servers – Expose a first-party UiPath service as a curated set of MCP tools. Test Manager is the only service available for Platform MCP servers in Automation Suite.
Once you add an MCP server as a tool, the agent can call its endpoints through the MCP protocol using contextual inputs gathered during execution.
Typical use cases
MCP servers as tools enable a wide range of automation and integration scenarios:
- Context-aware data retrieval: Call MCP servers that provide real-time information, such as weather data or financial metrics, and use this context within their reasoning flow.
- External API orchestration: Expose external APIs through MCP and integrate them directly into agents, instead of defining complex API workflows.
- Custom logic extensions: Package domain-specific logic or LLM-powered microservices into MCP servers that become agent tools, ensuring consistent deployment and maintenance.
- Cross-environment integration: UiPath-hosted agents can securely interact with MCP servers through Orchestrator.
Configuring MCP servers as agent tools
To add an MCP server as an agent tool, take the following steps:
- First, perform the server setup in Orchestrator. Register and configure MCP servers in Orchestrator, under the MCP Servers tab. For details, refer to Managing MCP Servers.
- In the agent canvas, select Add tool, then select MCP Server.
- Choose from available configured servers.
- In the Tools Configuration setting, choose how the agent gets the server's tools. For details, refer to Tools configuration.
- For every selected tool, configure the input parameters. These parameters define how the agent passes context or data to the MCP tool at runtime.
Agents maintain persistent MCP sessions across runs to reduce latency, automatically reconnecting or renewing expired sessions as needed during tool execution.
Tools configuration
The Tools Configuration setting of an MCP server controls which tools the agent uses:
- Dynamic – The agent uses the tools that the MCP server exposes at runtime, with their current schemas. With Use all tools turned on, every tool the server exposes is available to the agent. Turn it off to select a subset of tools.
- Cached – The agent uses the tools saved in the agent configuration. With Refresh schema before call turned on, the agent fetches the latest tool schema from the server right before each call, so schema changes reach the agent without redeploying it.
MCP servers that you add to an agent start with Dynamic and Use all tools turned on.