Repository navigation
MCP Builder
The MCP Builder creates an MCP server by describing it, instead of developing and hosting one. You declare a set of tools — each one a templated HTTP call onto a Connection you already configured — and the platform publishes them as an MCP server it hosts for you.
Once published it is indistinguishable from an external MCP server for the rest of the platform: same assignment to agents, same tool list, same behaviour in chat.
| MCP Servers | MCP Builder | |
|---|---|---|
| What it does | Registers a server that already exists somewhere else | Creates a new server from a description |
| Who hosts it | The third party, or you | XRCopilotLab |
| What you provide | Address and credentials of the server | The tools you want, and a Connection to reach the system |
Use MCP Servers to plug in something that exists. Use MCP Builder when the system you want to reach has an HTTP API but nobody has written an MCP server for it.
A tool always references a Connection by id: the Connection carries the base URL, the default headers and the credentials. The builder never sees or asks for a secret, and it cannot create a Connection for you.
So the order is: Connections → MCP Builder → assign to an agent. If no webhook Connection exists yet, create it first (see Connections) and test it there.
You can write the tools yourself in advanced mode, but the intended path is the MCP Buddy — an assistant that asks what it needs and produces the tools for you.
- MCP Builder → + Create new, give the server a name.
- Ask the MCP Buddy and describe the system in plain words: which Connection points at it, and what the agents must be able to do with it.
- The Buddy asks one thing at a time — endpoints, parameters, what comes back — and infers the rest (HTTP method, headers, status codes) stating what it inferred.
- When it is done it proposes the whole set of tools. Nothing is saved automatically: you review it, then use it.
- Save, then test each tool, then Publish.
Each verb you describe becomes one tool. The tool description is what the agent reads to decide whether to call it, so it is worth a clear sentence rather than a label.
Along with the tools, the Buddy writes the server's suggested prompt for agents: when to call which tool and in what order, the parameters easy to get wrong, how to read the responses, and what that server does not cover. It is the moment it knows those tools better than anyone — it has just designed them. The proposed text appears in the builder and stays editable before publishing, like the tools; delete it if you do not want it, since the field is optional. What that prompt then does when the server is connected to an agent is described in Administrator-Guide → Suggested prompt for agents.
The Buddy will refuse cases outside this matrix rather than produce a tool that fails at runtime — but it is useful to know the boundary before you plan an integration.
| Case | Supported |
|---|---|
| REST/JSON, GraphQL | Yes |
| SOAP / XML-RPC | Yes — the XML response is converted to JSON before the transform |
| CSV or delimited text over HTTP | Yes — parsed in the transform |
| Self-signed certificate on the target | Yes — the Connection has an option for it |
| Basic / Bearer / API key / custom header / OAuth2 | Yes |
| On-premise reachable only over plain HTTP | No — only https outside development |
| Hostname resolving to a private IP (VPN, split-horizon) | No — blocked by the SSRF guard |
| NTLM / Kerberos authentication | No |
| mTLS with our client certificate | No |
| gRPC, direct database, SFTP / file share, MQ / AS2 | No — not HTTP |
Outbound calls are capped at 30 seconds and the response body at 1 MiB, regardless of how the target behaves.
Each tool has a Test this tool button that builds a form from the tool's parameters and performs the call for real. The test runs the same chain as a live invocation — authentication, SSRF guard, timeout — so what works in the test works in chat.
The test needs the server to be saved first: it loads the definition from the database by id.
A tool can use the identity of the person talking to the agent, to filter data per user — "everyone sees their own tickets", "assign it to whoever is asking". Two placeholders are reserved for this and filled by the platform, never by the caller:
-
{{user_id}}— the id of the user talking to the agent -
{{user_email}}— their email
Two consequences worth knowing:
- A tool cannot declare parameters with those names. They are reserved: accepting them would let the caller impersonate another user, so the validator rejects the server.
- When a server uses them, the builder warns you before publishing: from that moment the identity of each user reaches the third-party system. It is a decision to take deliberately.
Publish registers the server among the available MCP servers. From there you assign it to an agent exactly like any other MCP server, from the agent's knowledge.
Publishing also issues a key dedicated to that server: it is what the platform uses to authenticate to its own gateway. You do not need to handle it — it is stored hashed and can be rotated by publishing again.
Publishing also registers the suggested prompt for agents with the server, and republishing realigns it to what is in the builder.
Editing a published server and saving does not re-publish it: publish again when you want the change to reach the agents.
Download project produces a self-contained Node/TypeScript project implementing the same server: sources, manifest, an .env.example and the instructions to run it. Use it when you want to start from a description but then host and evolve the server yourself.
The exported project has no runtime dependencies beyond Node, and it carries the tool definitions — not your credentials, which stay in the Connection.
© Hevolus Innovation · XRCopilot · Maintained by the XRCopilot team.
Getting Started
API
SDKs
Webhooks & Integrations
- Agent Task Webhooks
- Connections & Action Steps
- Integration Templates
- Authenticated Embed
- Microsoft Agent 365
- Microsoft Teams Notifications
No-code Builders
Orchestrators
Processes
Administration
Reference