Skip to main content
Your coding agent already knows the feature you just shipped. Connect it to Minitap and it can write the scenarios for it, start a run on your build, read the verdicts and fix what failed. There are two ways in, and they work together: the MCP server and the minitest CLI.

Connect the MCP server

The server lives at https://testing-service.app.minitap.ai/mcp/. Add it to your client, then sign in with your Minitap account when the client asks.
The server loads two skills into your agent’s context on its own: an onboarding playbook (discover the app, create test accounts, map the journeys, create the scenarios) and the rules for writing good scenarios. Your agent follows the same practices Mini does. Then ask, from your app’s codebase:

Use the CLI

1

Install the CLI

If the installer warns that minitest in your PATH is another program, Ruby’s test runner answers to that name first: run minitest-cli instead, with the same commands, or see the fix.
2

Sign in

It opens a browser, pairs the CLI with your workspace and keeps a token on the machine.
3

Let your agent drive it

The CLI ships with an agent skill, so your agent uses the same commands you would, with the same rules for scenarios, criteria and dependencies:
Every command takes --json. Pick the app with --app <id-or-name>, or export MINITEST_APP_ID=... once per shell. See CLI commands.

Fix with your agent

When a scenario fails, open its Fix with your agent tab in the run report, copy the prompt and paste it into your coding agent. The agent reads Mini’s verdicts, the screens and the logs through the CLI, finds the root cause in your code, explains it and asks before it changes anything. See Read a run report.
Fix with your agent tab: a prompt to copy and the five things the agent does with it

The Fix with your agent tab of a scenario.

Next steps

What a scenario is

The shape your agent writes: name, criteria, tags, dependencies.

CLI commands

Every command and flag.