---
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
---

MCPFree and open source

# Let your agent test on real devices

The TestingBot MCP server gives Claude Code, Cursor, Codex or VS Code 6100+ real browsers and physical iPhones and Android phones. It runs the suite, reads the failures and tells you what broke.

[Create a free account](https://testingbot.com/users/sign_up)
`$ claude mcp add testingbot -- npx -y @testingbot/mcp-server@latest` Copy

No API key in your config: you sign in through the browser. [Other clients](https://testingbot.com#install)

Works with

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

## One prompt, a real device, an answer you can check

1. 1
### You ask in plain words

Name the browser or phone, the app or URL, and what to check. No Appium, emulators or capabilities on your machine.

2. 2
### It runs on real hardware

The agent calls TestingBot tools: sessions on real desktop browsers and physical iPhones and Android phones, Maestro, Espresso and XCUITest suites.

3. 3
### You get logs and screenshots

Failures come back with logs and screenshots, and every session has a live link so you can watch or take over.

## Prompts to try first

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

[All ten use cases](https://testingbot.com/support/ai/mcp/use-cases)

Browser Copy

### Check a page on a real iPhone

“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

App Copy

### Run an Espresso class on a Galaxy

“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

History Copy

### Find why a test failed

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

getTests getTestDetails getFailureLogs

Browser Copy

### Screenshot a page in two browsers

“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

Browser Copy

### Sign in to staging and check it

“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

Browser Copy

### Watch the agent work

“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

## 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 One command
`claude mcp add testingbot -- npx -y @testingbot/mcp-server@latest` Copy
- Codex CLI One command
`codex mcp add testingbot -- npx -y @testingbot/mcp-server@latest` Copy
- Cursor One click [Adds the server to Cursor Install](https://testingbot.com/mcp/install?client=cursor)
- VS Code One click [Adds the server to VS Code Install](https://testingbot.com/mcp/install?client=vscode)
- Claude Desktop Bundle [The .mcpb bundle, installs on double-click Download](https://testingbot.com/mcp/install?client=mcpb)
- Gemini CLI and more Config [Kiro, Windsurf, Goose, Copilot CLI or any mcp.json See all](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.

Also listed in: [Official MCP Registry](https://registry.modelcontextprotocol.io/v0/servers?search=com.testingbot/mcp-server) · [Glama](https://glama.ai/mcp/servers/testingbot/mcp-server) · [LobeHub](https://lobehub.com/mcp/testingbot-mcp-server)

## Tools your agent gets

Two packages, installed together. Tools marked writes change or delete data: keep approval on for those.

### 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

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).

- **How is TestingBot MCP 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 TestingBot's 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.
- **Does the MCP server use my TestingBot minutes?:** Listing tests, reading logs and managing builds use no minutes. Browser and device sessions use minutes while they run.
- **Do I need an API key?:** No. Ask your agent to log in to TestingBot: a browser window opens and you click Authorize. On a server without a browser you enter a short code at testingbot.com/device. API keys are still supported for CI.

## 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)
