UiPath MCP SDK
Actively maintained. Last release 6 weeks ago, commits in 8 of the last 26 weeks. A safe choice.
pip install uipath-mcpUiPath MCP Python SDK
A Python SDK that enables hosting local MCP servers on UiPath Platform.
Check out our samples directory to explore various MCP server implementations. You can also learn how to pack and host binary servers written in languages like Go within UiPath.
Installation
pip install uipath-mcp
using uv:
uv add uipath-mcp
Configuration
Servers Definition
Create the mcp.json file:
{
"servers": {
"my-python-server": {
"type": "stdio",
"command": "python",
"args": ["server.py"]
},
}
}
Command Line Interface (CLI)
The SDK also provides a command-line interface for creating, packaging, and deploying Python-based MCP servers:
Authentication
uipath auth
This command opens a browser for authentication and creates/updates your .env file with the proper credentials.
Initialize a Project
uipath init [SERVER]
Creates a uipath.json configuration file for your project. If [SERVER] is not provided, it will create an entrypoint for each MCP server defined in the mcp.json file.
Debug a Project
uipath run [SERVER]
Starts the local MCP Server
Package a Project
uipath pack
Packages your MCP Server into a .nupkg file that can be deployed to UiPath.
Note: Your must include: