Registry / devops / uipath-mcp

uipath-mcp

JSON →
library0.2.2pypypi✓ verified 82d ago

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-mcp
INSTALL
IMPORT
SIG · UIPATH-MCP
U
uipath-mcp
devopspythonv0.2.2
Install
13.5s avg
Import
Disk
99MB
Pass rate
8/ 10
Env Coverage8 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v0.0.92 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
glibc
py 3.10
✓ —
✓ 16.15s
py 3.11
✓ —
✓ 14.93s
py 3.12
✓ —
✓ 11.3s
py 3.13
✓ —
✓ 11.78s
py 3.9
✕ build_error
✕ build_error
99MB installed
● package 99MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

register_middleware
from uipath_mcp import register_middleware
from uipath_mcp.mcp import UiPathMCP
middlewares
from uipath_mcp import middlewares

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.

import os from uipath_mcp.mcp import UiPathMCP from uipath_mcp.models import GetHealthResponse, ProcessRequest class MyMCP(UiPathMCP): async def GetHealth(self) -> GetHealthResponse: print("Health check requested.") return GetHealthResponse(status="HEALTHY") async def Process(self, request: ProcessRequest) -> None: print(f"Received process request: {request.input}") # Implement your automation logic here based on request.input # For example, calling another UiPath process or external API # Ensure these environment variables are set for authentication and server URL # UIPATH_MCP_CLIENT_ID, UIPATH_MCP_CLIENT_SECRET, UIPATH_MCP_SERVER_URL if __name__ == "__main__": # Basic check for required env vars for quickstart to avoid immediate failure if not all(os.environ.get(var) for var in ['UIPATH_MCP_CLIENT_ID', 'UIPATH_MCP_CLIENT_SECRET', 'UIPATH_MCP_SERVER_URL']): print("Warning: Please set UIPATH_MCP_CLIENT_ID, UIPATH_MCP_CLIENT_SECRET, UIPATH_MCP_SERVER_URL environment variables to run this example.") print("Example: export UIPATH_MCP_CLIENT_ID='your_client_id'") try: mcp = MyMCP() mcp.run() # This will start the server and listen for requests except Exception as e: print(f"An error occurred: {e}") print("Ensure all required environment variables are set and dependencies are correct.")
Debug
Known issues
breakingVersion 0.2.0 introduced breaking changes by bumping minimum dependency versions for `uipath` to `>=2.10.40` and `uipath-runtime` to `>=0.10.0`. Projects using older versions of these dependencies will fail until upgraded.
fix
Ensure your `uipath` and `uipath-runtime` packages are at or above the specified minimum versions: `pip install --upgrade uipath uipath-runtime`.
affects: >=0.2.0
breakingVersion 0.1.0 aligned with UiPath Python SDK v2.2.0, adopting a new `UiPathRuntimeProtocol` pattern and replacing the previous middleware-based approach. Existing MCP implementations built with pre-0.1.0 versions will require refactoring to conform to the new protocol.
fix
Review the `uipath-mcp-python` GitHub README and examples for the `UiPathRuntimeProtocol` and `UiPathRuntimeFactoryProtocol` usage patterns, and refactor your MCP service accordingly.
affects: >=0.1.0
gotchaThe `uipath-mcp` service requires specific environment variables (`UIPATH_MCP_CLIENT_ID`, `UIPATH_MCP_CLIENT_SECRET`, `UIPATH_MCP_SERVER_URL`) to be set for authentication and to locate the UiPath Orchestrator endpoint. Missing these will prevent the service from starting or connecting.
fix
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/'`.
affects: all
Upgrade
Version history
0.2.2latest on PyPI · released Apr 8, 2026
Audit
Dependencies
uipathrequiredCore UiPath Python SDK, required for runtime communication and protocols.
uipath-runtimerequiredProvides the runtime interface and base classes for MCP services.
Agent activity
40 hits · last 30 days
node
34
OpenAI (training)
2
Resources
uipath-mcp — pip install uipath-mcp · libregistry