Back to Directory/Search & Knowledge

2extract

Create and manage residential and mobile proxies: geo targeting, usage limits, spend reports.

Search & KnowledgeHTMLv1.0.2

2extract MCP Server

2extract MCP server: web data access for AI agents

Remote Model Context Protocol server for 2extract. It lets an AI agent create and manage residential and mobile proxies, pick geo targeting down to city, ZIP or carrier, set traffic and spend limits, and report on usage and cost.

This is a hosted server. There is nothing to install or run locally: your MCP client connects to the URL below with your 2extract API key.

Endpointhttps://mcp.2extract.com/mcp
TransportStreamable HTTP
AuthAuthorization: Bearer 2xt_... (2extract API key)

Get an API key

  1. Sign up or log in to 2extract.
  2. Open API keys and create a key.
  3. Grant the scopes the agent needs: proxies:read, proxies:write, balance:read, stats:read, geo:read. Write scopes do not include read access, so most workflows need both proxies:read and proxies:write.

A read-only key (no proxies:write) is enough for reporting and lookups.

Connect

Claude Code

claude mcp add --transport http 2extract https://mcp.2extract.com/mcp \
  --header "Authorization: Bearer 2xt_your_api_key"

Codex CLI

The key is read from the EXTRACT_API_KEY environment variable; Codex adds Bearer itself:

export EXTRACT_API_KEY=2xt_your_api_key
codex mcp add 2extract --url https://mcp.2extract.com/mcp --bearer-token-env-var EXTRACT_API_KEY

Or edit ~/.codex/config.toml (or .codex/config.toml in a trusted project):

[mcp_servers.2extract]
url = "https://mcp.2extract.com/mcp"
bearer_token_env_var = "EXTRACT_API_KEY"

Gemini CLI

gemini mcp add -s user --transport http \
  --header "Authorization: Bearer 2xt_your_api_key" \
  2extract https://mcp.2extract.com/mcp

Or edit ~/.gemini/settings.json (or .gemini/settings.json in a project):

{
  "mcpServers": {
    "2extract": {
      "httpUrl": "https://mcp.2extract.com/mcp",
      "headers": { "Authorization": "Bearer 2xt_your_api_key" }
    }
  }
}

OpenCode

opencode.json in your project (or ~/.config/opencode/opencode.json). The key is read from the EXTRACT_API_KEY environment variable:

{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "2extract": {
      "type": "remote",
      "url": "https://mcp.2extract.com/mcp",
      "enabled": true,
      "headers": { "Authorization": "Bearer {env:EXTRACT_API_KEY}" }
    }
  }
}

Claude Desktop

claude_desktop_config.json:

{
  "mcpServers": {
    "2extract": {
      "type": "http",
      "url": "https://mcp.2extract.com/mcp",
      "headers": { "Authorization": "Bearer 2xt_your_api_key" }
    }
  }
}

Cursor

~/.cursor/mcp.json or .cursor/mcp.json:

{
  "mcpServers": {
    "2extract": {
      "url": "https://mcp.2extract.com/mcp",
      "headers": { "Authorization": "Bearer 2xt_your_api_key" }
    }
  }
}

VS Code

.vscode/mcp.json (the key is requested on first use and not stored in the file):

{
  "inputs": [
    {
      "type": "promptString",
      "id": "2extract-api-key",
      "description": "2extract API key",
      "password": true
    }
  ],
  "servers": {
    "2extract": {
      "type": "http",
      "url": "https://mcp.2extract.com/mcp",
      "headers": { "Authorization": "Bearer ${input:2extract-api-key}" }
    }
  }
}

Other clients

Any client that supports remote MCP servers works. Give it the endpoint URL, the Streamable HTTP transport and the Authorization header.

Tools

Account

ToolWhat it doesScope
getAccountBalanceAvailable funds, whether a new proxy can be created, and the proxy username prefixbalance:read
getAccountTrafficUsageTraffic and spend over a period, for the account or one proxystats:read
listAccountBalanceHistoryDeposits and charges over a periodstats:read

Geo targeting

ToolWhat it doesScope
listGeoCountriesCountries available for targetinggeo:read
searchGeoRegionsRegions and states within a countrygeo:read
searchGeoCitiesCities within a country or regiongeo:read
searchGeoZipsZIP and postal codes within a countrygeo:read
searchGeoISPMobile carriers for ISP targetinggeo:read

Plans

ToolWhat it doesScope
listProxyPlansAvailable plans and their pricesproxies:read

Proxies

ToolWhat it doesScope
listProxyResourcesEvery proxy on the account, with traffic and spendproxies:read
getProxyResourceFull detail for one proxyproxies:read
createProxyResourceCreate a proxy (billable)proxies:write
updateProxyResourceChange description, status, geo, whitelist or limitsproxies:write
deactivateProxyResourceStop traffic without deleting the proxyproxies:write
deleteProxyResourcePermanently remove a proxy (asks for confirmation)proxies:write
regenerateProxyPasswordIssue a new password (asks for confirmation)proxies:write
setProxyLimitsCap traffic or spend per day or monthproxies:write
setProxyIpWhitelistRestrict which IP addresses can use the proxyproxies:write
setProxyTargetHostsRestrict which domains the proxy can reach (wildcards like *.example.com)proxies:write

Confirmation for destructive tools happens in your client. If the client does not ask, any key with proxies:write can run them, so scope keys accordingly.

Prompts

PromptArgumentsWhat it does
create-proxy-resourcepurpose, proxy_type?, country?Creates a proxy for a stated job and returns a connection string
build-connection-stringproxy_id?, purpose?Builds a connection string for an existing proxy
monthly-cost-reportperiodTraffic and spend per proxy for a period, with outliers flagged. Read-only
cleanup-unused-proxiesnoneFinds proxies with no traffic in 30 days and deactivates them after you confirm. Never deletes

Example requests

  • "Create a residential proxy in Germany, Berlin, for price monitoring, capped at 5 GB a month."
  • "Give me a sticky-session connection string for my serp_us proxy."
  • "How much did I spend on traffic last month, per proxy?"
  • "Which proxies had no traffic in the last 30 days? Deactivate them."
  • "Find mobile carriers in the US I can target."

Documentation

Support

Legal

The server source code is not published. This repository holds the public listing, client configuration examples and the registry manifest (server.json).

Setup from the maintainer

This listing does not have a supported local package template. Use the maintainer’s documentation for its hosted endpoint, authentication, and client-specific setup. No install command has been inferred.

Learn More