Snapback MCP Server
Diagnose why an AI agent failed and get the verified fix instantly. Free, no token.
Snapback scores 51 (Fair), with no SPDX license recorded and written in Python. It can be reached as a remote MCP endpoint. It declares 5 tools. Filed under Uncategorized. GitHub shows 0 stars. Install configs are generated for 12 clients. Being listed in the registry is not the same as being vendor-official.
Fair trust
51 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- No license recorded.
License, quality and maintenance
Quality: Grade A
90/100 for listing completeness. Lost points: short summary, no docs link.
How quality is graded
Where the 51 comes from
22 + 15 + 0 + 0 + 4 + 10 = 51. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 15 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 0 of 20 points.A clear, OSI-style open-source license.
License: 0 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 10 of 10 points.Install
Pick your client, copy the config, paste it in.
Remote auth: No sign-in detected. Our check reached the endpoint without being asked for credentials. Some servers only check keys after connecting, so follow the provider's setup notes. Security tips
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "ra1labsworkx-wq-snapback-selfheal": { "url": "https://api.snapback.sh/mcp" } }}
Environment variables
This server does not declare environment variables.
Tools5Tool docs quality grade D
All capabilitiesbudget_guardtoolcatch token / step / context / cost overruns mid-run.
detect_looptoolcatch a repeating tool-call loop mid-run before the step limit.
a cryptic infra error → its family + the verified fix (library-first, ~150ms, no LLM on a hit). 46 families.
diagnose_tracetoolfull multi-step trace diagnosis (metered).
what_others_didtoolanonymized cross-agent outcomes for a failure class.
About
Snapback self-heal interceptor for OpenClaw
mcp-name: io.github.ra1labsworkx-wq/snapback
Make Snapback automatic. Instead of remembering to call the diagnosis tool, wrap your agent's tool calls once — and every error is auto-diagnosed, and gated-safe fixes are applied and retried without a human.
"Power tools are optional. Infrastructure is not." This turns Snapback from a tool you reach for into infrastructure that runs on every failure.
Connect the MCP server
Snapback is a hosted remote MCP server — nothing to run locally. Add it to any MCP client (Claude Code, Cursor, Cline, VS Code, Windsurf). Most tools are free and need no token.
{
"mcpServers": {
"snapback": {
"url": "https://api.snapback.sh/mcp"
}
}
}
Endpoint: https://api.snapback.sh/mcp (Streamable HTTP, JSON-RPC 2.0). Then call tools/list (23 tools) and try
diagnose_infra_error with {"error": "dns nxdomain servfail"} → family: dns-tls + a verified fix.
Tools
Free (no token): diagnose_infra_error, detect_loop, budget_guard, search_docs, what_others_did,
recommend_failover, cascade_root, suggest_budget_recovery, convert_trace, preflight, session_start,
session_step, session_end, discovery.
Metered (free starter token or x402): diagnose_trace, diagnose_batch, get_verdict, submit_feedback,
report_outcome, request_pattern, my_usage, my_impact, agent_memory.
- diagnose_infra_error — a cryptic infra error → its family + the verified fix (library-first, ~150ms, no LLM on a hit). 46 families.
- detect_loop — catch a repeating tool-call loop mid-run before the step limit.
- budget_guard — catch token / step / context / cost overruns mid-run.
- what_others_did — anonymized cross-agent outcomes for a failure class.
- diagnose_trace — full multi-step trace diagnosis (metered).
What it does
On any tool-call error, the interceptor:
- Calls
diagnose_infra_error(free, no token, no LLM, <150ms). - Applies the three-factor gate — auto-apply a fix only when all are true:
confidence >= 0.85source == "library"(a curated verified fix, not an LLM guess)auto_safe == true(the fix isretry/refetch/config— reversible, side-effect-free)
- If the gate passes → applies the fix and retries once. If it fails → escalates to a human (logs the
verdict). It never auto-applies a
mutateordestructivefix (create/change state, money, auth grants).
It fails closed: when unsure, it escalates rather than acting.
Install
# no install needed beyond the stdlib; drop the file in, or:
cp snapback_interceptor.py your_agent/
export SNAPBACK_MCP=https://api.snapback.sh/mcp # default; the free tools need no token
Use
from snapback_interceptor import SnapbackInterceptor
heal = SnapbackInterceptor(
auto_apply=True,
on_escalate=lambda v: my_ops_inbox.log(v), # human sees non-auto-safe verdicts
on_heal=lambda v: metrics.count("snapback.autoheal", family=v["family"]),
)
# wrap any call that might raise:
result = heal.run(call_solana_rpc, wallet, amount)
# or as a decorator:
@heal.guard
def call_solana_rpc(wallet, amount): ...
# or manually on a caught error:
verdict = heal.diagnose("BlockhashNotFound")
if verdict["gate"]["auto_apply_ok"]:
...apply verdict["fix"] and retry...
The gate contract (returned by Snapback)
diagnose_infra_error returns {matched, family, fix, confidence, source, action_class, auto_safe, gate}.
action_class is one of:
| class | meaning | auto-safe? |
|---|---|---|
retry | re-run with backoff (idempotent) | ✅ |
refetch | re-fetch/re-price/re-sync then re-apply | ✅ |
config | client-side param change (raise max_tokens, serve intermediate cert) | ✅ (to suggest) |
mutate | creates/changes external state, money, auth | ❌ escalate |
destructive | deletes/reverts/irreversible | ❌ never |
Defense in depth (1.8.3): even a reversible-class fix is down-graded to escalate if its text contains a
destructive command (delete a pod, flush keys, drop a table). The gate returns gate.contains_destructive_step,
so a fix can never auto-run a state-destroying step regardless of its action_class.
gate.auto_apply_ok is the ready-made verdict; the interceptor also re-derives it locally so a stale client
can't over-trust.
Privacy & safety
- 100% client-side. Talks only to the free public
diagnose_infra_errorendpoint. - Never sends your Snapback token for the diagnosis (diagnosis is free).
- Snapback scrubs trace content server-side; this sends only the error string you pass.
- Composes with
bridge.py(post-mortem forwarding) — this is the live auto-heal layer.
Roadmap
submit_feedbackon the retry outcome (did the fix work?) → feeds the shared library (the network effect).- Hermes + LangChain adapters (same gate, different framework hook).
Frequently asked questions
What is Snapback MCP Server?
Diagnose why an AI agent failed and get the verified fix instantly. Free, no token.
How do I install Snapback MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. Snapback MCP Server connects to the remote endpoint https://api.snapback.sh/mcp, so there is nothing to install locally.
Does Snapback MCP Server support remote (HTTP) connections?
Yes. Snapback MCP Server offers a hosted endpoint over Streamable HTTP, so HTTP-capable clients can connect to it without running anything locally.
What tools does Snapback MCP Server provide?
Snapback MCP Server provides 5 tools, including budget_guard, detect_loop, diagnose_infra_error, and diagnose_trace. See the full tool list for descriptions and parameters.
How is Snapback MCP Server's trust score calculated?
Snapback MCP Server scores 51 out of 100 (Fair). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.