Listed from the MCP registry; nobody on Odel publishes it.
Run browser, mobile and app tests on TestingBot's cloud, including localhost via tunnels
Runs on your machine from its package; the steps are below.
At most: moves money, runs code or commands, deletes data, or sends messages for you.
Odel charges nothing per call. The publisher may charge for its own service.
Runs locally over stdio
This server isn't hosted — your MCP client launches it from a package registry. Use one of the commands below, or drop the config into your client (e.g. Claude Desktop).
Run
npx -y @testingbot/mcp-server
MCP client config
{
"mcpServers": {
"testingbot": {
"command": "npx",
"args": [
"-y",
"@testingbot/mcp-server"
]
}
}
}TestingBot's official Model Context Protocol (MCP) server implementation. This server enables AI assistants to interact with TestingBot's testing infrastructure, allowing you to manage tests, browsers, devices, and more through conversational interfaces.
Claude Desktop: download testingbot-mcp-server-<version>.mcpb from the latest release and double-click it. Claude will set up the TestingBot MCP server automatically.
Claude Code plugin (the server plus testing skills):
/plugin marketplace add testingbot/mcp-server
/plugin install testingbot@testingbot
Cursor plugin (the server plus the same skills): install TestingBot from the Cursor Marketplace once it's listed. Teams can already add this repository as a team marketplace (Dashboard → Plugins → Add Marketplace → Import from Repo).
Kiro power (the server plus the same skills): in Kiro, open Powers → Add Custom Power → Import power from GitHub and enter https://github.com/testingbot/mcp-server/tree/main/plugins/testingbot.
Gemini CLI extension (the server plus the same skills):
gemini extensions install https://github.com/testingbot/mcp-server
Gemini CLI doesn't pass your shell's environment variables to extensions, so sign in with tb_login (Gemini runs it when needed), which saves the credentials in ~/.testingbot/credentials.
After install, either enter your key and secret from TestingBot account settings, or leave them blank and ask Claude to run tb_login to sign in from the browser.
Install the MCP server globally:
npm install -g @testingbot/mcp-server
Or add to your project:
npm install @testingbot/mcp-server
tb_login (no key/secret to copy)You don't have to find and paste API credentials. Install the server, leave the credentials blank, and just ask the agent:
Log me in to TestingBot.
The agent calls the tb_login tool. It uses OAuth-style browser
authentication — no secret ever leaves the browser — and picks the right
mechanism for your environment automatically:
Browser (loopback, the default on a desktop): your browser opens to a TestingBot authorization page. Sign in if needed and click Authorize; the credentials are captured on a local callback and the agent finishes the sign-in. Nothing to type. (RFC 8252.)
Device code (automatic fallback on SSH / remote / dev containers / web): the tool prints a short URL and code instead:
https://testingbot.com/device).tb_login again to finish.(RFC 8628.)
You can force a mechanism by passing mode: "loopback" or mode: "device" to
tb_login (the default is "auto").
Your credentials are written to ~/.testingbot/credentials (mode 0600) and
used by every subsequent tool call — no restart and no JSON editing. This works
in any MCP client (VS Code, Cursor, Cline, Claude Desktop, …). To use a different
account, set TESTINGBOT_PROFILE; to relocate the file, set
TESTINGBOT_CONFIG_DIR.
If ~/.testingbot is already a key:secret file (written by the TestingBot
tunnel, testingbot-api or older tools), the server uses it as is, and tb_login
updates that file in place, keeping the previous contents in ~/.testingbot.bak.
It is never moved or deleted, so those tools keep working.
Alternatively (or for CI, where env vars take precedence over the file), set your TestingBot credentials as environment variables:
export TESTINGBOT_KEY="your-api-key"
export TESTINGBOT_SECRET="your-api-secret"
Or create a .env file in your project:
TESTINGBOT_KEY=your-api-key
TESTINGBOT_SECRET=your-api-secret
The key also accepts the aliases TB_KEY / TESTINGBOT_USERNAME, and the secret
accepts TB_SECRET / TESTINGBOT_ACCESS_KEY.
Credentials are resolved in this order, highest priority first:
~/.testingbot/credentials file written by tb_login, for the active
profile (default, or TESTINGBOT_PROFILE).tb_login reports "Run tb_login to authenticate" — so first run is
self-healing rather than a hard error.Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%/Claude/claude_desktop_config.json (Windows):
{
"mcpServers": {
"testingbot": {
"command": "npx",
"args": ["-y", "@testingbot/mcp-server"],
"env": {
"TESTINGBOT_KEY": "your-api-key",
"TESTINGBOT_SECRET": "your-api-secret"
}
}
}
}
Add to .continue/config.json:
{
"mcpServers": [
{
"name": "testingbot",
"command": "npx",
"args": ["-y", "@testingbot/mcp-server"],
"env": {
"TESTINGBOT_KEY": "your-api-key",
"TESTINGBOT_SECRET": "your-api-secret"
}
}
]
}
Add to .cursor/mcp.json:
{
"mcpServers": {
"testingbot": {
"command": "npx",
"args": ["-y", "@testingbot/mcp-server"],
"env": {
"TESTINGBOT_KEY": "your-api-key",
"TESTINGBOT_SECRET": "your-api-secret"
}
}
}
}
claude mcp add testingbot -e TESTINGBOT_KEY=your-api-key -e TESTINGBOT_SECRET=your-api-secret -- npx -y @testingbot/mcp-server
Leave out the two -e options to sign in with tb_login instead.
Ask Cline to install the server from this repository; it follows
llms-install.md. Or add the same mcpServers entry as for
Claude Desktop to Cline's MCP settings.
The repository includes a Dockerfile that runs the server over stdio:
docker build -t testingbot-mcp https://github.com/testingbot/mcp-server.git
{
"mcpServers": {
"testingbot": {
"command": "docker",
"args": ["run", "-i", "--rm", "-e", "TESTINGBOT_KEY", "-e", "TESTINGBOT_SECRET", "testingbot-mcp"],
"env": {
"TESTINGBOT_KEY": "your-api-key",
"TESTINGBOT_SECRET": "your-api-secret"
}
}
}
}
In a container, use environment variables for credentials: tb_login stores
them inside the container, so they are lost when it exits. The image has no Java,
so startTunnel doesn't work in it: to test localhost, run the npm package
instead, or start a TestingBot Tunnel on
your machine and pass its identifier to the tools.
This server already includes the automation tools from @testingbot/automation-mcp — installing this package gives the agent the ability to actually drive a remote browser or real mobile device on TestingBot's grid, not just manage resources.
Just ask:
Open Safari 17 on macOS on TestingBot. Navigate to example.com and click the "More information" link.
The agent will call tb_openBrowser, tb_navigate, tb_snapshot, tb_click — and surface a live-view URL so you can watch it in real time. For real iOS / Android devices, the bundled appium-mcp child gives the agent the full appium_* toolbelt (appium_session_management, appium_gesture, appium_set_value, appium_screenshot, ~30 more) — no separate install or config required. Just ask: "Open an iPhone 15 Pro on iOS 17 on TestingBot, tap the login button, take a screenshot." See the @testingbot/automation-mcp README for the full tool list, caveats (sessions are metered), and configuration options.
TestingBot's browsers and devices run in the cloud, so they can't open localhost, private IPs (10.x, 192.168.x, …) or intranet hosts directly. To reach them, they need a TestingBot Tunnel running on your machine. Just ask:
Start a tunnel and open http://localhost:3000 in Chrome on Windows 11.
The agent calls startTunnel, which needs Java 17+. The tool returns the tunnel's identifier and ID, and the agent passes them on:
| Run | How it uses the tunnel |
|---|---|
tb_openBrowser (agent-driven browser) | tunnelIdentifier (required: sessions without it go direct). Or set TESTINGBOT_TUNNEL_IDENTIFIER |
appium_session_management (native apps) | "tb:options": {"tunnel-identifier": "…"} in the capabilities |
startLiveSession | tunnelId (the numeric ID) |
runMaestroTest | tunnelIdentifier. Without it, the account's newest running tunnel is used |
takeScreenshot, runAppAutomateTest (Espresso / XCUITest) | The account's newest running tunnel is used automatically |
Android apps and flows: Android never sends localhost / 127.0.0.1 through a proxy, so on an Android device or emulator those URLs reach the device itself, not your machine. Use a hostname that resolves to 127.0.0.1 on your side instead, such as http://myapp.localtest.me:3000. The tunnel resolves it on your machine.
stopTunnel stops the tunnel. Tunnels started by the server are also stopped when the server exits. If you'd rather run the tunnel yourself, start it with --tunnel-identifier <name> and give the agent that name.
startLiveSessionStart an interactive live testing session on TestingBot. Returns a link that opens the session in your TestingBot dashboard, where you confirm it with Start. Mobile sessions run on emulators/simulators; real-device live sessions are started from the dashboard.
Parameters:
platformType: "desktop" or "mobile"desiredURL: The URL to opendesiredOS: Operating system (Windows, Mac, Linux for desktop; android, ios for mobile)desiredOSVersion: OS version: Windows 11/10/8.1/8; macOS by name (Sonoma) or number (14); or a platform code like WIN11desiredBrowser (desktop only): Browser name (chrome, firefox, safari, edge, ie)desiredBrowserVersion (desktop only): Browser version or "latest"desiredDevice (mobile only): Device name (e.g., "iPhone 14", "Galaxy S23")tunnelId (optional): Numeric ID of a running tunnel, needed for localhost / private URLs (see Testing localhost and private sites)Example prompts:
"Start a live testing session on Chrome latest with Windows 11 for https://example.com" "Open https://myapp.com on iPhone 14 with iOS 16 for manual testing"
startDesktopLiveSession and startMobileLiveSession are deprecated: startLiveSession covers both with platformType. They still work for now, but are no longer listed and will be removed in a later release.
getBrowsersGet list of available browsers and platforms for testing.
Parameters:
type (optional): Filter by "web" or "mobile"Example prompt:
"Show me all available browsers for testing" "What mobile browsers are available?"
getDevicesGet list of available mobile devices (real devices and simulators).
Example prompt:
"List all available iOS devices" "Show me Android devices for testing"
getTestsRetrieve a list of recent tests with pagination.
Parameters:
offset (optional): Pagination offset (default: 0)limit (optional): Number of tests to retrieve (default: 10, max: 100)Example prompt:
"Show me my last 20 tests" "Get recent test results"
getTestDetailsGet comprehensive details about a specific test including:
Parameters:
sessionId: The session ID of the testExample prompt:
"Get details for test session abc123" "Show me the video and logs for test xyz789" "Show execution steps for test abc123"
updateTestUpdate test metadata such as name, status, or build.
Parameters:
sessionId: The session ID of the testname (optional): New name for the teststatus (optional): "passed" or "failed"build (optional): Build identifierextra (optional): Additional metadata (JSON string)Example prompt:
"Mark test abc123 as passed" "Update test xyz789 with name 'Login Flow Test'"
deleteTestDelete a test by session ID.
Parameters:
sessionId: The session ID of the test to deleteExample prompt:
"Delete test abc123"
stopTestStop a running test by session ID.
Parameters:
sessionId: The session ID of the test to stopExample prompt:
"Stop test abc123"
Explanations from TestingBot AI Insights: summary, root cause, timeline, log evidence, suggested fixes, a failure category, the likely owner and a confidence score. The account owner must first enable AI Analysis in Account Settings, which records consent to sending curated, secret-masked test logs to TestingBot's AI provider; until then both tools say how to turn it on and nothing is sent.
analyzeTestFailureStart (or reuse) an AI failure analysis of a finished test and wait for the result. A current analysis is returned without extra cost.
Parameters:
sessionId: Session ID (or numeric test ID)force (optional): Run a fresh analysis even if one existswaitSeconds (optional): How long to wait for the result (default 90, 0 returns immediately)Example prompt:
"Why did test abc123 fail?"
getAiFailureAnalysisRead an existing analysis. Never starts one.
Parameters:
sessionId: Session ID (or numeric test ID)getBuildsGet a list of builds with pagination.
Parameters:
offset (optional): Pagination offset (default: 0)limit (optional): Number of builds to retrieve (default: 10, max: 100)Example prompt:
"Show me my recent builds"
getTestsForBuildGet all tests associated with a specific build ID.
Parameters:
buildId: The build IDExample prompt:
"Show all tests for build 12345"
deleteBuildDelete a build and all its associated tests.
Parameters:
buildId: The build ID to deleteExample prompt:
"Delete build 12345"
uploadFileUpload a local file (APK, IPA, or ZIP) to TestingBot storage.
Parameters:
localFilePath: Path to the file to uploadExample prompt:
"Upload /path/to/app.apk to TestingBot"
uploadRemoteFileUpload a file from a remote URL to TestingBot storage.
Parameters:
remoteUrl: URL of the file to uploadExample prompt:
"Upload https://example.com/app.ipa to TestingBot"
getStorageFilesList all files in TestingBot storage.
Parameters:
offset (optional): Pagination offset (default: 0)limit (optional): Number of files to retrieve (default: 10, max: 100)Example prompt:
"Show me all uploaded apps"
deleteStorageFileDelete a file from TestingBot storage.
Parameters:
appUrl: The app_url of the file to deleteExample prompt:
"Delete app tb://app123 from storage"
Run Maestro flows on TestingBot real devices, emulators, and simulators. Runs are asynchronous: start one, poll its status, then fetch results — the agent is never blocked while devices execute.
uploadMaestroAppUpload the app under test (.apk, .aab, .ipa, or zipped .app). Uploads are deduplicated by checksum — re-running with the same binary is instant.
Parameters:
localFilePath: Local path to the app fileReturns a Project ID used by the other Maestro tools.
Example prompt:
"Upload ./build/app.apk for Maestro testing"
uploadMaestroFlowsUpload the Maestro flow YAML files for a project. Accepts a directory (structure preserved, so runFlow subflows keep working), a pre-built .zip, or inline YAML written by the agent. Replaces previously uploaded flows.
Parameters:
projectId: Project ID from uploadMaestroAppflowsPath (optional): Directory or .zip of flow YAML filesflows (optional): Inline flows as [{ fileName, content }]runMaestroTestStart a Maestro run. Returns immediately with the run ID — poll with getMaestroRunStatus.
Parameters:
projectId: Project IDplatformName: "Android" or "iOS"deviceName (optional): Device name, wildcards/regex supported (e.g. "Pixel 8", "iPhone 1[4-6]", "*")version (optional): OS versionrealDevice (optional): Run on a physical device (required for .ipa)name (optional): Run name shown in the dashboardenv (optional): Environment variables passed to the flowsincludeTags / excludeTags (optional): Filter flows by Maestro tagsshardSplit (optional): Split flows across parallel devicesotherApps (optional): Up to 4 companion app URLs to install alongside the apptunnelIdentifier (optional): Run through this tunnel, so the app can reach localhost / private backendsExample prompt:
"Run my Maestro flows on a real Pixel 8 with Android 14"
getMaestroRunStatusPoll run progress. Lists per-flow statuses (WAITING, READY, DONE, FAILED, CANCELLED), failures first.
getMaestroRunResultsFinal results of a completed run: per-flow outcomes plus the JUnit XML report.
getMaestroFlowDetailsDeep-dive into one flow: error messages, step-level JUnit report, and links to the video, screenshots, and device logs. This is the debugging tool — fetch it for a failed flow, fix the YAML, then retry.
Parameters: projectId, runId, flowId
cancelMaestroRun / retryMaestroRunCancel a running run, or retry a run — pass flowId to retry only a single failed flow.
uploadMaestroCompanionAppUpload a supplementary app installed alongside the app under test. Returns a tb:// URL for runMaestroTest's otherApps.
listMaestroProjects / listMaestroRunsDiscover existing projects (app, flows, run IDs) and runs across the account. listMaestroRuns accepts a buildName to look up runs by name — e.g. "rerun whatever failed in last night's nightly build".
maestroCheatSheetReturns a Maestro YAML syntax reference (commands, selectors, flow structure, and the TestingBot workflow). Agents call this before writing or fixing flows.
Example workflow:
User: "Run the Maestro flows in ./flows against ./app.apk on a real Pixel 8. Fix any failures."
Assistant: [uploadMaestroApp → uploadMaestroFlows → runMaestroTest]
Assistant: [polls getMaestroRunStatus until complete]
Assistant: [getMaestroFlowDetails for the failed flow, reads the error + screenshots]
Assistant: [fixes the flow YAML, uploadMaestroFlows, retryMaestroRun]
Run pre-built Espresso (Android) and XCUITest (iOS) suites on TestingBot devices. Same async pattern: start, poll, fetch results.
uploadAppAutomateAppUpload the app under test: .apk/.aab for Espresso, .ipa for XCUITest.
Parameters: framework ("espresso" or "xcuitest"), localFilePath
uploadAppAutomateTestsUpload the test suite: the instrumented test .apk for Espresso, or the zipped XCUITest runner bundle.
Parameters: framework, projectId, localFilePath
runAppAutomateTestStart a run. Returns immediately with the run ID.
Parameters:
framework, projectIddeviceName, version, realDevice, name, build (optional): device selection and metadatatestClasses, skipTestClasses, packages, annotations, testRunner (optional, Espresso only): test filteringlocale, timeZone (optional)Example prompt:
"Run the Espresso suite on a real Galaxy S23, only the com.example.LoginTest class"
getAppAutomateRunStatus / getAppAutomateRunResultsPoll run progress, then fetch per-run outcomes and the JUnit XML report. Each run's Appium session ID is surfaced, so getTestDetails / getFailureLogs work for logs and video.
Review hosted visual tests: find failed runs, see what changed, approve or reject. When the account owner has turned on AI region names, each changed region carries a one-line AI description of the change; reading a run never sends anything to an AI provider.
getVisualTestsList hosted visual tests. Parameters: offset, limit (optional)
getVisualRunsList visual runs, newest first. Parameters: testId, state (failed, unreviewed, passed), offset, limit (all optional)
explainVisualRunWhat changed in a run: regions with names, AI change descriptions, text and CSS changes, and image links. Parameters: runId
Example prompt:
"Which visual tests failed today, and what changed on the pricing page?"
reviewVisualRunApprove or reject a run. Parameters: runId, decision (approve/reject), makeBaseline (optional, with approve)
Results of scheduled accessibility scans, scored like the dashboard: WCAG A/AA violations decide pass/fail; needs-review items and best-practice recommendations do not. Automated checks cover only part of WCAG.
getAccessibilityTestsScheduled accessibility tests with their latest result. Parameters: offset, limit (optional)
getAccessibilityRunsScans of one test, newest first. Parameters: testId, offset, limit
getAccessibilityFindingsFailing rules with the elements (selector, HTML, how to fix) and what is new or resolved since the previous scan. Parameters: runId, elementsPerRule (optional, default 5)
Example prompt:
"What accessibility issues does our checkout page have, and which are new since the last scan?"
runAccessibilityTestStart a scan now. Parameters: testId
takeScreenshotTake screenshots of a URL across multiple browsers and platforms.
Parameters:
url: The URL to screenshotbrowsers: Array of browser configurations
browserName: Browser name (chrome, firefox, safari, etc.)version (optional): Browser version or "latest"os: Operating system (WIN11, MAC, etc.)resolution (optional): Screen resolution (default: "1920x1080")waitTime (optional): Seconds to wait before screenshot (default: 5, max: 60)fullPage (optional): Capture full page or viewport (default: false)For a localhost / private URL, the screenshots go through the account's newest running tunnel. If no tunnel is running, the tool says so instead of taking the screenshots.
Example prompt:
"Take a screenshot of https://example.com on Chrome and Firefox" "Screenshot my homepage on mobile devices"
retrieveScreenshotsRetrieve screenshot results by screenshot ID.
Parameters:
screenshotId: The screenshot ID from takeScreenshotExample prompt:
"Get screenshots for job abc123"
getScreenshotListGet a list of all screenshot jobs.
Parameters:
offset (optional): Pagination offset (default: 0)limit (optional): Number of jobs to retrieve (default: 10, max: 100)Example prompt:
"Show me my recent screenshot jobs"
getUserInfoGet current user account information including minutes used, plan details, and limits.
Example prompt:
"Show my account information" "How many minutes have I used?"
updateUserInfoUpdate user account information.
Parameters:
firstName (optional): First namelastName (optional): Last nameemail (optional): Email addressExample prompt:
"Update my email to newemail@example.com"
getTeamGet team information including concurrency: parallel sessions allowed, running right now and queued (waiting for a free slot), for VMs and physical devices. Counts are team-wide and match the dashboard.
Example prompt:
"Show my team information" "What are my team's concurrency limits?" "How many of my tests are running or queued right now?"
getUsersInTeamList all users in your team with their roles and access levels.
Parameters:
offset (optional): Pagination offset (default: 0)limit (optional): Number of users to retrieve (default: 10, max: 100)Example prompt:
"Show me all team members" "List users in my team"
getUserFromTeamGet detailed information about a specific team member by user ID.
Parameters:
userId: The user ID to retrieveExample prompt:
"Show details for user 12345"
createCdpSessionCreate a Chrome DevTools Protocol session for advanced browser automation. Returns a WebSocket URL to connect to the browser.
Parameters:
browserName: Browser name (chrome, firefox, safari, edge, etc.)browserVersion (optional): Browser version or "latest" (default: latest)platform: Operating system platformscreenResolution (optional): Screen resolution (e.g., "1920x1080")name (optional): Session namebuild (optional): Build identifierExample prompt:
"Create a CDP session on Chrome latest with Windows 11" "Start a CDP session on Firefox 120 for automation"
TestingBot's browsers and devices run in the cloud. To test localhost, private IPs or intranet sites, they need a TestingBot Tunnel running on your machine. These tools can start one for you.
startTunnelStarts a TestingBot Tunnel on the machine running the MCP server and waits until it is ready. Returns the tunnel's identifier and numeric ID. The tunnel stops with stopTunnel or when the MCP server exits. On first use the tunnel is downloaded, and it needs Java 17 or newer.
Parameters:
tunnelIdentifier (optional): Name for the tunnel. If you don't give one, a unique one is generated.shared (optional): Share the tunnel with your teamnoBump (optional): Do not re-sign HTTPS traffic (for certificate pinning or client certificates)noCache (optional): Disable caching in the tunnelExample prompt:
"Start a tunnel and open http://localhost:3000 in Chrome on Windows 11"
stopTunnelStops a tunnel started with startTunnel.
Parameters:
tunnelIdentifier (optional): The tunnel to stop. Can be left out when only one tunnel is running.all (optional): Stop every tunnel this server startedgetTunnelListGet a list of all active TestingBot tunnels on your account, with their identifiers. Tunnels allow testing websites behind firewalls or on your local machine.
Example prompt:
"Show me all active tunnels" "List my TestingBot tunnels"
deleteTunnelDelete an active TestingBot tunnel by ID. This terminates the tunnel connection.
Parameters:
tunnelId: The tunnel ID to deleteExample prompt:
"Delete tunnel 12345"
Besides tools, the server offers MCP prompts: task recipes your client can show as slash commands:
| Prompt | Arguments | What it does |
|---|---|---|
why-did-my-test-fail | sessionId | Test status, AI failure analysis when enabled, failing log lines, likely cause and fixes |
summarise-build | buildId | Pass/fail counts, failures grouped by shared cause, what to fix first |
find-flaky-tests | timeRange (optional, default 30d) | Tests that both passed and failed, and why each is unstable |
and read-only resources a client can attach to a conversation:
| URI | Content |
|---|---|
testingbot://tests/{sessionId} | Test details (JSON) |
testingbot://tests/{sessionId}/logs/{logType} | One log file, last 200 KB (selenium, browser, chrome, vm, appium) |
testingbot://builds/{buildId} | Tests in a build (JSON) |
testingbot://insights/flaky-tests | Flaky tests over the last 30 days; ?time_range=7d to change it |
The same recipes, plus workflow skills for running your suite on TestingBot, testing localhost, running Maestro flows and cross-browser checks, ship as agent skills in plugins/testingbot/skills/ (one SKILL.md per task) for agents that load skills from files.
User: "Show me all available browsers for web testing"
Assistant: [Lists all web browsers]
User: "Take a screenshot of https://myapp.com on Chrome latest and Firefox latest on Windows 11"
Assistant: [Creates screenshot job and returns ID]
User: "Get the screenshots for job abc123"
Assistant: [Returns screenshot URLs]
User: "Upload my app from https://example.com/app.apk"
Assistant: [Uploads app and returns tb://app123]
User: "Show me all my uploaded apps"
Assistant: [Lists storage files]
User: "Show me the last 10 tests"
Assistant: [Shows recent test results]
User: "Write a Maestro flow that logs into my app and run it on a real Pixel 8"
Assistant: [maestroCheatSheet for syntax, writes the flow YAML]
Assistant: [uploadMaestroApp ./app.apk → project 42]
Assistant: [uploadMaestroFlows with the inline flow]
Assistant: [runMaestroTest on Pixel 8 with realDevice: true → run 101]
Assistant: [polls getMaestroRunStatus, then getMaestroRunResults]
User: "The checkout flow failed — figure out why and fix it"
Assistant: [getMaestroFlowDetails → reads error + screenshots + video]
Assistant: [fixes the YAML, uploadMaestroFlows, retryMaestroRun]
User: "Show me my recent builds"
Assistant: [Lists recent builds]
User: "Show all tests for build 12345"
Assistant: [Lists tests in that build]
User: "Mark test xyz789 as passed with build name 'Release 1.0'"
Assistant: [Updates test]
User: "Show me my team information"
Assistant: [Shows team concurrency limits and settings]
User: "List all team members"
Assistant: [Lists all users in the team]
User: "Show me all active tunnels"
Assistant: [Lists active TestingBot tunnels]
User: "Start a tunnel and check that http://localhost:3000 loads in Safari on macOS"
Assistant: [Starts a tunnel, opens Safari with that tunnel, loads the page]
User: "Stop the tunnel"
Assistant: [Stops the tunnel it started]
User: "Create a CDP session on Chrome latest with Windows 11"
Assistant: [Creates session and returns WebSocket URL]
User: "Show me test execution steps for session abc123"
Assistant: [Shows detailed command history with timestamps]
# Clone the repository
git clone https://github.com/testingbot/mcp-server.git
cd testingbot-mcp-server
# Install dependencies
npm install
# Set up environment variables
cp .env.example .env
# Edit .env with your credentials
# Build the project (runs lint, format, test, and compile)
npm run build
# Development mode with watch
npm run dev
# Run tests
npm test
# Lint code
npm run lint
# Format code
npm run format
# Build the .mcpb bundle for Claude Desktop (see section below)
npm run mcpb
# Development mode
npm run dev
# Production mode
npm start
Use the MCP Inspector to test tools during development:
npx @modelcontextprotocol/inspector node dist/index.js
Then open http://localhost:5173 in your browser.
.mcpb bundle (Claude Desktop release)The .mcpb archive is what users double-click to install in Claude Desktop. The installer reads manifest.json#user_config and shows a credential prompt — no JSON editing or env-var fiddling.
# Prerequisites: mcpb CLI (one-time)
npm install -g @anthropic-ai/mcpb
# Build the bundle
npm run mcpb
This runs scripts/build-mcpb.sh, which:
npm run build → lint → format → test → tsc).dist/, manifest.json, package.json, LICENSE, README.md, icon.png if present).npm ci --omit=dev inside staging — dev deps (typescript, eslint, vitest) never enter the bundle. @testingbot/automation-mcp is pulled from npm at the version pinned in package.json.mcpb pack honoring .mcpbignore (strips test fixtures, source maps, dependency changelogs).releases/testingbot-mcp-server-<version>.mcpb and runs mcpb info on it.Output is roughly 160 MB — most of that is the bundled appium-mcp mobile driver stack (XCUITest, UiAutomator2). The bundle is paid for once at install, not at runtime.
For active development on both @testingbot/mcp-server and @testingbot/automation-mcp in lockstep, use npm run dev:rebuild from this repo. It builds both, then npm links the sibling into this repo's node_modules so edits in ../testingbot-automation-mcp/src/ take effect on the next rebuild without a republish.
The link is one-shot — once set up, dev:rebuild notices it's in place and just builds. If you ever run npm install in this repo, the link is replaced with the registry copy; rerun dev:rebuild to restore.
The release flow has two coordinated publish steps:
@testingbot/automation-mcp to npm (from ../testingbot-automation-mcp):
npm version patch # or minor / major
npm publish # publishConfig.access is "public" — handles scoped-pkg defaults
npm install @testingbot/automation-mcp@latest # updates package-lock.json
npm version patch # also syncs manifest.json + server.json
git push --follow-tags
# → Create a GitHub release at the new tag. The Build MCPB workflow
# fires on release:published and attaches releases/*.mcpb to it.
The release CI (.github/workflows/build-mcpb.yml) runs npm run mcpb on macos-latest and uploads the bundle as both a workflow artifact (30-day retention) and a release asset. Manual re-build: trigger via the Actions tab → "Build MCPB bundle" → enter the tag.
macOS is chosen so the bundled appium-xcuitest-driver carries its native bits. If you only target Linux/Windows users, you can switch the runner to ubuntu-latest for ~10× cheaper minutes — at the cost of iOS support in the bundled mobile path. Browser tools (via WebDriver) work cross-platform regardless.
To validate the manifest without building:
npm run mcpb:validate
To inspect a built bundle:
mcpb info releases/testingbot-mcp-server-<version>.mcpb
mcpb unpack releases/testingbot-mcp-server-<version>.mcpb /tmp/unpacked # see what's inside
The bundle is unsigned. To sign for distribution, run mcpb sign --self-signed (smoke-test) or mcpb sign with a real cert. See mcpb sign --help.
releases/*.mcpb is gitignored — upload the artefact to the GitHub releases page (or wherever your install URL points at) after building.
testingbot-mcp-server/
├── src/
│ ├── index.ts # Entry point
│ ├── server-factory.ts # MCP server setup
│ ├── config.ts # Configuration management
│ ├── lib/
│ │ ├── types.ts # TypeScript types
│ │ ├── constants.ts # Constants and enums
│ │ ├── error.ts # Error classes
│ │ ├── logger.ts # Logging setup
│ │ ├── utils.ts # Utility functions
│ │ ├── get-auth.ts # Authentication helpers
│ │ └── app-automate-client.ts # REST client for Maestro/Espresso/XCUITest
│ └── tools/
│ ├── maestro.ts # Maestro run tools (upload, run, poll, diagnose)
│ ├── app-automate.ts # Espresso & XCUITest run tools
│ ├── browsers.ts # Browser & device tools
│ ├── tests.ts # Test management tools
│ ├── builds.ts # Build management tools
│ ├── storage.ts # Storage tools
│ ├── screenshots.ts # Screenshot tools
│ ├── user.ts # User management tools
│ ├── team.ts # Team management tools
│ ├── cdp.ts # Chrome DevTools Protocol tools
│ ├── tunnels.ts # Tunnel management tools
│ └── live.ts # Live testing session tools
├── tests/
│ └── tools/ # Unit tests
├── dist/ # Compiled output
└── package.json
If you see authentication errors:
tb_login tool (just ask the agent to "log me in to TestingBot") — the simplest fix, no key/secret neededtb_login credentials file)If the MCP server won't connect:
If tools fail to execute:
To enable debug logging, set the LOG_LEVEL environment variable:
export LOG_LEVEL=debug
Or in your MCP client configuration:
{
"mcpServers": {
"testingbot": {
"command": "npx",
"args": ["-y", "@testingbot/mcp-server"],
"env": {
"TESTINGBOT_KEY": "your-api-key",
"TESTINGBOT_SECRET": "your-api-secret",
"LOG_LEVEL": "debug"
}
}
}
}
Contributions are welcome! Please feel free to submit a Pull Request.
git checkout -b feature/amazing-feature)git commit -m 'Add some amazing feature')git push origin feature/amazing-feature)This project is licensed under the MIT License - see the LICENSE file for details.