Skip to content

What Is TestSprite? AI-Written Tests, the Free Plan, MCP and CLI

You give TestSprite your app's address and a document describing what it should do; the agent explores the app in a cloud browser, proposes a test plan, and once you approve it writes and runs the tests and gives a cause and suggested fix for every failed test. The same account works as MCP in Cursor, Claude Code and VS Code, and as an open-source CLI for coding agents. The free plan has 150 credits a month; paid plans start at $19 a month. Tests run in TestSprite's cloud and data is processed in the US.

What is TestSprite?

An AI testing agent that explores your web app in a cloud browser like a real user, writes a test plan, runs the tests and gives a cause and suggested fix for failures. You use it from the browser, through MCP in the editor or with the CLI in the terminal.

How do I install TestSprite MCP in Cursor?

Create an API key in TestSprite, add the npx command for @testsprite/testsprite-mcp@latest and the API_KEY variable to Cursor's mcp.json. Turn off Run in Sandbox and set Auto-Run to Ask Everytime or Run Everything. Node.js 22+ is required.

Is TestSprite free?

There is a free plan: 150 credits a month, one environment, the web agent, CLI, MCP and PR testing on one repository. Auto-heal and scheduled runs are on paid plans; for first-time subscribers, monthly Starter is free for the first month, then $19 a month.

What it does
Explores your app, writes and runs tests
Type
Cloud service + MCP + CLI
Maker
TestSprite
Where
Browser, Cursor, Claude Code, VS Code, terminal
Free
150 credits a month
Data
Tests in the cloud, data in the US

What is TestSprite for?

When code is written quickly with AI, testing is the step most often skipped: a feature is added and something else silently breaks. TestSprite hands this step to an agent. The agent opens your app in a browser like a user, explores the pages, builds a test list from the requirements in your product document, runs the tests and keeps every passing one; on later changes it reruns them all. For a failed test it gives screenshots, a step log, a root-cause hypothesis and a suggested fix.

Who it helps: small teams building web apps or sites with AI, solo developers with no time to write tests, and agencies that want to check user flows before delivering a client project. Someone who doesn't know testing can also tell the agent in the browser, in plain language, what to check. It is built for web apps and APIs, not mobile apps.

How does it work?

You give the sourcesThe app address, the product document (PRD), optionally the code repository and a test account.
The agent explores and proposesIt explores the live app in a cloud browser and proposes a test list; you keep, edit or drop tests.
Runs in the cloudTests run in TestSprite's cloud; each ends as Passed, Failed or Blocked.
Report and fixA failure bundle arrives for each failed test; you or your coding agent fix it and rerun.
The agent shows an approval card before any step that changes something or spends credits.

The generated test code is written in Playwright and Python and can be exported to GitHub. You can start the same job from three places: the web portal in the browser (for the team), the MCP server in the editor, and the CLI for coding agents. All of them use the same account, the same credits and the same results dashboard.

What do you type, and what do you get?

You tell the agent in the browser what to check in plain language; in the editor and terminal the request works the same way. The examples are derived from the samples in the TestSprite docs and homepage.

In the web portal: testing the checkout flow"Test my app at https://mystore.example. Check product search, add to cart, promo codes and checkout; also check that the discounted total stays after a page reload."What you get: a test list grouped by area (product discovery, checkout, sign-in), a run after your approval, and for each test a result and video, plus a cause hypothesis for the failed ones.
In the editor (MCP): testing the whole project"Help me test this project with TestSprite."What you get: TestSprite first asks for the local app's port and the scope (the whole codebase or only the diff); it produces a code summary, a product document, a test plan and test code, then runs them. It writes a Markdown and HTML report and test files such as TC001_….py into testsprite_tests/ in your project folder. The prompt in the docs is in English; support for Turkish prompts is not stated in the official sources.
In the terminal (CLI): testing one flow› testsprite plan "Check that guest checkout shows the confirmation screen" --project "$PROJECT_ID" --diff --steps testsprite apply testsprite run <test-id> --wait

To cut credit use, the docs suggest testing only the change (diff) in daily work and running the full suite once a night.

How do you set up TestSprite? Web, Claude Code, Cursor and CLI

The web portal needs no setup: you sign up at testsprite.com and start with New Project. For the editor and terminal you first create an API key in TestSprite under Workspace Settings then Connections then API Keys. The steps come from the TestSprite docs (December 2, 2026).

In the terminal, in your project folder› claude mcp add TestSprite --env API_KEY=your_api_key -- npx @testsprite/testsprite-mcp@latest claude mcp list

The server is added only to the project folder where you run the command. The MCP server needs Node.js 22 or later.

Supported editors in the docs: Cursor, Claude Code, VS Code, GitHub Copilot, Windsurf, Trae and Antigravity. The MCP package @testsprite/testsprite-mcp is BUSL-1.1 licensed: the source is visible but it is not an open-source license. The @latest in the command means the current version is pulled on every start.

Where does TestSprite run, and what does it test?

Browser (web portal)YesThe main surface; the team sees results here.
Cursor, Claude Code, VS CodeYesThrough the MCP server or CLI skills.
GitHubYesTests every PR and posts the result to it; the number of repos depends on the plan.
Web apps and APIsYesFrontend tests and backend API tests.
An app on your computerYesThrough a tunnel; web frontends only. Backend tests need a publicly deployed API.
Mobile appsNoThe docs describe web apps and APIs.

It can post summaries to Slack and file bugs in Jira or Linear; Jira and Linear are on Standard and higher plans.

Where do my code and app data go?

Tests in the cloud

Tests run in isolated environments in TestSprite's cloud. The agent explores your live app in a cloud browser; you open an app on your computer to this runner through a tunnel.

Code

According to the FAQ, your source code is never stored on the servers, and on the MCP route code analysis happens on your computer. If you connect a repository to the web portal or attach a change in the CLI, that content becomes test input.

Data in the US

According to the privacy policy, data is processed and stored in the US (AWS); service data is kept for the business relationship and for a period after it. TestSprite says it is SOC 2 compliant.

Secrets

Secrets such as a test account password are stored encrypted and never appear in chat.

Run tests with a separate test account and environment, not with live customer data.

Is TestSprite free? Plans and credits

Yes, there is a free plan: 150 credits a month, one environment, 30 days of history, the web agent, the CLI and the editor plugin (MCP), PR testing on one repository and Slack notifications. In a free workspace only you can edit; other members can only view, and one person can own only one free workspace. How many credits one test uses is not clear in the official sources.

Free$0 /month
  • 150 credits a month
  • Web agent, CLI, MCP
  • PR testing on 1 repo
  • Auto-heal, schedules
Starter$19 /month; first month free for first-time subscribers on monthly Starter ($12 yearly)
  • 400 credits a month
  • Auto-heal, scheduled runs
  • PR testing on 3 repos
Standard$39 /month ($25 yearly)
  • 800 credits a month
  • 3 environments, 90 days of history
  • Advanced agent model, Jira and Linear
Pro$69 /month ($45 yearly)
  • 1,600 credits a month
  • Unlimited environments and history
  • Most capable agent model, priority runs

Prices are from the TestSprite pricing page (December 2, 2026), in US dollars, per seat; yearly billing saves 35%. Enterprise starts at $199 a month from 10 seats. It doesn't say whether the free plan asks for a card. The page names no models; plans separate the agent model as Default, Advanced and Most capable. This is not financial advice.

Turkish and using it from Turkey

Turkish interfaceNoThe interface and docs are in English.
Prompts in TurkishUnclearTests are described in plain language; support for Turkish prompts is not stated in the official sources.
Testing a Turkish siteYesBecause the agent opens the app in a browser, the interface language is that of the site being tested.
Paying from TurkeyUnclearUS dollars, card payment through Stripe; no separate restriction for Turkey is stated.

Common problems and fixes

What happensWhat to do (TestSprite docs)
Tools don't run in CursorTurn off Run in Sandbox; set Auto-Run to "Ask Everytime" or "Run Everything".
The MCP server won't startCheck that your Node.js version is 22 or later.
The agent can't reach the local appStart a tunnel with testsprite tunnel start and keep it open until the tests finish.
A backend test rejects a local addressBackend projects need a publicly deployed API; local testing is for web frontends only.
The session stopped halfwayThe workspace may have run out of credits; the session continues once you top up.

Removing TestSprite

In the editor, delete the TestSprite entry from the MCP configuration and restart the editor; in Claude Code, claude mcp remove TestSprite does the same. You remove the CLI with npm uninstall -g @testsprite/testsprite-cli. The testsprite_tests/ folder in your project is not deleted automatically. Revoke the API key under Workspace Settings then Connections then API Keys. When a paid plan ends, the workspace moves to the free plan, or becomes read-only if it exceeds the free limits.

Related tools in the atlas

TestSprite has an agent write and run tests in the cloud. If you want your coding agent to drive a browser on your own computer, there are free and open-source tools too.

For the agent to use a browser locally: Playwright MCP.

The same job from the command line: Playwright CLI.

The coding agent the TestSprite CLI installs into by default: Claude Code.

Frequently asked questions

Does TestSprite work in Claude Code?

Yes. It is added as MCP with the claude mcp add command, or the CLI's testsprite setup command installs ready skills into Claude Code.

Is the TestSprite CLI open source?

Yes, the CLI is Apache-2.0 licensed and lives in the TestSprite/testsprite-cli repository on GitHub. The MCP package is BUSL-1.1 licensed; its source is visible but it is not an open-source license. Both run tests in TestSprite's cloud and need an account.

Does TestSprite store my code?

According to the FAQ, source code is never stored on the servers, and on the MCP route code analysis happens on your computer. Tests, however, run in TestSprite's cloud and data is processed in the US; use a separate test account and environment.

What is the difference between TestSprite and Playwright?

Playwright is a free testing library where you write the tests. TestSprite has an agent write the tests, runs them in the cloud and collects results in a dashboard; the test code it generates is also written in Playwright and Python.

Related guides

Sources

Not clear in the official sources: How many credits one test uses · whether the free plan asks for a card · support for writing tests from Turkish prompts · the names of the agent models in each plan. Each is covered in its section.