The bridge, for MCP server authors
Every MCP server a person configures in HERO is reached through one MCP client, the bridge. The bridge holds one connection to your server and shares it between every agent session that is allowed to use it. To an agent, the bridge is a single MCP server that lists your tools, resources and prompts beside everyone else’s.
So your server sees the bridge, never the agent. This page covers what that looks like on the wire.
Identity
Section titled “Identity”In initialize (or server/discover), the bridge sends this clientInfo:
| Field | Value |
|---|---|
name |
HERO |
title |
HERO Bridge |
version |
The app’s version |
websiteUrl |
https://makeyourhero.com |
icons[0].src |
https://makeyourhero.com/images/mark.svg (SVG, sizes: ["any"]) |
Nothing in the app routes on name, so log it freely, but don’t key behaviour on it.
HTTP requests carry a User-Agent in the form HERO/{version} (+https://makeyourhero.com).
The _meta keys the bridge adds
Section titled “The _meta keys the bridge adds”The bridge names its own keys under com.makeyourhero/. Until the rename’s second phase, it also writes each one under its earlier io.agentmuse/ spelling with the same value, and reads either. Read the new spelling; treat the old one as a duplicate that will stop arriving.
| Key | Earlier spelling | Where | What it carries |
|---|---|---|---|
com.makeyourhero/originator |
io.agentmuse/originator |
Requests to your server | {clientInfo, clientCapabilities} of the agent that made the call |
com.makeyourhero/subscriptionId |
io.agentmuse/subscriptionId |
resources/subscribe |
The bridge’s own id for that subscription |
com.makeyourhero/progress |
io.agentmuse/progress |
The result of tasks/get, written by a server |
{progress, total} for a running task |
com.makeyourhero/workspaceRoot |
io.agentmuse/workspaceRoot |
Requests to the app’s built-in mail server only | The session’s working directory |
com.makeyourhero/additionalWorkspaceRoots |
io.agentmuse/additionalWorkspaceRoots |
Requests to the app’s built-in mail server only | The session’s other directories, when it has any |
The originator
Section titled “The originator”Because the connection is shared, the originator is the only way your server can tell which agent a call came from. It is informational. The bridge takes no routing or policy decision from it, and your server shouldn’t treat it as authentication: an agent chooses its own clientInfo.
The bridge never forwards an agent’s io.modelcontextprotocol/* lifecycle keys. Those describe the client making the request, which is the bridge. The capabilities you negotiated in the handshake are the bridge’s, and they are the ones that hold.
Trace context
Section titled “Trace context”traceparent, tracestate and baggage are relayed unchanged from the agent’s request, so a distributed trace can span agent, bridge and server.
Progress
Section titled “Progress”When an agent sends a progressToken, the bridge sends your server a token of its own and maps your notifications/progress back to the agent’s token. Progress values must increase, as MCP requires.
The bridge sets no timeout on a forwarded call. The agent’s client owns that clock.
The bridge declares the io.modelcontextprotocol/tasks extension. If your server answers a tools/call with a task, the bridge follows it with tasks/get until it finishes, then gives the agent the result. An agent that declared the extension itself gets a task of the bridge’s own for any call still running after two seconds.
While your task runs, the bridge shows its progress to the person at the screen. Report it in the _meta of your tasks/get result, under the progress key above.
If your server answers input_required, the question is shown in the app to the person whose session made the call, and their answer is sent back to you.
The earlier task design, with tasks/* methods and a capabilities.tasks slot, is not supported.
Elicitation
Section titled “Elicitation”elicitation/create from your server is answered in the app’s own interface, by the person whose session the request belongs to. Both form and URL modes are supported. For a URL prompt, accept means the person agreed to open the link, not that they finished what is behind it.
Sampling, logging and roots are not offered.
Protocol revisions
Section titled “Protocol revisions”The bridge opens each server with either MCP revision, chosen per server and remembered:
- 2025-11-25, with `initialize`. This is the default toward agents.
- 2026-07-28, with `server/discover`. Left on automatic, the bridge tries this first and keeps it only where it can hear your server's list changes there, which needs a `subscriptions/listen`.
A person can pin a server to one revision in its settings.