---
title: MCP tools · Agent Playground docs
description: Let Claude, ChatGPT, Cursor or any MCP app build, check and run Agent Playground flows for you, under your plan's limits and your Policies.
url: https://www.quietrobot.ai/docs/playground/mcp
---

# MCP tools

Let Claude, ChatGPT, Cursor or any MCP app build, check and run Agent Playground flows for you, under your plan's limits and your Policies.

The [Sandboxes MCP server](https://www.quietrobot.ai/docs/sandboxes/mcp) includes tools for the Agent Playground. Connect it once, and your AI app can start from a recipe, write a flow for you, check it, run it on real sandboxes and tell you how it went. You keep the controls: every run stops at its limits, steps your [Policies](https://www.quietrobot.ai/docs/sandboxes/approvals) hold wait for a person in the dashboard, and the app can't run more sandboxes at once than your plan allows.

## Connect

Add this address to your app and sign in, as on the [MCP server](https://www.quietrobot.ai/docs/sandboxes/mcp) page:

```text
https://api.quietrobot.ai/mcp
```

The Playground tools come with it; there's nothing else to turn on.

## Things to ask

* "Show me the Playground recipes, then save **Fix until tests pass** as a flow and run it."
* "Build a flow that clones github.com/you/app, runs the tests, lets an agent fix failures and asks me before it pushes. Check it, then save it."
* "Why won't my flow **Nightly evals** run?"
* "Run my **PR reviewer** flow with at most 3 loops, and tell me what each step did."
* "Lower the budget on **Scraper** to 10 cents and save it."

The app works with the same flow JSON as the builder's JSON view, so a flow it saves opens on the canvas, and a flow you drew can be changed by the app.

## The tools

| Tool | What it does |
|---|---|
| `list_recipes` | The ready-made flows, with their default limits |
| `list_flows` | Your saved flows, and whether each one can run |
| `get_flow` | One flow as flow JSON: its steps, arrows, limits and layout |
| `validate_flow` | Checks flow JSON, a saved flow or a recipe without running it: what's wrong and where, sandboxes at once against your plan, and which steps your Policies will hold |
| `save_flow` | Saves flow JSON as a new flow or over one of yours, or a new flow from a recipe |
| `run_flow` | Runs a saved flow on real sandboxes and waits up to a few minutes for it |
| `get_run` | A run's status, loops, cost and every step |
| `cancel_run` | Stops a run |

The tools that only read are marked read-only, so apps that ask before acting can skip the question for them. `cancel_run` is marked as one that stops work.

## What stays in your hands

* **Limits.** Every run stops at its most loops, longest time and most money, checked on our side, whatever the app asks.
* **Approvals.** A step that your Policies or the flow hold shows as `waiting`. A person decides in the dashboard; the app is told not to try to get around it.
* **Your plan.** A flow that needs more sandboxes at once than your plan runs is refused before it starts, and `validate_flow` says so first.
* **Your keys.** AI steps use the Claude key saved under **Policies → Secrets** as `ANTHROPIC_API_KEY`. The key never enters the sandbox, and the app never sees it.
* **What it can touch.** Connect with a [read-only key](https://www.quietrobot.ai/docs/sandboxes/authentication) if the app should only look: it can list, read and check flows and runs, but not save or start them.

## Running it yourself

> [!NOTE]
> The Playground tools are on the hosted server above. The server you run on your own machine (`npx @quietrobot/sandboxes-mcp`) doesn't have them yet: it has the sandbox tools only. Use the hosted address for flows.
