# 2extract MCP server

> Lets an AI agent create and manage residential and mobile proxies with geo-targeting, usage limits, and spend reporting.

- Repository: https://github.com/2extract/mcp
- Page: https://hostedmcp.org/servers/2extract/mcp
- Transport: remote
- Stars: 1
- License: MIT
- Latest version: 1.0.2

## Install

### Claude Code

```sh
claude mcp add --transport http mcp https://mcp.2extract.com/mcp
```

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

```json
{
  "mcpServers": {
    "mcp": {
      "url": "https://mcp.2extract.com/mcp"
    }
  }
}
```

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

```json
{
  "servers": {
    "mcp": {
      "type": "http",
      "url": "https://mcp.2extract.com/mcp"
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"mcp","type":"http","url":"https://mcp.2extract.com/mcp"}'
```

### Codex

```sh
codex mcp add mcp --url https://mcp.2extract.com/mcp
```

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

```toml
[mcp_servers.mcp]
url = "https://mcp.2extract.com/mcp"
```

### Gemini CLI

```sh
gemini mcp add -s user --transport http mcp https://mcp.2extract.com/mcp
```

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

```json
{
  "mcpServers": {
    "mcp": {
      "url": "https://mcp.2extract.com/mcp",
      "type": "http"
    }
  }
}
```

## Environment variables

| Name | Required | Secret | Description |
|---|---|---|---|
| `EXTRACT_API_KEY` | no | no |  |

## FAQ

### What scopes do I need to grant my API key?

You should grant the scopes your agent requires, such as proxies:read, proxies:write, balance:read, stats:read, and geo:read. Most workflows require both read and write access.

### Is there anything I need to install locally?

No, this is a hosted server. You simply connect your MCP client to the provided URL using your API key.

### Can I use a read-only key?

Yes, a read-only key without proxies:write permission is sufficient for generating reports and performing lookups.
