# BenchFleet MCP server

> Allows AI agents to interact with real Android phones through screen viewing, element reading, tapping, typing, and running workflows.

- Repository: https://github.com/benchfleet/benchfleet-mcp
- Page: https://hostedmcp.org/servers/benchfleet/benchfleet-mcp
- Transport: stdio
- Stars: 0
- Latest version: 1.0.4

## Install

### Claude Code

```sh
claude mcp add --env 'BENCHFLEET_TOKEN=<YOUR_BENCHFLEET_TOKEN>' benchfleet-mcp -- npx -y benchfleet-mcp
```

### Cursor (`~/.cursor/mcp.json`)

```json
{
  "mcpServers": {
    "benchfleet-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "benchfleet-mcp"
      ],
      "env": {
        "BENCHFLEET_TOKEN": "<YOUR_BENCHFLEET_TOKEN>"
      }
    }
  }
}
```

### VS Code (`.vscode/mcp.json`)

```json
{
  "servers": {
    "benchfleet-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "benchfleet-mcp"
      ],
      "env": {
        "BENCHFLEET_TOKEN": "<YOUR_BENCHFLEET_TOKEN>"
      }
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"benchfleet-mcp","type":"stdio","command":"npx","args":["-y","benchfleet-mcp"],"env":{"BENCHFLEET_TOKEN":"<YOUR_BENCHFLEET_TOKEN>"}}'
```

### Claude Desktop (`claude_desktop_config.json`)

```json
{
  "mcpServers": {
    "benchfleet-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "benchfleet-mcp"
      ],
      "env": {
        "BENCHFLEET_TOKEN": "<YOUR_BENCHFLEET_TOKEN>"
      }
    }
  }
}
```

### Codex

```sh
codex mcp add benchfleet-mcp --env 'BENCHFLEET_TOKEN=<YOUR_BENCHFLEET_TOKEN>' -- npx -y benchfleet-mcp
```

### Codex config.toml (`~/.codex/config.toml`)

```toml
[mcp_servers.benchfleet-mcp]
command = "npx"
args = ["-y", "benchfleet-mcp"]

[mcp_servers.benchfleet-mcp.env]
BENCHFLEET_TOKEN = "<YOUR_BENCHFLEET_TOKEN>"
```

### Gemini CLI

```sh
gemini mcp add -s user -e 'BENCHFLEET_TOKEN=<YOUR_BENCHFLEET_TOKEN>' benchfleet-mcp npx -- -y benchfleet-mcp
```

### Gemini settings.json (`~/.gemini/settings.json`)

```json
{
  "mcpServers": {
    "benchfleet-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "benchfleet-mcp"
      ],
      "env": {
        "BENCHFLEET_TOKEN": "<YOUR_BENCHFLEET_TOKEN>"
      }
    }
  }
}
```

## Environment variables

| Name | Required | Secret | Description |
|---|---|---|---|
| `BENCHFLEET_TOKEN` | yes | yes | The token from BenchFleet: Settings → AI clients → Connect an AI client |

## FAQ

### How do I set up BenchFleet with Claude Code?

You can add it using the command: claude mcp add benchfleet --env BENCHFLEET_TOKEN=<token> -- npx -y benchfleet-mcp.

### Can the AI agent access sensitive information like passwords?

The agent can use the type_secret tool to enter passwords from BenchFleet's vault without ever seeing the actual value.

### What happens if the agent encounters a CAPTCHA?

CAPTCHAs and other human-only checks will stop the agent and require a person to intervene.

### Does this server provide shell access or file transfers?

No, the server does not include shell, file transfer, or install tools; it only provides the specific tools allowed by the permissions.
