- Erste Schritte
- UiPath Agents in Studio Web
- Codierte UiPath Agents

Benutzerhandbuch zu Agents
MCP-Server
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 – Directly built and hosted within the UiPath Platform. They can expose artifacts such as RPA workflows, activities, agents, and processes.
- Coded MCP servers – Custom-developed and deployed servers built using supported SDKs (e.g., Python). These are versioned and managed through UiPath integration mechanisms.
- Command MCP servers – External servers brought in via a command package (for instance, an NPM or PyPI module), enabling quick integration through simple command-line execution.
- Remote MCP servers – Secure connection to MCP servers hosted outside UiPath.
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.
- Each MCP server can expose multiple tools. Select which of these tools you want the agent to use.
- 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.