Route MCP capabilities through deterministic identity, policy, budget, and deadline constraints.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
One endpoint for MCP capabilities and model routesβwithout losing identity, authority, budgets, deadlines, side-effect semantics, or causal evidence between protocols.
GaugeMesh is a local-first Rust developer preview. It is deliberately narrower than a general AI gateway: every adapter must preserve declared invariants or reject the operation before a side effect. Route selection is fixed-point, deterministic, and explainable. The base deployment is one binary with memory or SQLite; it needs no hosted control plane, Redis, PostgreSQL, Docker, or Kubernetes.
Install without Rust from the checksummed, attested
GitHub Release or
run the multi-architecture GHCR image. Crates.io is not a GaugeMesh distribution
channel. The real stdio MCP server is gaugemesh mcp-stdio; its Official MCP
Registry metadata is checked in as server.json.
From a release archive:
From source with Rust 1.88 or newer:
No account, credential, provider, network target, database, container, or existing MCP server is used. The command writes no file to the caller directory.
Actual output from the 0.1.0 release binary:
search name without sharing an
authorization identity.The demo is deterministic fixture evidence, not a production-duration soak or security certification.
Inspect the route planner and its versioned decision contract independently.
The final command uses a built-in fixture in which every candidate violates a
hard constraint, so the output is a digest-bound denied decision rather than
an unsafe fallback:
GaugeMesh is an MCP server northbound and an MCP client southbound. It is an OpenAI-compatible server northbound and a client of configured compatible model providers southbound. Registry records are discovery metadata, not execution authority.
Create a strict loopback configuration:
Review and add a local stdio server. --command must resolve to an absolute
executable and is launched with an argument array, never through a shell:
add performs live discovery and writes the source only after tools, resources,
templates, prompts, server identity, and revision are readable. serve loads
reviewed sources into a bounded runtime, pins the capability snapshot, and
rejects schema drift. Tools, resources, and prompts keep source-bound opaque
identities even when readable aliases collide. Streamable HTTP sources use the
same command with a reviewed --url; Registry search/inspect/approve is a
separate trust path and never installs or executes a discovered package.
The provider must expose a compatible /v1/models endpoint. To exercise the
complete no-key setup, keep gaugemesh serve running in one terminal and add its
built-in local model route from another:
For a credentialed provider, pass the environment-variable name, not its value:
Configured routes are checked against capability, context, deadline, token, money, retry, data, and side-effect limits before selection. Cost tables are version-bound; estimates are not presented as provider billing facts.
Start the data and separately bound health listeners:
Loopback defaults are http://127.0.0.1:8090/mcp for Streamable HTTP,
http://127.0.0.1:8090/v1 for the model API, and
http://127.0.0.1:8092/healthz for health. The official MCP conformance client
connects to /mcp separately for both supported revisions. GaugeMesh also has
real RMCP integration tests as an upstream client over stdio and Streamable
HTTP. Product-specific client installers are not emitted without installation
evidence.
Point a client that supports a custom base URL at GaugeMesh:
The release gate also executes openai-python==3.6.0 against that base URL for
model listing, chat completions, and Responses. The implemented surface is
GET /models, POST /chat/completions, and POST /responses, with bounded JSON
and SSE behavior. Unknown request fields are rejected. This is a verified subset,
not complete OpenAI API compatibility.
Tool execution is off unless a request explicitly selects a GaugeMesh mode and bound:
These extension headers are not OpenAI fields. An MCP server can call /v1/*
directly for model access; deprecated MCP sampling is not silently converted.
Unsupported sampling and elicitation paths return stable errors or enter an
explicit approval backend.
Run gaugemesh route explain for the original 0.1.0 bare plan containing
accepted and rejected candidates, integer score terms, the stable tie breaker,
and policy/metric snapshot digests. Existing machine consumers retain that
shape. Opt into the versioned selected wrapper with --decision-contract.
gaugemesh route explain --deny-all returns the new contract with
status: "denied", stable
GM_ROUTE_NO_ELIGIBLE_CANDIDATE, every constraint rejection, and the snapshot
digests. Route IDs must be unique, denied candidates must carry nonblank reasons,
and candidate/reason ordering is canonical. Both selected and denied contracts
include decision_digest, a SHA-256 digest over the canonical unsigned decision
fields other than the digest itself.
The checked-in route-decision JSON Schema
documents the wire contract. Save a decision and run
gaugemesh route validate <file> to check its schema, digest, and derivable
selection/denial invariants entirely offline. The digest is unsigned and
recomputable integrity, not authentication against a party able to rewrite the
whole decision. Decisions contain route IDs and constraint reasons; validation
does not upload them, and they should be sanitized before sharing. The analogy
boundary is documented in
the physics model.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/gaugemesh)<a href="https://allmcps.com/mcp/gaugemesh"><img src="https://allmcps.com/api/badge/gaugemesh?style=directory" alt="GaugeMesh on AllMCPs" /></a>