uipath-mcp-servers
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseUiPath AgentHub MCP Servers
UiPath AgentHub MCP服务器
Register AgentHub MCP servers via . Author tools on -type servers via .
uip agenthub mcpuipathuip agenthub mcp-toolshere means an AgentHub MCP-server resource, not the MCP wire protocol. Slugs likemcp/inbox-mcpname AgentHub server registrations, not local repos.team-helper(uipath-mcp-python) is a separate server-implementation SDK — different task, see@uipath/mcp.uipath-agents
通过注册AgentHub MCP服务器,通过在类型服务器上创作工具。
uip agenthub mcpuip agenthub mcp-toolsuipath此处的指AgentHub MCP服务器资源,而非MCP有线协议。mcp/inbox-mcp这类别名是AgentHub服务器注册的名称,而非本地仓库。team-helper(uipath-mcp-python)是独立的服务器实现SDK——属于不同任务,请参考@uipath/mcp。uipath-agents
When to Use This Skill
何时使用该技能
- Create / update / delete / refresh / list / get an AgentHub MCP server (any of: ,
uipath,coded,command,remote,swagger).platform - Author resource tools on a -type server; list / get / enable / disable / delete its tools.
uipath - Skip: Python MCP server implementation (FastMCP / ) →
@uipath/mcp.uipath-agents
- 创建/更新/删除/刷新/列出/获取AgentHub MCP服务器(支持类型:、
uipath、coded、command、remote、swagger)。platform - 在类型服务器上创作资源工具;列出/获取/启用/禁用/删除其工具。
uipath - 跳过:Python MCP服务器实现(FastMCP / )→ 请参考
@uipath/mcp。uipath-agents
Trust the CLI
信任CLI工具
The CLI is the source of truth for shapes and flags. Use it instead of guessing:
- — payload shape for any server type.
uip agenthub mcp create <type> --print-schema --output json - — ready-to-edit
uip agenthub mcp template <type> --output jsonskeleton.--file - — resource-tool payload skeleton.
uip agenthub mcp-tools template resource --output json - — discover bindable targets.
uip agenthub mcp-tools candidates --category <kind> --output json∈<kind>.automation | agent | agentic-process | api-workflow - on every command — extract specific fields without walking JSON by hand (e.g.
--output-filter <JMESPath>).--output-filter "Data.items[].slug" --output plain - on every mutating call — resolve and inspect the body before POST. Note:
--dry-runskips some server-side validation, so a clean dry-run is not a guaranteed real POST.--dry-run
CLI是参数格式和标志的权威来源,请使用它而非自行猜测:
- —— 获取任意服务器类型的请求体格式。
uip agenthub mcp create <type> --print-schema --output json - —— 获取可直接编辑的
uip agenthub mcp template <type> --output json模板骨架。--file - —— 获取资源工具的请求体模板骨架。
uip agenthub mcp-tools template resource --output json - —— 发现可绑定的目标。
uip agenthub mcp-tools candidates --category <kind> --output json可选值:<kind>。automation | agent | agentic-process | api-workflow - 所有命令支持—— 无需手动遍历JSON即可提取特定字段(例如:
--output-filter <JMESPath>)。--output-filter "Data.items[].slug" --output plain - 所有变更类调用支持—— 在发送POST请求前解析并检查请求体。注意:
--dry-run会跳过部分服务端验证,因此成功的预执行不代表实际POST请求一定会成功。--dry-run
Critical Rules
关键规则
These are the things the CLI does not advertise in .
--help-
Slug regex. Backend enforces, length 3-50. Lowercase, digits, hyphens — no underscores, dots, or uppercase. CLI validates client-side before POST.
^[a-z0-9-]+$ -
Folder context is required on every AgentHub call. PassOR
--folder-path <name>, never both. Exception:--folder-key <guid>spans every folder you can see (mutually exclusive with the folder flags; folders without AgentHub permission are skipped with amcp list --all-foldersline) — use it to locate a server when its folder is unknown, then pass that folder explicitly on every follow-up call (Warningverbs have nomcp-tools).--all-foldersresolves via Orchestrator SDK. Personal workspace folders (--folder-path) do NOT resolve by name — use<user>@<tenant>'s workspace. Common names (--folder-key <guid>) can be ambiguous across nested folders; the CLI returns the candidate list with GUIDs — pick one and re-run withShared. Discover GUIDs via--folder-key.uip or folders list --output jsonalways requiresrefresh-toolsspecifically (endpoint is--folder-key)./mcp/{folderKey}/{slug}/refresh-tools -
Verify after every mutation. After/
create/update/delete, re-list (refresh-tools,mcp list) ormcp-tools list --mcp <slug>and confirm the expected state.mcp get <slug> -
behavior depends on server type.
refresh-tools- /
coded— async, returns HTTP 202 + runtime id. Surface the runtime id; never claim refreshed before a follow-upcommandconfirms.mcp-tools list --mcp <slug> - /
remote/platform— sync, returns 200 after a synchronous fetch+upsert.swagger - /
uipath— rejected locally; resource tools are manually authored viaselfhosted. CLI emits amcp-tools create-resourcehint to author instead.NextCommand
-
looks up by slug, not GUID. Passing a GUID returns 404.
mcp delete
这些是CLI的未提及的内容。
--help-
Slug正则规则:后端强制要求格式为,长度3-50字符。仅允许小写字母、数字和连字符——不允许下划线、点或大写字母。CLI会在POST请求前在客户端进行验证。
^[a-z0-9-]+$ -
每次AgentHub调用都需要文件夹上下文:必须传递或
--folder-path <name>,不可同时传递。例外情况:--folder-key <guid>会遍历所有你有权限查看的文件夹(与文件夹标志互斥;无AgentHub权限的文件夹会以mcp list --all-folders行提示并跳过)——当不知道服务器所在文件夹时可使用该命令定位,之后在所有后续调用中明确传递该文件夹(Warning命令不支持mcp-tools)。--all-folders通过Orchestrator SDK解析。个人工作区文件夹(--folder-path)无法通过名称解析——需使用<user>@<tenant>'s workspace。通用名称(如--folder-key <guid>)在嵌套文件夹中可能存在歧义;CLI会返回候选列表及GUID——选择其中一个并使用Shared重新运行。可通过--folder-key获取GUID。uip or folders list --output json始终需要特定的refresh-tools(接口为--folder-key)。/mcp/{folderKey}/{slug}/refresh-tools -
每次变更后进行验证:在执行/
create/update/delete后,重新执行列表命令(refresh-tools、mcp list)或mcp-tools list --mcp <slug>,确认状态符合预期。mcp get <slug> -
的行为取决于服务器类型:
refresh-tools- /
coded—— 异步操作,返回HTTP 202及运行时ID。需展示该运行时ID;必须在后续执行command确认后,才能声称刷新完成。mcp-tools list --mcp <slug> - /
remote/platform—— 同步操作,完成同步获取+更新后返回200。swagger - /
uipath—— 本地拒绝;资源工具需通过selfhosted手动创作。CLI会提示下一步创作命令。mcp-tools create-resource
-
通过slug而非GUID查找:传递GUID会返回404。
mcp delete
Server Types
服务器类型
uip agenthub mcp create--name <display>--slug <kebab>--description--version--file--body--print-schema--dry-run--folder-path--folder-key--tenant--login-validity| Type | Differentiating flag | When to use | Tool surface |
|---|---|---|---|
| (none) | AgentHub-hosted server you'll fill with resource tools. | Authored via |
| | Wrap an existing coded-agent process (published to Orchestrator) as an MCP server. | Discovered via |
| | Spawn a local subprocess as an MCP server. | Discovered via |
| | Point at an existing HTTP MCP server. Bearer/header values can be Orchestrator asset references; | Discovered via |
| | Bind to a first-party UiPath service. | Discovered via |
| | Register an OpenAPI/Swagger spec as MCP tools. Same asset substitution as | Discovered from the spec via |
Headers/auth on and are payload fields, not scalar flags. Read the shape from (or ), submit via or .
remoteswagger--print-schematemplate <type>--file <payload.json>--body '<json>'mcp update <slug>create <type>mcp get <slug> --output jsonmcp template <type>process-assistantselfhostedcreateuip agenthub mcp create--name <display>--slug <kebab>--description--version--file--body--print-schema--dry-run--folder-path--folder-key--tenant--login-validity| 类型 | 差异化标志 | 使用场景 | 工具来源 |
|---|---|---|---|
| 无 | 由AgentHub托管、需填充资源工具的服务器。 | 通过 |
| | 将已发布到Orchestrator的现有编码代理流程包装为MCP服务器。 | 通过 |
| | 将本地子进程作为MCP服务器启动。 | 通过 |
| | 指向已有的HTTP MCP服务器。Bearer/Header值可引用Orchestrator资产; | 通过 |
| | 绑定到UiPath官方服务。 | 通过 |
| | 将OpenAPI/Swagger规范注册为MCP工具。资产替换逻辑与 | 通过规范解析发现(同步返回200)。 |
remoteswagger--print-schematemplate <type>--file <payload.json>--body '<json>'mcp update <slug>create <type>mcp get <slug> --output jsonmcp template <type>process-assistantselfhostedcreateResource Tools (uipath
-type servers only)
uipath资源工具(仅uipath
类型服务器)
uipathRun . Flags: (parent server), , , / (resolve target via RCS), / (MCP server folder context), / (the Orchestrator resource's folder when it differs from the server's; resolves to the tool's ; never both; omit to default to the candidate's folder () or the server folder; the explicit flag wins, including over a / payload field), , , , , (default) / , /, .
uip agenthub mcp-tools create-resource--mcp <slug>--name--description--target-identifier <guid>--target-name <name>--folder-key <guid>--folder-path <name>--target-folder-key <guid>--target-folder-path <name>targetFolderKey--target-name--file--body--category--input-schema--output-schema--metadata--continue-on-error--fail-fast--file--body--dry-run| Kind | Discovery | Validation | When to use |
|---|---|---|---|
| | Resource schema | Bind an Orchestrator resource. Pass |
Stringify / / as scalars (not ). Build each JSON in a file and pass it as (likewise input/output schema) — do not assemble multi-KB JSON inline in the command. Pass when the underlying target has no response fields — empty string is rejected with .
--metadata--input-schema--output-schema--file--metadata "$(jq -c . metadata.json)"--output-schema "{}"Unexpected end of JSON inputOther verbs (, , , , , ) are self-documenting via . Use them for the Critical Rule 3 verify step. also accepts / : retargeting via defaults the tool's to the server folder — pass the explicit flag when the new target lives elsewhere (wins over the default and over a / payload field).
mcp-toolslist --mcp <slug>getenabledisabledeleteupdate--helpupdate--target-folder-key--target-folder-path--target-identifiertargetFolderKey--file--body执行。参数包括:(父服务器)、、、 / (通过RCS解析目标)、 / (MCP服务器的文件夹上下文)、 / (当Orchestrator资源的文件夹与服务器不同时使用;会设置工具的;不可同时传递;省略则默认使用候选资源的文件夹()或服务器文件夹;显式标志优先级最高,包括覆盖/请求体字段)、、、、、(默认)/、/、。
uip agenthub mcp-tools create-resource--mcp <slug>--name--description--target-identifier <guid>--target-name <name>--folder-key <guid>--folder-path <name>--target-folder-key <guid>--target-folder-path <name>targetFolderKey--target-name--file--body--category--input-schema--output-schema--metadata--continue-on-error--fail-fast--file--body--dry-run| 类型 | 发现方式 | 验证方式 | 使用场景 |
|---|---|---|---|
| | 资源 schema | 绑定Orchestrator资源。传递 |
将//序列化为标量(而非通过)。在文件中构建每个JSON,然后通过传递(输入/输出 schema同理)——请勿在命令行中手动拼接多KB的JSON。当底层目标无响应字段时,传递——空字符串会被拒绝并提示。
--metadata--input-schema--output-schema--file--metadata "$(jq -c . metadata.json)"--output-schema "{}"Unexpected end of JSON input其他命令(、、、、、)可通过查看说明。可用于关键规则3的验证步骤。也支持/:通过重新定位时,工具的默认设为服务器文件夹——当新目标位于其他位置时,需传递显式标志(优先级高于默认值和/请求体字段)。
mcp-toolslist --mcp <slug>getenabledisabledeleteupdate--helpupdate--target-folder-key--target-folder-path--target-identifiertargetFolderKey--file--bodyTroubleshooting (generic)
通用故障排查
- HTTP 400 with no detail — re-run with to inspect the resolved body. CLI surfaces ASP.NET ProblemDetails as an
--dry-runfield listing per-field validation failures.Errors - — switch to
InvalidFolderKey: "--folder-key requires a GUID; use --folder-path for folder names".--folder-path <name> - — personal workspaces are unresolvable by name; pass
No folder named '<personal workspace>' was found. Did you mean: Shared?(Critical Rule 2).--folder-key <guid> - — drop one.
ConflictingInput: "Pass either --folder-path or --folder-key, not both." - Slug rejected with validation error — backend enforces , length 3-50 (Critical Rule 1).
^[a-z0-9-]+$ - returns 404 —
mcp delete <guid>looks up by slug, not GUID (Critical Rule 5).mcp delete - returns 202 with a runtime id —
refresh-tools/codedrefreshes are async (Critical Rule 4). Surface the runtime id; verify via follow-upcommand.mcp-tools list --mcp <slug>
- HTTP 400无详细信息 —— 添加重新运行以检查解析后的请求体。CLI会将ASP.NET ProblemDetails作为
--dry-run字段展示,列出每个字段的验证失败信息。Errors - —— 切换为
InvalidFolderKey: "--folder-key requires a GUID; use --folder-path for folder names"。--folder-path <name> - —— 个人工作区无法通过名称解析;需传递
No folder named '<personal workspace>' was found. Did you mean: Shared?(关键规则2)。--folder-key <guid> - —— 删除其中一个参数。
ConflictingInput: "Pass either --folder-path or --folder-key, not both." - Slug被验证错误拒绝 —— 后端强制要求格式为,长度3-50字符(关键规则1)。
^[a-z0-9-]+$ - 返回404 ——
mcp delete <guid>通过slug而非GUID查找(关键规则5)。mcp delete - 返回202及运行时ID ——
refresh-tools/coded类型的刷新是异步操作(关键规则4)。需展示运行时ID;通过后续执行command进行验证。mcp-tools list --mcp <slug>