The UiPath MCP (Managed Cloud Platform) SDK for Python enables developers to build custom activities that integrate with the UiPath ecosystem. It provides the necessary interfaces and tools for creating and exposing automations as discoverable services within UiPath Orchestrator. The current version is 0.2.2, with releases typically aligned with the core `uipath` Python SDK.
pip install uipath-mcpVerified import paths — ran on the pinned version, not inferred.
This quickstart defines a simple UiPath MCP service by inheriting from `UiPathMCP` and implementing the `GetHealth` and `Process` methods. The `Process` method is where your custom automation logic resides. To run this, you need to set specific environment variables for authentication with UiPath Orchestrator.
Ensure your `uipath` and `uipath-runtime` packages are at or above the specified minimum versions: `pip install --upgrade uipath uipath-runtime`.
Review the `uipath-mcp-python` GitHub README and examples for the `UiPathRuntimeProtocol` and `UiPathRuntimeFactoryProtocol` usage patterns, and refactor your MCP service accordingly.
Before running your MCP service, set the required environment variables: `export UIPATH_MCP_CLIENT_ID='...'`, `export UIPATH_MCP_CLIENT_SECRET='...'`, `export UIPATH_MCP_SERVER_URL='https://cloud.uipath.com/your_org_name/your_tenant_name/'`.