crossroute-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| CROSSROUTE_CONFIG | No | Path to the JSON config. When unset, ./config.json is used if that file exists; otherwise ~/.config/crossroute-mcp/config.json. | |
| CROSSROUTE_TIMEOUT_SEC | No | HTTP timeout in seconds. Default: 120. | 120 |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
stdio MCP server. Call list_routes, then complete with route and prompt. Each client can remember its preferred route and model. Pass reasoning_level as unified: none|minimal|low|medium|high|xhigh|max. temperature is optional; some reasoning models reject it. A local safety scan blocks prompts with personal data, secrets, contracts, or unpublished financial figures; prompt and response bodies are not persisted.
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 |
|---|---|
| list_routesA | List configured upstream routes (name, protocol, defaults). Does not expose API keys or env values. Includes safety mode summary. |
| completeA | Call a named upstream route to generate text. Params: route (required), prompt (required), optional system, model, reasoning_level (none|minimal|low|medium|high|xhigh|max), max_tokens, temperature (only sent if provided; some reasoning models reject it). Locally blocks prompts containing PII, secrets, contract bodies, or unpublished financial figures before any network call. Returns JSON: {ok, route, protocol, model, reasoning_level, text, usage?, error?, safety_blocked?, suggest_local_fallback?, attempted_routes?, cross_route_used?}. If ok=false and suggest_local_fallback=true (timeout, overload, empty, or upstream error), the caller can finish with its own model. safety_blocked means do NOT fall back with the same sensitive prompt. Optional cross_route (default true): when the intent model matches config cross_route_fallbacks, failed entry route retries other sites with the SAME model; set false to pin to one route. |
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 2 tools
The two tools serve clearly separate purposes: list_routes is a read-only discovery call, while complete performs the actual generation against a named route. The only friction is the bare name 'complete', which alone would be vague, but the description and the paired discovery tool make selection unambiguous.
Both names are snake_case lowercase verbs, so the surface is readable. However, list_routes follows a verb_noun pattern while complete is a bare verb with no object, so the two names do not form a predictable pair (e.g., list_routes / call_route would be more consistent).
Two tools is thin for a routing/gateway server, but the scope is deliberately narrow: discover routes, then invoke one. It sits at the borderline where the surface is defensible yet feels minimal rather than well-scoped.
The core lifecycle (discover routes, call a route) is covered, and the rich response envelope handles failure paths. Notable gaps remain: no per-route detail/health or availability check, no model/route status inspection, and no way to validate config despite the tool advertising fallback and safety-mode behavior.