@belal-elsabbagh-apex/copilot-mcp
Provides tools for managing and analyzing orders in UiPath Orchestrator, including cloning orders between environments, finding clone candidates, deleting pre-prod orders, building queue items, and tracing order executions to jobs.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@@belal-elsabbagh-apex/copilot-mcpClone the last PROD order to pre-prod"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
@belal-elsabbagh-apex/copilot-mcp
MCP server exposing EHR Copilot operations over stdio. Built with Bun
(bun build bundles src/ → a node-runnable dist/server.js), so it runs under either
bunx or npx. Published as a private package on GitHub Packages.
Tools
Tool | What it does |
| Mirror PROD order(s) into PRE-PROD as fresh orders (clone-only by default; |
| List recent PROD orders that will actually clone to forReview. |
| Delete order(s) from PRE-PROD (never touches prod). |
| Build a UiPath AddQueueItem request (payload + curl) from an order. BUILD ONLY — |
| Trace an order to its UiPath Orchestrator job(s) and diagnose the run. READ-ONLY. |
Related MCP server: copilot-mcp-server
Configuration
The server reads one validated config holding both the Copilot BE creds and the UiPath args. Two ways to provide it:
Single file (preferred): set
COPILOT_MCP_CONFIGto a JSON file shaped likeconfig.example.json.Split legacy files: set
COPILOT_MCP_LOCAL_DIRto a directory containingorder-copy-credentials.json+uipath-config.json(+ optionaloverrides.json).
The uipath.noteBucket / queueUrl / addQueueItemPath / serverUrlByEnv fields are only
required by build_queue_item. overrides (per-prodUid clone remaps) is optional.
Other env vars: COPILOT_MCP_DEBUG_DIR (where clone_order dumps the extracted prod
order JSON; defaults to the OS temp dir).
Local development
bun install
bun run typecheck
bun run build # bundle src -> dist/server.js (node-runnable, what npx/bunx execute)
bun run start # run from source via bun (no build needed)
bun run dev # watch modeInstalling from GitHub Packages (private)
The package is private, so installing requires a GitHub token with read:packages.
Add to the consumer repo's .npmrc:
@belal-elsabbagh-apex:registry=https://npm.pkg.github.com
//npm.pkg.github.com/:_authToken=${NODE_AUTH_TOKEN}Then export NODE_AUTH_TOKEN=<your PAT> and install:
bun add -d @belal-elsabbagh-apex/copilot-mcpWire into .mcp.json
{
"mcpServers": {
"copilot": {
"command": "npx",
"args": ["-y", "@belal-elsabbagh-apex/copilot-mcp"],
"env": {
"COPILOT_MCP_CONFIG": "/abs/path/to/config.local.json"
}
}
}
}npx and bunx are interchangeable here (the published bin, dist/server.js, is a
plain node ESM entry). Use COPILOT_MCP_LOCAL_DIR instead of COPILOT_MCP_CONFIG for
the split legacy files.
Publishing
Publishing is tag-driven. Bump version in package.json, commit, then push a matching
vX.Y.Z tag:
git tag v1.2.0
git push origin v1.2.0That one tag push fans out to two workflows (both keyed off the tag, because a
GITHUB_TOKEN-created release does not trigger other workflows):
Release on tag (
release.yml) — creates a GitHub Release with auto-generated notes.Publish (
publish.yml) — typechecks, builds, and runsbun publish --access restrictedusing the repo'sGITHUB_TOKEN(packages: write), keeping the package private. Also runnable manually via workflow_dispatch.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/belal-elsabbagh-apex/copilot-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server