Skip to main content

UiPath MCP SDK

Project description

UiPath MCP Python SDK

PyPI downloads PyPI - Version Python versions

A Python SDK that enables hosting local MCP servers on UiPath Platform.

Installation

pip install uipath-mcp

using uv:

uv add uipath-mcp

Configuration

Environment Variables

Create a .env file in your project root with the following variables:

UIPATH_URL=https://cloud.uipath.com/ACCOUNT_NAME/TENANT_NAME
UIPATH_ACCESS_TOKEN=YOUR_TOKEN_HERE

Servers Definition

// mcp.json
{
  "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 pyproject.toml must include:

  • A description field (avoid characters: &, <, >, ", ', ;)
  • Author information

Example:

description = "Your package description"
authors = [{name = "Your Name", email = "your.email@example.com"}]

Publish a Package

uipath publish

Publishes the most recently created package to your UiPath Orchestrator.

Project Structure

To properly use the CLI for packaging and publishing, your project should include:

  • A pyproject.toml file with project metadata
  • A mcp.json file with servers metadata
  • A uipath.json file (generated by uipath init)
  • Any Python files needed for your automation

Development

Setting Up a Development Environment

Please read our contribution guidelines before submitting a pull request.

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

uipath_mcp-0.0.20.tar.gz (181.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

uipath_mcp-0.0.20-py3-none-any.whl (13.5 kB view details)

Uploaded Python 3

File details

Details for the file uipath_mcp-0.0.20.tar.gz.

File metadata

  • Download URL: uipath_mcp-0.0.20.tar.gz
  • Upload date:
  • Size: 181.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.14

File hashes

Hashes for uipath_mcp-0.0.20.tar.gz
Algorithm Hash digest
SHA256 4c74f0a1e51c38d47237ab11c77a8dc97c58b4d71a2d9cf2ab50e80dc0c7b634
MD5 e54fdd209a59af747eb78dbf6de42166
BLAKE2b-256 f1fb07ac7c15bf0ce19349aef0b8c00cc2af21a5d73c72bb16b56147783c0395

See more details on using hashes here.

File details

Details for the file uipath_mcp-0.0.20-py3-none-any.whl.

File metadata

File hashes

Hashes for uipath_mcp-0.0.20-py3-none-any.whl
Algorithm Hash digest
SHA256 1796475bf9a23eda26f2c244cde2e28b401e9305b266d8e6281e354551962f47
MD5 e62cf80e76fd9c1459d7ddc29567dcd0
BLAKE2b-256 a6adf6b13300d2b517de72074e43903551d22c6ed52a49944788a87b421f84a2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page