testorim mcp is a Model Context Protocol server. It lets a coding agent run a Testorim test in a real browser and read the result without leaving the editor: the agent makes a change, deploys a preview, asks Testorim to check it, and gets back a verdict with evidence.
It ships in the same npm package as the CLI and the JavaScript library, @testorim/cli (version 0.3.0 or later), and is listed in the official MCP Registry as io.github.sallar-ba/testorim.
What the agent can do
run_test takes either a testId (a saved test) or a description in plain English, plus an optional baseUrl to run against another address such as a pull request’s preview deployment, an optional expectation of fail for a negative test, and wait / timeoutSeconds (it waits up to 10 minutes by default and sends progress updates while it waits).
Set it up
1
Create an API key
In Testorim, open Settings → API keys and create a key. It starts with
tst_live_. See Authentication for what a key may and may not change.2
Add the server to your agent
Agents start MCP servers without your shell’s environment, so put the key in the agent’s own MCP configuration, as below. Replace
tst_live_... with your key.3
Ask the agent to test
For example: “Deploy a preview, then use Testorim to check that a new user can sign up and reach the dashboard.”
~/.codeium/windsurf/mcp_config.json), Antigravity (Manage MCP servers, then View raw config), Gemini CLI (~/.gemini/settings.json) and Claude Desktop (claude_desktop_config.json) take the same mcpServers block as Cursor.
If your workspace lives on another host, add TESTORIM_API_URL to the same env block.
What comes back
Arun_test or get_run reply starts with the verdict and the counts, then the run’s link, each failed step with the reason it failed, links to the video and Playwright trace, and the written report:
verdict, counts, failedSteps with a blame field, runUrl, videoUrl, traceUrl) for agents that read it.
The server’s instructions tell the agent to treat a failure as a real finding only when it is attributed to the app, and to fix the wording of the test when the test was at fault. See Run status for how verdicts are decided.
Limits
- Runs count against your plan. A run started by an agent is a run like any other; refusals (a plan limit, every browser busy) come back to the agent as an error with the same code the API uses.
- An API key runs and reads. Creating or editing saved tests and settings happens in the app.
- Evidence links expire after an hour. The run page keeps the evidence.
- Websites only. No native mobile or desktop apps.

