Fetchsandbox MCP logo

Fetchsandbox MCP

by fetchsandbox

Stateful OpenAPI sandbox for AI agents to validate API integrations end-to-end.

Install Fetchsandbox MCP

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "mcp-292": {
      "command": "npx",
      "args": [
        "-y",
        "fetchsandbox-mcp"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Install not yet sandbox-tested— we haven't run this command through our automated sandbox yet. Not a red flag; we're working through the catalog.

Overview

Tools17

What Fetchsandbox MCP lets your agent do. Expand a tool for its parameters.

Self-reported~340 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked 3d ago

Recent health check succeeded.

6/6 checks healthy over the last 41d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 15d ago via OSV.dev · fetchsandbox-mcp (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars1Stargazers on the source repository.
npm downloads5.4kPackage downloads in the last 30 days.
Last commit4d agoMost recent push to the default branch.
Tools exposed17Callable tools this server registers over MCP.

From the project README

fetchsandbox-mcp

FetchSandbox MCP - The MCP that proves your AI's integration fixes work | Product Hunt

Also on Smithery, npm and the official MCP registry.

A deterministic verification engine for agents, as an MCP server for FetchSandbox.

Your agent writes an integration. This checks whether it actually works — against a sandbox that behaves like the real provider, including the failures: retried webhooks, declined cards, rate limits, auth errors.

When it finds a bug, it can propose a fix and then prove it: the same failure is run against your code before and after the diff. Green only if it reproduced first and stopped after. You get a receipt URL either way.

Install

The MCP server runs locally through Node.js. Clients can resolve npx differently; Cursor on Mac may need the full path from command -v npx.

config.json
{
  "mcpServers": {
    "fetchsandbox": {
      "command": "npx",
      "args": ["-y", "fetchsandbox-mcp@latest"],
      "env": { "FETCHSANDBOX_API_KEY": "fsk_your_key_here" }
    }
  }
}

Discovery and reference tools are available without a key. Application planning, verification and managed local tunnelling require sign-in or an API key from https://fetchsandbox.com/keys. See Accounts.

ClientFile
Claude Code.mcp.json in your project root, or claude mcp add
Claude Desktop~/Library/Application Support/Claude/claude_desktop_config.json
Cursor~/.cursor/mcp.json, or .cursor/mcp.json in the repo
Zed~/.config/zed/settings.json, under context_servers
Codex~/.codex/config.toml, as [mcp_servers.fetchsandbox]

Cursor on Mac: tested setup

Get a real account key from https://fetchsandbox.com/keys. Run command -v npx and use that full path in ~/.cursor/mcp.json. This example is for Homebrew on Apple Silicon; replace the path if yours differs. On Windows, use where.exe npx to locate your installed command.

config.json
{
  "mcpServers": {
    "fetchsandbox": {
      "command": "/opt/homebrew/bin/npx",
      "args": ["-y", "fetchsandbox-mcp@0.7.24"],
      "env": { "FETCHSANDBOX_API_KEY": "fsk_your_key_here" }
    }
  }
}

Replace fsk_your_key_here privately with the real raw key, without a Bearer prefix. The placeholder cannot authenticate. Check for a second FetchSandbox entry in .cursor/mcp.json in your project. Fully quit and reopen Cursor after saving; a window reload may retain the old MCP process. Enable the server if needed and confirm its tools load. A green connection alone does not prove that an application verification call is authenticated.

Restart the client afterwards. Anything else that speaks MCP takes the same command and args.

No terminal? Use the hosted endpoint

Browser-based builders — Lovable, Bolt, v0 — can't run npx. They connect straight to the hosted streamable-HTTP transport instead:

Code
https://fetchsandbox.com/mcp/v1

Authenticate with a Bearer token, not "None" — paste the key from https://fetchsandbox.com/keys.

Same twins, same scenarios, seven tools: validate_integration, quickrun, run_workflow, verify_behavior, list_workflows, guide, coach.

The rest are not hidden — they cannot work there. find_bugs, fix_bug and prove_fix read your project from disk and a hosted server has no copy of it, so advertising them only produced sessions that dead-ended. To analyse your own code, run npx fetchsandbox-mcp locally in the project you want looked at.

Start with validate_integration. A green quickrun proves the provider behaves as documented; it does not touch your checkout endpoint, your webhook handler, or your email send. validate_integration hands you a fresh twin per provider and then reports what your code actually called.

Using it

Describe the problem the way you'd describe it to a colleague. You don't need to name a tool.

Customers are reporting more seats than they bought after a Paddle payment. Can you find out why?

The agent works through: route the symptom, reproduce it against the provider sandbox, read your code, get a fix, prove the fix on your code. Each step hands back what the next one needs.

One thing worth knowing, because it's easy to get backwards: prove_fix needs the unfixed tree. Run it before you write the diff to disk, or there's no bug left to reproduce and no proof to be had.

Accounts

You don't need one to start. Install it, ask a question, and everything runs.

The first time a run produces something worth keeping — a receipt, or a set of findings — you'll get a short code and a link. Signing in takes about twenty seconds and does two things: the evidence behind your receipts stops being archived after 15 days, and the runs from that machine collect in one place. You'll be asked at most once a day, and never once you're signed in.

For CI, the hosted endpoint, or anywhere a browser isn't available, set a key instead. Create one at https://fetchsandbox.com/keys — sign in, then "Create a key". It looks like fsk_....

In an MCP client config, it goes in env:

json
"env": { "FETCHSANDBOX_API_KEY": "fsk_your_key_here" }

In a shell or CI:

server.ts
export FETCHSANDBOX_API_KEY=fsk_your_key_here

On the hosted endpoint, send it as Authorization: Bearer fsk_....

The key is also written to ~/.fetchsandbox/credentials.json when you sign in from an editor; the environment variable always wins.

Tools

Start with guide. It picks the right ones for what you asked.

Finding and fixing

ToolWhat it doesArguments
guideRoutes a symptom to a spec, workflow and known failure classintent*, hints
find_bugsAudits your project against known integration failure classes. No git remote needed — it reads the directory you point it atpath, spec, timeout_s
fix_bugReturns a git diff for one finding. Doesn't touch your filesbug*, fix_pattern, path, spec, timeout_s
get_jobRetrieve the same running job without starting another analysis or proofjob_id*
prove_fixRuns the failure against your code before and after the diff. Green only on a measured flipdiff*, bug, scenario, sandbox_id, path, timeout_s

Verifying an integration

ToolWhat it doesArguments
validate_integrationProves your own code against a provider, not that our twin works. Hands back a fresh twin per provider, then reads our request log to report what your app actually calledproviders, app_base_url, session_id
quickrunRuns one of OUR curated workflows against a bundled spec. Green here says the provider behaves as documented — it says nothing about your integrationspec_slug*, workflow_name*, scenario
run_workflowThe same, on a sandbox you already have — this is where you re-run with a scenario armedsandbox_id*, workflow_name*, scenario
verify_behaviorShows a failure class on reference handlers — buggy vs fixed. Not your codebug_pattern_id*, prompt, sandbox_id, flow_run_id
list_workflowsWorkflows AND the failure scenarios a spec can inject, in one answerspec_slug or spec_id
guideRoutes a symptom to the provider behaviour that explains it, and returns the next call with its arguments filled inintent*, hints
coachMulti-turn help building an integrationintent, session_id, user_response, context

Those seven are the whole of what a browser-based builder sees, and they are the only ones that need no filesystem. Everything below requires a local project.

On a machine with your code

ToolWhat it doesArguments
find_bugsAudits your project against known integration failure classespath, spec, timeout_s
fix_bugReturns a git diff for one finding. Doesn't touch your filesbug*, fix_pattern, path, spec, timeout_s
get_jobRetrieve the same running job without starting another analysis or proofjob_id*
prove_fixRuns the failure against your code before and after the diff. Green only on a measured flipdiff*, bug, scenario, sandbox_id, path, timeout_s
run_all_workflowsRuns several workflows in one callsandbox_id*, workflow_names
list_scenariosThe failures a spec can injectsandbox_id*
set_scenarioArms a failure on a sandboxsandbox_id*, scenario*
list_runsPast runs for a sandboxsandbox_id*, limit
list_specsSpecs already availablefilter
submit_proofPublishes a receipt for a runsandbox_id, flow_run_id, bug_pattern_id, summary, proofs

* = required.

What leaves your machine

find_bugs, fix_bug and prove_fix package the directory you point them at and upload it for analysis. Worth saying plainly, because the previous wording here implied the opposite.

Excluded before packing: .git, node_modules and build output, agent instruction files, and anything credential-shaped — .env*, *.pem, *.key, id_rsa*, *.tfstate, .npmrc, .aws, .ssh, .mcp.json, .mcp.*.json, mcp.json, and more.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Fetchsandbox MCP

fetchsandbox/mcp is an MCP server that provides a stateful OpenAPI sandbox for AI agents to validate API integrations end-to-end. It simulates provider-like behavior including retried webhooks, declined cards, rate limits, and authentication errors. Agents can compare behavior before and after a proposed fix and receive a receipt URL.

Install fetchsandbox/mcp locally through Node.js using npx and configure it as an MCP server with the FETCHSANDBOX_API_KEY environment variable. The standard command is npx -y fetchsandbox-mcp@latest; MCP clients including Claude Code, Claude Desktop, Cursor, Zed, and Codex use client-specific configuration files.

An API key is required for application planning, verification, and managed local tunnelling. Discovery and reference tools are available without a key. Obtain a key from https://fetchsandbox.com/keys and provide the raw key as FETCHSANDBOX_API_KEY locally or as a Bearer token when using the hosted endpoint.

Yes, browser-based builders can connect to the hosted streamable-HTTP endpoint at https://fetchsandbox.com/mcp/v1. The hosted endpoint provides validate_integration, quickrun, run_workflow, verify_behavior, list_workflows, guide, and coach; project-analysis tools such as find_bugs, fix_bug, and prove_fix require a local server because they read project files from disk.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewFetchsandbox MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/mcp-292?style=directory)](https://allmcps.com/mcp/mcp-292)
HTML Embed
<a href="https://allmcps.com/mcp/mcp-292"><img src="https://allmcps.com/api/badge/mcp-292?style=directory" alt="Fetchsandbox MCP on AllMCPs" /></a>