# RoamProxy MCP server

> Allows AI agents to browse the web using residential, datacenter, and mobile proxy IPs across 190+ countries.

- Repository: https://github.com/roamproxy/roamproxy-mcp
- Page: https://hostedmcp.org/servers/roamproxy/roamproxy-mcp
- Transport: stdio
- Stars: 0
- License: MIT
- Latest version: 0.1.1

## Install

### Claude Code

```sh
claude mcp add --env 'ROAM_API_TOKEN=<YOUR_ROAM_API_TOKEN>' roamproxy-mcp -- npx -y roamproxy-mcp
```

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

```json
{
  "mcpServers": {
    "roamproxy-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "roamproxy-mcp"
      ],
      "env": {
        "ROAM_API_TOKEN": "<YOUR_ROAM_API_TOKEN>"
      }
    }
  }
}
```

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

```json
{
  "servers": {
    "roamproxy-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "roamproxy-mcp"
      ],
      "env": {
        "ROAM_API_TOKEN": "<YOUR_ROAM_API_TOKEN>"
      }
    }
  }
}
```

### VS Code CLI

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

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

```json
{
  "mcpServers": {
    "roamproxy-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "roamproxy-mcp"
      ],
      "env": {
        "ROAM_API_TOKEN": "<YOUR_ROAM_API_TOKEN>"
      }
    }
  }
}
```

### Codex

```sh
codex mcp add roamproxy-mcp --env 'ROAM_API_TOKEN=<YOUR_ROAM_API_TOKEN>' -- npx -y roamproxy-mcp
```

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

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

[mcp_servers.roamproxy-mcp.env]
ROAM_API_TOKEN = "<YOUR_ROAM_API_TOKEN>"
```

### Gemini CLI

```sh
gemini mcp add -s user -e 'ROAM_API_TOKEN=<YOUR_ROAM_API_TOKEN>' roamproxy-mcp npx -- -y roamproxy-mcp
```

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

```json
{
  "mcpServers": {
    "roamproxy-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "roamproxy-mcp"
      ],
      "env": {
        "ROAM_API_TOKEN": "<YOUR_ROAM_API_TOKEN>"
      }
    }
  }
}
```

## Environment variables

| Name | Required | Secret | Description |
|---|---|---|---|
| `ROAM_API_TOKEN` | yes | yes | Your RoamProxy API token (member dashboard > Rotating residential > API) |

## Tools (4)

- `fetch_url`
- `get_proxy`
- `check_ip`
- `account_status`

## FAQ

### How much does the MCP server cost?

The MCP server is free and open source, but traffic is billed to your RoamProxy wallet at standard rates.

### What happens if a specific city is unavailable?

If a city has no stock, the gateway automatically falls back to the state or country level instead of failing.
