Firedrill

Test Your AI Agent from Claude Code, Codex or Cursor

If you build an AI agent with a coding agent such as Claude Code, Codex or Cursor, that coding agent can test the agent for you. It connects to Firedrill through the CLI or the remote MCP server, builds a simulated world for your agent, runs it, reads the report, fixes what failed and runs it again.

By Firedrill ยท December 4, 2026.

How does it work?

Your coding agent operates Firedrill for you. The AI agent you are building is the one being tested.

  1. Connect. Your coding agent signs in through the firedrill-run CLI or the remote MCP server at https://mcp.firedrill.run. You approve access in your browser.
  2. Describe your agent. It reads your repository and registers how your agent starts, which tools it calls and what it needs. Your source code is not uploaded.
  3. Build the world. It proposes simulated apps, starting data, simulated people and scenarios. You review the plan and the credit estimate before anything runs.
  4. Run. Your agent runs on your machine against the simulated world.
  5. Read and fix. Your coding agent reads the report, changes your agent and runs the same scenarios again to compare.

Set it up in one prompt

Give your coding agent this prompt:

Set up Firedrill for this project. Fetch https://firedrill.run/agent-setup.md and follow it.

Set it up by hand

Claude Code (remote MCP):

claude mcp add --scope project --transport http firedrill https://mcp.firedrill.run

Then open /mcp in Claude Code and authorize Firedrill.

Codex (remote MCP):

codex mcp add firedrill --url https://mcp.firedrill.run
codex mcp login firedrill

Any client, from the terminal (CLI):

npx firedrill-run init

The agent quickstart has configuration for Cursor, VS Code and other MCP clients.

The Firedrill skill gives your coding agent setup, drill and report instructions:

npx skills add firedrill-tools/firedrill-skills

CLI or MCP: which should your coding agent use?

CLIRemote MCP
Runs your agent on your machineYesNo
Manages worlds, scenarios and reportsYesYes
Signs in withDevice authorization in your browserYour MCP client's browser sign-in
Best forRunning drills from your repositoryPreparing worlds and reading reports from chat

Most setups use both: MCP to plan and read, the CLI to run your agent locally. CLI sign-in and MCP sign-in are separate approvals.

What stays on your machine?

Your agent, its code and its model calls. Firedrill keeps the worlds, scenarios, simulated apps and reports in the cloud. Real accounts are never used unless you approve a specific one.

What can you ask your coding agent to do?

  • "Test the refund flow of my support agent with two customers who have the same name."
  • "Run my agent against a Stripe outage and tell me what it said to the customer."
  • "Rerun last week's failing scenarios after this prompt change and compare."

Related guides