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?
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.
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.› testsprite plan "Check that guest checkout shows the confirmation screen" --project "$PROJECT_ID" --diff --steps
testsprite apply
testsprite run <test-id> --waitTo 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).
› claude mcp add TestSprite --env API_KEY=your_api_key -- npx @testsprite/testsprite-mcp@latest
claude mcp listThe server is added only to the project folder where you run the command. The MCP server needs Node.js 22 or later.
› {
"mcpServers": {
"TestSprite": {
"command": "npx",
"args": ["@testsprite/testsprite-mcp@latest"],
"env": { "API_KEY": "your_api_key" }
}
}
}!Cursor's "Run in Sandbox" mode limits TestSprite; the docs say to set Auto-Run to "Ask Everytime" or "Run Everything".
› npm install -g @testsprite/testsprite-cli
testsprite setup
testsprite auth statustestsprite setup installs ready skills for the coding agent it detects (Claude Code by default); Cursor, Cline, Windsurf, Copilot, Codex and others are supported too. The CLI is Apache-2.0 licensed and open source (TestSprite/testsprite-cli on GitHub); it needs Node 20.19+, 22.13+ or 24+. In CI the key is passed as the TESTSPRITE_API_KEY secret.
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)Yes | The main surface; the team sees results here. |
|---|---|
| Cursor, Claude Code, VS CodeYes | Through the MCP server or CLI skills. |
| GitHubYes | Tests every PR and posts the result to it; the number of repos depends on the plan. |
| Web apps and APIsYes | Frontend tests and backend API tests. |
| An app on your computerYes | Through a tunnel; web frontends only. Backend tests need a publicly deployed API. |
| Mobile appsNo | The 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 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.
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.
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 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.
- 150 credits a month
- Web agent, CLI, MCP
- PR testing on 1 repo
- Auto-heal, schedules
- 400 credits a month
- Auto-heal, scheduled runs
- PR testing on 3 repos
- 800 credits a month
- 3 environments, 90 days of history
- Advanced agent model, Jira and Linear
- 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 interfaceNo | The interface and docs are in English. |
|---|---|
| Prompts in TurkishUnclear | Tests are described in plain language; support for Turkish prompts is not stated in the official sources. |
| Testing a Turkish siteYes | Because the agent opens the app in a browser, the interface language is that of the site being tested. |
| Paying from TurkeyUnclear | US dollars, card payment through Stripe; no separate restriction for Turkey is stated. |
Common problems and fixes
| What happens | What to do (TestSprite docs) |
|---|---|
| Tools don't run in Cursor | Turn off Run in Sandbox; set Auto-Run to "Ask Everytime" or "Run Everything". |
| The MCP server won't start | Check that your Node.js version is 22 or later. |
| The agent can't reach the local app | Start a tunnel with testsprite tunnel start and keep it open until the tests finish. |
| A backend test rejects a local address | Backend projects need a publicly deployed API; local testing is for web frontends only. |
| The session stopped halfway | The 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
- TestSprite homepage
- TestSprite pricing
- TestSprite Docs: Web Portal overview
- TestSprite Docs: project sources
- TestSprite Docs: workspaces and plans
- TestSprite Docs: MCP installation
- TestSprite Docs: MCP tools
- TestSprite Docs: CLI installation
- TestSprite Docs: local apps with the CLI
- TestSprite Docs: FAQ
- TestSprite privacy policy
- GitHub: TestSprite/testsprite-cli
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.





