---
title: 'TestingBot MCP Server: AI Agents Testing on Real Browsers and Devices'
description: Connect Claude Code, Cursor, VS Code, Codex or Windsurf to 6100+ real
  browsers and physical iOS and Android devices. Run Maestro, Espresso and XCUITest
  suites or drive a browser from a prompt. Free to start.
source_url:
  html: https://testingbot.com/mcp
  md: https://testingbot.com/mcp.md
---

# MCP server for testing on real browsers and phones

Give Claude Code, Cursor, Codex or VS Code access to 6100+ real browsers and physical iPhones and Android phones. Your agent runs the suite, reads the failures and tells you what broke.

[Create a free account](https://testingbot.com/users/sign_up) [See install options](https://testingbot.com#install)

`$ claude mcp add testingbot -- npx -y @testingbot/mcp-server@latest` Copy

Free and open source. No API key in your config: you sign in through the browser.

Works with

- Claude
- Cursor
- VS Code
- Codex
- Gemini CLI
- Copilot CLI
- Windsurf
- Cline

## Prompts to try first

Paste one into your agent. Under each prompt are the TestingBot tools it calls, in order.

### Check a page on a real iPhone
Copy

“Open Safari on a real iPhone 15 Pro running iOS 17, go to my checkout flow and read back the total price element.”

getDevices tb\_openBrowser tb\_navigate tb\_getText tb\_closeBrowser

### Run an Espresso class on a Galaxy
Copy

“Run my Espresso suite on a real Galaxy S23, but only the com.example.LoginTest class, and show me the failures.”

uploadAppAutomateApp uploadAppAutomateTests runAppAutomateTest getAppAutomateRunResults

### Find why a test failed
Copy

“Show me my last 5 tests, then pull the details and failure logs for the one that failed.”

getTests getTestDetails getFailureLogs

### Screenshot a page in two browsers
Copy

“Take full-page screenshots of testingbot.com in Chrome on Windows 11 and Safari on macOS, then give me the image links.”

getBrowsers takeScreenshot retrieveScreenshots

### Sign in to staging and check it
Copy

“Open Chrome on Windows 11, go to my staging login page, sign in with the test account, and tell me whether the dashboard heading appears.”

tb\_openBrowser tb\_navigate tb\_snapshot tb\_type tb\_click tb\_getText

### Watch the agent work
Copy

“Open a Chrome session on Windows 11 and give me the live link so I can watch what the agent is doing.”

tb\_openBrowser tb\_listSessions

Ten workflows with their full tool sequences, including Maestro, CDP sessions for Playwright and native app uploads: [see the use cases](https://testingbot.com/support/ai/mcp/use-cases).

## Install in your AI client

The server runs on your machine through npx, so there is nothing to install globally. You need Node.js 20 or later.

### Claude Code

`claude mcp add testingbot -- npx -y @testingbot/mcp-server@latest` Copy

### Codex CLI

`codex mcp add testingbot -- npx -y @testingbot/mcp-server@latest` Copy

### Cursor

[Install in Cursor](https://testingbot.com/mcp/install?client=cursor)

### VS Code

[Install in VS Code](https://testingbot.com/mcp/install?client=vscode)

### Claude Desktop

[Download the .mcpb bundle](https://testingbot.com/mcp/install?client=mcpb)

### Gemini CLI, Kiro, Windsurf, Goose, Copilot CLI and more

[All install options](https://testingbot.com/mcp/install)

1. 1

Sign in from the agent

Ask “Log in to TestingBot”. A browser window opens and you click Authorize. On a server without a browser you get a short code to enter at [testingbot.com/device](https://testingbot.com/device).

2. 2

Check that it works

Ask “List my recent TestingBot tests”. In CI, set TESTINGBOT\_KEY and TESTINGBOT\_SECRET instead of signing in.

Any other client: mcp.json Copy

{ "mcpServers": { "testingbot": { "command": "npx", "args": ["-y", "@testingbot/mcp-server@latest"] } } }

## Tools your agent gets

Two packages, installed together: one for your account and app runs, one that drives live browser and phone sessions.

writes changes or deletes data

### Live sessions

Real Chrome, Firefox, Edge and Safari, and phone browsers.

- tb\_openBrowser
- tb\_navigate
- tb\_snapshot
- tb\_click
- tb\_type
- tb\_getText
- tb\_screenshot
- tb\_closeBrowser

### Native app runs

Maestro, Espresso and XCUITest on real devices or emulators.

- uploadMaestroApp
- uploadMaestroFlows
- runMaestroTest
- getMaestroRunResults
- uploadAppAutomateApp
- runAppAutomateTest
- getAppAutomateRunResults

### Tests and failures

What ran, why it failed, and cleanup.

- getTests
- getTestDetails
- getFailureLogs
- takeScreenshot
- deleteTest writes
- deleteBuild writes

### Tunnels and team

Reach staging behind your firewall.

- startTunnel
- getTunnelList
- stopTunnel writes
- getTeam
- getUsersInTeam

Parameters and the full list: [see every tool](https://testingbot.com/support/ai/mcp/tools).

## Where your data goes

And which calls use minutes.

- **Keys stay on your machine:** Browser login stores them in ~/.testingbot/credentials, readable only by your user. The server calls the TestingBot API directly; keys never reach the model provider.
- **Results go to your AI client:** Page text, logs and screenshot links the agent asks for come back to your client like any tool result. Keep approval on for tools marked writes.
- **You can watch or take over:** Every browser and phone session returns a live link. Open it to follow the agent, or take control by hand.
- **Reading costs no minutes:** Listing tests, reading logs and managing builds are free. Browser and device sessions use minutes while they run. Test data stays in the EU.

## Questions about the MCP server

- **How is this different from Playwright MCP?:** Playwright MCP drives a browser on your own machine. TestingBot MCP runs sessions on real desktop browsers and physical iPhones and Android phones in our cloud, runs Maestro, Espresso and XCUITest suites, and reads your test history.
- **Do I need to install Appium or emulators?:** No. Browsers, devices and emulators all run on TestingBot. Your machine only runs the MCP server through npx.
- **Do I need an API key?:** No. Sign in through the browser from your agent. API keys are still supported for CI and shared configs.
- **Where are the full docs?:** Start with [What is TestingBot MCP?](https://testingbot.com/support/ai/mcp), then [authentication](https://testingbot.com/support/ai/mcp/authentication) and the [MCP FAQ](https://testingbot.com/support/ai/mcp/faq).

## A real device lab for your coding agent

100 free minutes on real browsers and phones. No credit card.

[Create a free account](https://testingbot.com/users/sign_up)
