How To Pack Binary¶
This guide explains how to manually package and publish the official GitHub MCP server to UiPath Orchestrator. For automation, see the example GitHub Actions workflow.
Attention
To build binary MCP servers locally, your environment must match UiPath's serverless runtime architecture (Ubuntu 64-bit AMD64). On other operating systems, use the GitHub Actions workflow described in the Automating with GitHub Actions section below.
Prerequisites¶
- UiPath Automation Cloud account
- UiPath personal access token
go
(version 1.21+)python
(version 3.11+)uv
package manager (pip install uv
)
Steps¶
1. Clone and Build the GitHub MCP Server¶
2. Create Package Directory¶
3. Create Configuration Files¶
Create the following files in the mcp-package directory:
-
mcp.json
- Server configuration: -
pyproject.toml
- Project metadata:
4. Set Up Python Environment¶
5. Authenticate With UiPath¶
🔗 If a browser window did not open, please open the following URL in your browser: [LINK]
👇 Select tenant:
0: Tenant1
1: Tenant2
Select tenant number: 0
Selected tenant: Tenant1
✓ Authentication successful.
6. Initialize UiPath Package¶
✓ Created '.env' file.
✓ Created 'uipath.json' file.
Edit the generated uipath.json
to include the executable:
7. Package for UiPath¶
Name : mcp-github-server
Version : 0.0.1
Description: Official GitHub MCP Server
Authors : John Doe
✓ Project successfully packaged.
8. Upload to UiPath Orchestrator¶
✓ Package published successfully!
Automating with GitHub Actions¶
To automate this process:
- Copy the example workflow to
.github/workflows/
in your repository. - Go to GitHub Actions tab and run the workflow.
- Provide the version when prompted.
- Download the artifact after completion.
The workflow handles all the manual steps automatically, including the crucial modification of uipath.json
to include the executable in the package.