---
title: Install the TestingBot MCP Server in Your AI Client
description: 1-click install for Cursor, VS Code, Kiro and Goose, a .mcpb bundle for
  Claude Desktop, and one command for Claude Code, Codex, Gemini CLI and Copilot CLI.
source_url:
  html: https://testingbot.com/mcp/install
  md: https://testingbot.com/mcp/install.md
---

# Install the TestingBot MCP server

Pick your AI client. The server runs on your machine through npx and needs Node.js 20 or later. There is no API key to paste: after installing, ask your agent to log in to TestingBot.

- [Claude Code](https://testingbot.com#claude-code)
- [Cursor](https://testingbot.com#cursor)
- [VS Code](https://testingbot.com#vscode)
- [Claude Desktop](https://testingbot.com#claude-desktop)
- [Codex CLI](https://testingbot.com#codex)
- [Gemini CLI](https://testingbot.com#gemini)
- [Kiro](https://testingbot.com#kiro)
- [Windsurf](https://testingbot.com#windsurf)
- [Goose](https://testingbot.com#goose)
- [Copilot CLI](https://testingbot.com#copilot-cli)
- [Other clients](https://testingbot.com#other)

## Claude Code

1. 1

Add the server

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

Adds the server to the current project. Add `--scope user` for all your projects, or `--scope project` to write a `.mcp.json` you can commit.

.mcp.json Copy

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

2. 2

Sign in from the agent

Ask “Log in to TestingBot”. A browser window opens and you click Authorize. On a machine without a browser you get a short code to enter at [testingbot.com/device](https://testingbot.com/device). No account yet? [Create one free](https://testingbot.com/users/sign_up).

3. 3

Check that it works

Run `/mcp` inside Claude Code: `testingbot` shows as connected. Then ask “List my recent TestingBot tests”.

## Cursor

1. 1

Add the server

[Add to Cursor](cursor://anysphere.cursor-deeplink/mcp/install?name=TestingBot&config=eyJjb21tYW5kIjoibnB4IiwiYXJncyI6WyIteSIsIkB0ZXN0aW5nYm90L21jcC1zZXJ2ZXJAbGF0ZXN0Il19)

Cursor opens and asks to install the server. To set it up by hand, add the config to `.cursor/mcp.json` in your project, or `~/.cursor/mcp.json` for every project.

.cursor/mcp.json Copy

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

2. 2

Sign in from the agent

Ask “Log in to TestingBot”. A browser window opens and you click Authorize. On a machine without a browser you get a short code to enter at [testingbot.com/device](https://testingbot.com/device). No account yet? [Create one free](https://testingbot.com/users/sign_up).

3. 3

Check that it works

The server appears under **Cursor Settings → MCP** with its tools listed. Then ask “List my recent TestingBot tests”.

## VS Code

1. 1

Add the server

[Install in VS Code](https://insiders.vscode.dev/redirect/mcp/install?name=TestingBot&inputs=%5B%7B%22id%22%3A%22TESTINGBOT_KEY%22%2C%22type%22%3A%22promptString%22%2C%22description%22%3A%22TestingBot+Key%22%7D%2C%7B%22id%22%3A%22TESTINGBOT_SECRET%22%2C%22type%22%3A%22promptString%22%2C%22description%22%3A%22TestingBot+Secret%22%2C%22password%22%3Atrue%7D%5D&config=%7B%22type%22%3A%22stdio%22%2C%22command%22%3A%22npx%22%2C%22args%22%3A%5B%22-y%22%2C%22%40testingbot%2Fmcp-server%40latest%22%5D%2C%22env%22%3A%7B%22TESTINGBOT_KEY%22%3A%22%24%7Binput%3ATESTINGBOT_KEY%7D%22%2C%22TESTINGBOT_SECRET%22%3A%22%24%7Binput%3ATESTINGBOT_SECRET%7D%22%7D%7D)

VS Code asks for your key and secret: leave both empty to sign in from the chat instead. By hand, add the config to `.vscode/mcp.json`. VS Code nests servers under `servers`, not `mcpServers`.

.vscode/mcp.json Copy

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

2. 2

Sign in from the agent

Ask “Log in to TestingBot”. A browser window opens and you click Authorize. On a machine without a browser you get a short code to enter at [testingbot.com/device](https://testingbot.com/device). No account yet? [Create one free](https://testingbot.com/users/sign_up).

3. 3

Check that it works

Open Copilot Chat in **Agent** mode and click the tools icon: the TestingBot tools are listed. Then ask “List my recent TestingBot tests”.

## Claude Desktop

1. 1

Add the server

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

Double-click the downloaded file and Claude Desktop installs the server. It asks for an API key and secret: leave them empty to sign in from the chat. A `.mcpb` does not update itself, so download it again for new releases. To use npx instead, add the config to `claude_desktop_config.json` ( **Settings → Developer → Edit Config** ).

claude\_desktop\_config.json Copy

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

2. 2

Sign in from the agent

Ask “Log in to TestingBot”. A browser window opens and you click Authorize. On a machine without a browser you get a short code to enter at [testingbot.com/device](https://testingbot.com/device). No account yet? [Create one free](https://testingbot.com/users/sign_up).

3. 3

Check that it works

TestingBot shows under **Settings → Extensions** , and its tools appear in the tools menu of a new chat. Then ask “List my recent TestingBot tests”.

## Codex CLI

1. 1

Add the server

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

Writes to `~/.codex/config.toml`, which the Codex IDE extension reads too. By hand, add this table:

~/.codex/config.toml Copy

[mcp\_servers.testingbot] command = "npx" args = ["-y", "@testingbot/mcp-server@latest"]

2. 2

Sign in from the agent

Ask “Log in to TestingBot”. A browser window opens and you click Authorize. On a machine without a browser you get a short code to enter at [testingbot.com/device](https://testingbot.com/device). No account yet? [Create one free](https://testingbot.com/users/sign_up).

3. 3

Check that it works

Run `codex mcp list`, or `/mcp` inside Codex. Then ask “List my recent TestingBot tests”.

## Gemini CLI

1. 1

Add the server

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

Writes to `.gemini/settings.json` in the current project. Add `-s user` to use `~/.gemini/settings.json` for every project.

.gemini/settings.json Copy

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

2. 2

Sign in from the agent

Ask “Log in to TestingBot”. A browser window opens and you click Authorize. On a machine without a browser you get a short code to enter at [testingbot.com/device](https://testingbot.com/device). No account yet? [Create one free](https://testingbot.com/users/sign_up).

3. 3

Check that it works

Run `/mcp` inside Gemini CLI: `testingbot` is listed with its tools. Then ask “List my recent TestingBot tests”.

## Kiro

1. 1

Add the server

[Add to Kiro](https://kiro.dev/launch/mcp/add?name=TestingBot&config=%7B%22command%22%3A%22npx%22%2C%22args%22%3A%5B%22-y%22%2C%22%40testingbot%2Fmcp-server%40latest%22%5D%7D)

Kiro opens and asks to add the server. By hand, add the config to `.kiro/settings/mcp.json` in your workspace, or `~/.kiro/settings/mcp.json` for every workspace (the workspace file wins).

.kiro/settings/mcp.json Copy

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

2. 2

Sign in from the agent

Ask “Log in to TestingBot”. A browser window opens and you click Authorize. On a machine without a browser you get a short code to enter at [testingbot.com/device](https://testingbot.com/device). No account yet? [Create one free](https://testingbot.com/users/sign_up).

3. 3

Check that it works

Open the **MCP Servers** section of the Kiro panel: TestingBot is connected. Then ask “List my recent TestingBot tests”.

## Windsurf

1. 1

Add the server

Open **Settings → Cascade → MCP Servers → Manage MCPs → View raw config** , or edit `~/.codeium/windsurf/mcp_config.json`, and paste:

~/.codeium/windsurf/mcp\_config.json Copy

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

2. 2

Sign in from the agent

Ask “Log in to TestingBot”. A browser window opens and you click Authorize. On a machine without a browser you get a short code to enter at [testingbot.com/device](https://testingbot.com/device). No account yet? [Create one free](https://testingbot.com/users/sign_up).

3. 3

Check that it works

Refresh the MCP servers list in Cascade. Then ask “List my recent TestingBot tests”.

## Goose

1. 1

Add the server

[Add to Goose](goose://extension?cmd=npx&arg=-y&arg=%40testingbot%2Fmcp-server%40latest&timeout=300&id=testingbot&name=TestingBot&description=Run%20tests%20on%20TestingBot%27s%20real%20browsers%20and%20physical%20iOS%20and%20Android%20devices.)

Goose Desktop opens and asks to add the extension. In the CLI, run `goose configure`, choose **Add Extension → Command-line Extension** and enter `npx -y @testingbot/mcp-server@latest`, or add it to `~/.config/goose/config.yaml`:

~/.config/goose/config.yaml Copy

extensions: testingbot: type: stdio name: TestingBot cmd: npx args: ["-y", "@testingbot/mcp-server@latest"] enabled: true timeout: 300

2. 2

Sign in from the agent

Ask “Log in to TestingBot”. A browser window opens and you click Authorize. On a machine without a browser you get a short code to enter at [testingbot.com/device](https://testingbot.com/device). No account yet? [Create one free](https://testingbot.com/users/sign_up).

3. 3

Check that it works

TestingBot is listed and switched on under **Extensions**. Then ask “List my recent TestingBot tests”.

## Copilot CLI

1. 1

Add the server

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

Writes to `~/.copilot/mcp-config.json`. You can also type `/mcp add` inside a session.

~/.copilot/mcp-config.json Copy

{ "mcpServers": { "testingbot": { "type": "local", "command": "npx", "args": ["-y", "@testingbot/mcp-server@latest"], "tools": ["\*"] } } }

2. 2

Sign in from the agent

Ask “Log in to TestingBot”. A browser window opens and you click Authorize. On a machine without a browser you get a short code to enter at [testingbot.com/device](https://testingbot.com/device). No account yet? [Create one free](https://testingbot.com/users/sign_up).

3. 3

Check that it works

Run `/mcp show` inside Copilot CLI. Then ask “List my recent TestingBot tests”.

## Other clients

1. 1

Add the server

Cline, Continue, Zed, JetBrains and any client that can start a stdio MCP server use the same command. Most take this JSON; the [setup guide](https://testingbot.com/support/ai/mcp/setup#configuration) has the exact file for Cline and Continue.

mcp.json Copy

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

2. 2

Sign in from the agent

Ask “Log in to TestingBot”. A browser window opens and you click Authorize. On a machine without a browser you get a short code to enter at [testingbot.com/device](https://testingbot.com/device). No account yet? [Create one free](https://testingbot.com/users/sign_up).

3. 3

Check that it works

Look for the TestingBot tools in your client's tool list. Then ask “List my recent TestingBot tests”.

## Using it in CI or a shared config?

Skip the browser login and set `TESTINGBOT_KEY` and `TESTINGBOT_SECRET` in the server's `env` block. Your keys are in your [account settings](https://testingbot.com/members/user/security). The [authentication guide](https://testingbot.com/support/ai/mcp/authentication) covers both, and [troubleshooting](https://testingbot.com/support/ai/mcp/troubleshooting) helps if the server does not connect.

Want to see what your agent can do with it first? [See the tools and example prompts](https://testingbot.com/mcp).
