Skip to main content
Glama
README.md
# ipv.rent for AI agents

Residential, ISP, datacenter IPv4 and mobile proxies from [ipv.rent](https://ipv.rent) as tools
for Claude, ChatGPT, Grok Build and other MCP clients: prices, balance and packages, purchases, ready
connection strings, IP rotation, and proxies wired into Playwright, Playwright MCP and Playwriter.

- **Hosted MCP server:** `https://mcp.ipv.rent/mcp` (Streamable HTTP). Sign-in: paste an ipv.rent
  API key on the ipv.rent sign-in page, once.
- **Local helper** (optional): the same tools plus the ones that act on your computer - Chrome
  through a proxy for Playwriter, fetching pages through a proxy, comparing a page across countries.

## API key

1. Sign up at https://app.ipv.rent/register and confirm the email.
2. Create a key at https://app.ipv.rent/profile. The secret is shown once.
3. Pick permissions. They cannot be changed later; a different set means a new key.

| Permission | Enables |
|---|---|
| `catalog:read` | `ipvrent_catalog`, `ipvrent_quote` |
| `billing:read` | balance in `ipvrent_account` |
| `packages:read` | packages in `ipvrent_account`, `ipvrent_connection`, `ipvrent_playwright_proxy`, `ipvrent_browser_proxy` with `package_id` |
| `packages:write` | `ipvrent_provision` (buys with the balance) |

Removing the key in the account cuts access: tool calls fail at once, and within an hour the client
asks to sign in again.

## Connect

### Claude Code

```bash
claude plugin marketplace add ipv-rent/plugins
claude plugin install proxies@ipv-rent
```

Then `/mcp`, select `ipvrent`, Authenticate, paste the key on the sign-in page.

Without the plugin: `claude mcp add --transport http ipvrent https://mcp.ipv.rent/mcp`.

### claude.ai and Claude Desktop

Settings - Connectors - Add custom connector, URL `https://mcp.ipv.rent/mcp`, Connect.
Optional skill for claude.ai: `npm run skill-zip` builds `build/ipvrent-skill.zip`; upload it in
Settings - Capabilities - Skills.

### ChatGPT

Turn on developer mode (Settings - Apps - Advanced settings), create an app with URL
`https://mcp.ipv.rent/mcp` and OAuth authentication.

### Grok Build (formerly Cursor)

[Install in Grok Build](https://cursor.com/en/install-mcp?name=ipvrent&config=eyJ1cmwiOiJodHRwczovL21jcC5pcHYucmVudC9tY3AifQ%3D%3D),
or in `~/.cursor/mcp.json`:

```json
{ "mcpServers": { "ipvrent": { "url": "https://mcp.ipv.rent/mcp" } } }
```

### VS Code

[Install in VS Code](https://insiders.vscode.dev/redirect/mcp/install?name=ipvrent&config=%7B%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fmcp.ipv.rent%2Fmcp%22%7D),
or add an HTTP server with URL `https://mcp.ipv.rent/mcp`.

### Clients with static headers

URL `https://mcp.ipv.rent/mcp`, header `Authorization: Bearer <API key>`. No sign-in step.

## Tools

| Tool | Hosted | Local | What it does |
|---|---|---|---|
| `ipvrent_catalog` | yes | yes | Products, options, prices |
| `ipvrent_quote` | yes | yes | Exact price of a purchase |
| `ipvrent_account` | yes | yes | Balance and packages |
| `ipvrent_provision` | yes | yes | Buy a package. Charges the balance. Takes an `idempotency_key`: a retry with the same key buys at most once |
| `ipvrent_connection` | yes | yes | Connection strings with code snippets: residential - N strings in any country; ISP, IPv4, mobile - the package's own addresses |
| `ipvrent_playwright_proxy` | yes | yes | Proxy settings for Playwright and Playwright MCP |
| `ipvrent_rotate` | yes | yes | New exit IP through a connection's `rotation_url` |
| `ipvrent_browser_proxy` | - | yes | Local proxy without credentials on `127.0.0.1` and a separate Chrome through it, for Playwriter, Playwright, Playwright MCP |
| `ipvrent_browser_proxy_stop` | - | yes | Stop it and delete the temporary profile |
| `ipvrent_fetch_via_proxy` | - | yes | Fetch a URL from your computer through a proxy |
| `ipvrent_geo_compare` | - | yes | Fetch one URL through several countries |
| `ipvrent_ipinfo` | - | yes | Your public IP, location and network, no key needed |

## Local helper

Node.js 20+. The key comes from `IPVRENT_API_KEY`; without it only `ipvrent_ipinfo`,
`ipvrent_rotate`, `ipvrent_fetch_via_proxy` with `proxy_url`, and `ipvrent_browser_proxy` with
`proxy_url` are offered.

```bash
export IPVRENT_API_KEY="<API key>"
claude mcp add ipvrent-local -- npx -y --package=github:ipv-rent/plugins#v0.2.0 ipvrent-mcp
```

Other clients, stdio config:

```json
{
  "mcpServers": {
    "ipvrent-local": {
      "command": "npx",
      "args": ["-y", "--package=github:ipv-rent/plugins#v0.2.0", "ipvrent-mcp"],
      "env": { "IPVRENT_API_KEY": "<API key>" }
    }
  }
}
```

| Variable | Default | Meaning |
|---|---|---|
| `IPVRENT_API_KEY` | - | ipv.rent API key |
| `IPVRENT_API_BASE` | `https://ipv.rent/api/v1` | API address |
| `IPVRENT_CHROME_PATH` | found automatically | Chrome, Chromium or Chrome for Testing binary |
| `IPVRENT_IPINFO_URL` | `https://ipv.rent/api/tools/ip` | IP lookup used by `ipvrent_ipinfo` |

## Browsers

See [docs/browser-proxy.md](docs/browser-proxy.md): Playwright, Playwright MCP and Playwriter
through an ipv.rent proxy.

## Development

```bash
npm ci
npm run build && npm run typecheck && npm test
npm run start:http     # hosted server, settings in src/http/config.ts
docker build -f deploy/Dockerfile -t ipvrent-mcp .
```

## Lawful use

Geo-testing, QA, ad verification, scraping within a site's terms. Not for fraud, credential
stuffing or evading bans imposed for abuse.