uipath-mcp-python

mcp
Security Audit
Warn
Health Warn
  • License — License: MIT
  • Description — Repository has a description
  • Active repo — Last push 0 days ago
  • Low visibility — Only 7 GitHub stars
Code Pass
  • Code scan — Scanned 12 files during light audit, no dangerous patterns found
Permissions Pass
  • Permissions — No dangerous permissions requested
Purpose
This SDK provides a Python toolkit for building, packaging, and hosting local Model Context Protocol (MCP) servers on the UiPath automation platform.

Security Assessment
Overall Risk: Medium. The code scan of 12 files found no dangerous patterns, hardcoded secrets, or excessive permissions. However, the CLI inherently interacts with the operating system to build packages (`pack`) and executes local scripts (`run`). Additionally, it requires authenticating with the UiPath platform and makes network requests to deploy packages to UiPath Orchestrator. While the code itself is safe, the tool handles platform credentials and project packaging, which warrants standard caution.

Quality Assessment
The project is well-structured and actively maintained, with the most recent repository push occurring today. It uses a permissive MIT license and includes clear, comprehensive documentation and contribution guidelines. Community trust is currently low due to minimal public visibility, having only 7 GitHub stars, though this is normal for a relatively new or niche enterprise utility.

Verdict
Safe to use, though developers should expect to handle enterprise platform credentials securely during deployment.
SUMMARY

Build and host Coded MCP Servers within UiPath

README.md

UiPath MCP Python SDK

PyPI downloads
PyPI - Version
Python versions

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 pyproject.toml must include:

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

Example:

description = "Your package description"
authors = [{name = "Your Name", email = "[email protected]"}]

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.

Reviews (0)

No results found