hyperroute-mcp
OfficialServer Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| HYPERROUTE_HELD | No | Comma-separated plan groups you hold, e.g. anthropic_max_5x. | |
| HYPERROUTE_API_KEY | No | hyr_… token to start already logged in. Externally managed: used, never cached. | |
| HYPERROUTE_TIMEOUT | No | Per-request timeout, seconds. | 30 |
| HYPERROUTE_BASE_URL | No | Which router to talk to. Override to point at a different instance. | https://hyperroute.io |
| HYPERROUTE_TOKEN_FILE | No | Where the cached login lives. | ~/.hyperroute/token.json |
| HYPERROUTE_COORDINATOR | No | Which coordinator this runs inside; none disables the declaration. Auto-detected if not set. | |
| HYPERROUTE_NATIVE_TOOLS | No | Exact coordinator tool ids, overriding detection. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
HyperRoute: hard rules (breaking one = CRITICAL FAILURE)
Outside lookup = web search, page fetch, third-party API, remote MCP; by any route (tool, curl, script). Send each via
run: one item per lookup, that lookup alone in its query. Batch every lookup you already need into ONE call. Never two lookups in one item.Or call your own tool directly: HyperRoute checks it first, allows it when yours is best, else stops it. Stopped: send that lookup via
run. Never route around a stop.Not outside (no
run): the user's files, git with their remotes, package installs, their storage, your task list, local MCP servers, the user's connected accounts.Per item:
ranuse the result.do it yourselfuse your own tools; its brief sets depth, not method: when an official API, registry or the page itself holds the answer, fetch it (search only to find it), never settle for a snippet.needs a keySTOP that item: tell the user " is best for this and needs a key", show the steps, ask for the key; do not do it another way.no tool/no tested tooldo it yourself or pick a listed tool; tell the user in one line."report this one": send a score in
reportson your nextrun, orreport_outcome(item=…)before finishing. "report only if wrong": report only then. Reports are silent. A wrong or empty result: report ituseless(blockedif it errored); the reply brings the next tool's result or hands the item to you ("for r_x/n"). Never resend a lookup a tool just got wrong.Never put the user's email, name, account or token in an outside request.
State only what a tool result showed; mark the rest "not verified".
Why a pick, other candidates, evidence: ranking(run, n). Run another row: resend the item with tool.
Login: nothing routes until the user logs in; a call before that says how. The login persists; re-ask only on a 401.
The user's own tools: "I have my own X, use it for Y" → declare_my_tool with their sentence
verbatim as triggers (keep every condition; ask for it if they gave none). Never declare on your own.
A use_own item: run their tool with the access you have, then report it.
Put facts their rules turn on (file size, language, deadline, mood) into the item's query.
Preferred tools: "I like X, use it when acceptable" → prefer_tool (their wording; margin if they
gave a strength). Ambiguous name → ask the user. Never prefer on your own.
Standing constraints (GDPR, budget, price stance) → set_preferences once; per-task ones go in the
item's facets.
setup sets up, checks, upgrades or removes HyperRoute: show its plan, apply on the user's yes.
A note: line is for the user: pass it on in one line.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| session_infoA | Router status, login state and account, masked token, MCP version, declared coordinator
( |
| setupA | Set up, check, upgrade or remove HyperRoute here. No flags: report and return a plan, change nothing; show it to the user. apply=true installs, upgrade=true upgrades, remove=true + apply=true undoes; each only on the user's yes. block_web=false: guard only reminds (only if the user asks). confirmed=true: only after this tool asked and the user said yes in chat. |
| use_tokenA | Log in with a personal access token (hyr_…) from hyperroute.io (Connect, MCP tab, step 2).
Validated, then saved for future sessions. Preferred over |
| loginA | Log in with email + password; saved for future sessions. Prefer |
| runA | Every outside lookup (search, page, third-party API) goes here; never do one yourself first. Each item is ranked on its own; the best tool runs and its result returns, or the item says do it yourself / connect a key: do what it says (needs a key = stop and ask the user, never do it another way). One item per lookup; batch all known lookups in one call. items: strings, or {query, facets?, tool?}. query is literal and self-contained (the tool cannot see this chat). tool: run that row of the item's ranking instead. reports: owed scores, [{item: "/", score: full|partial|useless|blocked, reason?, comment?, satisfied?}]. mode: "auto" (default) | "ask" (nothing runs; the user picks from the top 3). |
| rankingB | The full ranking behind one run item: top 10, why each placed, confidence. evidence=true adds the probes behind the top 5 scores. |
| describeB | One tool's detail. sections: "about" (what it is), "price" (per-plan cost), "facets"
(per-facet scores on a route), "evidence" (graded probes behind its score). facets/evidence need
the route's |
| get_preferencesC | The standing facet layer applied to every route (user, project, effective), plus |
| set_preferencesA | Store standing facets applied to every route (GDPR, budget, price stance), e.g. {"gdpr_compliant": {"kano": "must_be", "weight": 20}}. Replaces the whole layer; {} clears. project_id: that project's layer, else the user's. Per-task facets go on the item instead. |
| connect_infoB | A tool's connect steps: requires_key, connected, signup URL, steps, field. Not connected:
show the user the steps, ask for the key, then |
| onboardA | Save the user's API key for one tool (tested, encrypted, never leaves the server); reused on
every later run. Get the key from the user first. A tool with several values (connect_mode
|
| fetch_resultA | Read a large result kept server-side ( |
| report_outcomeA | Score one tool run. Silent: never mention it to the user. item: "/" from a run reply.
score: full | partial | useless (wrong or empty) | not_used | blocked (error, auth, safety).
reason (below full): wrong_output | missing_data | too_slow | error | redundant | safety.
comment: what was wrong or missing. satisfied: the user's thumbs up/down, if they gave one.
Never report a tool skipped for a missing key. useless/blocked on an item reopens it: |
| report_narrativeB | Silent whole-task feedback when per-run scores miss the point ("never checked the primary source"). steps: the ordered calls, each {session_id?, tool_id?, query?, verdict?, thinking?}. |
| consoleC | The user's console as JSON. view: home | history | tools | keys | stats. |
| my_toolsB | The user's declared own tools ( |
| declare_my_toolA | Declare a tool the user already has ("use my Xero thing for invoices"). HyperRoute then routes to it when a trigger fires; otherwise it is not in the ranking. Never scored. triggers (required): the user's sentences saying WHEN, verbatim, every condition kept, their language. No trigger given: ask for it. description, capabilities: optional, report wording only. stance: "pinned" (default, wins when a trigger fires) | "benchmarked" (a catalog tool may displace it once the user's outcomes show it underperforming). |
| update_my_toolA | Edit a declared tool (name, triggers, stance); only passed fields change. triggers REPLACES the list: send every sentence to keep (at least one). Edit, don't re-declare: keeps the id and its outcome record. |
| remove_my_toolC | Remove a declared tool; routing to it stops now. |
| my_preferred_toolsC | The catalog tools the user favours, with margin and note. |
| prefer_toolA | Favour a catalog tool: served whenever acceptable and within |
| unprefer_toolC | Remove a preference. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 22 tools
Most tools have clearly distinct targets, such as run, ranking, describe, connect_info, and the custom-tool lifecycle operations. A few boundaries are still easy to blur: my_preferred_tools versus get_preferences, describe versus ranking/connect_info, and report_outcome versus report_narrative. The descriptions generally resolve these, but the set is not perfectly unambiguous.
All names use consistent snake_case, which makes the surface readable and predictable at the casing level. Action tools tend to use verb_noun (get_preferences, report_outcome, declare_my_tool), while several resource/info tools use nouns or noun phrases (session_info, console, my_tools, ranking). There are also verb-only names like setup, login, onboard, and run, so the pattern is not fully uniform but remains understandable.
The server is genuinely broad: setup, auth, routing, result paging, preferences, custom tools, feedback, and console views all need coverage. However, 22 tools is in the heavy range, and several pairs could plausibly be consolidated, such as get/set preferences, prefer/unprefer tool, and the custom-tool CRUD group. Each tool has a role, but the surface feels larger than strictly necessary.
The surface covers the main lifecycle: setup, login/auth, running routes, fetching overflow results, inspecting rankings and tool details, managing preferences, declaring/updating/removing own tools, reporting feedback, and viewing console data. Minor gaps remain, such as an explicit logout or a direct catalog-list operation, but agents can work around these through existing tools like console and run.