2extract

com.2extract由 2extract.com 發布官方發布者v1.0.2更新於 Oct 26, 2026

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

已驗證Streamable HTTP可網頁執行網頁搜尋與抓取雲端與基礎設施資料與分析

概覽

AI 產生的概覽

2extract 託管伺服器,讓助理建立與管理住宅及行動代理,設定地理定位與用量上限,並查看流量與費用報表。

可以做什麼
  • 建立、更新、停用與刪除代理資源,並重新產生代理密碼
  • 查詢地理定位目標:國家、地區、城市、郵遞區號與行動電信商
  • 產生帶地理與工作階段參數的代理使用者名稱與連線字串
  • 為個別代理設定流量或費用上限、IP 白名單與目標網域白名單
  • 查看帳戶餘額、餘額異動紀錄,以及依代理統計的每日流量與花費
  • 列出可用的代理方案與價格
適用情境
適合需要讓助理為爬取、價格監控或特定地區存取而開通與調整代理,並追蹤流量與花費的情境。若只做查詢與報表,唯讀金鑰即可。
執行需求
遠端 Streamable HTTP 端點,無需在本機安裝。需要 2extract 帳戶與 API 金鑰,以 Authorization bearer 權杖傳送,並授予 proxies:read、proxies:write、balance:read、stats:read、geo:read 等權限範圍。部分用戶端會從 EXTRACT_API_KEY 環境變數讀取金鑰。
安裝前請注意
建立代理會計費並佔用帳戶餘額,操作前應先確認餘額與方案。寫入類工具可變更或刪除代理、替換白名單、使舊密碼失效並中斷進行中的流量;刪除等操作的確認由用戶端負責,因此應謹慎分配金鑰權限。部分工具會回傳代理密碼與 IP 白名單。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 2extract,將其新增到工作區。
  2. 連接 Authorization token 憑證。它們會被私密儲存,絕不會在公開頁面上展示。
  3. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/com.2extract%2Fmcp/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

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

README

2extract MCP Server

[2extract MCP server: web data access for AI agents]

[Install in VS Code] [Install in VS Code Insiders] [Install in Cursor]

VS Code asks for the API key on install and does not store it in the config. Cursor installs with a placeholder: replace 2xt_your_api_key in mcp.json with your key.

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

bash
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:

bash
export EXTRACT_API_KEY=2xt_your_api_keycodex 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):

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

Gemini CLI

bash
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):

json
{  "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:

json
{  "$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:

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:

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):

json
{  "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}" }    }  }}

Cline

Open the Cline panel, click MCP Servers, then Configure MCP Servers, and add to cline_mcp_settings.json:

json
{  "mcpServers": {    "2extract": {      "type": "streamableHttp",      "url": "https://mcp.2extract.com/mcp",      "headers": { "Authorization": "Bearer 2xt_your_api_key" },      "disabled": false    }  }}

Keep "type": "streamableHttp": without it Cline falls back to the older SSE transport.

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
buildConnectionStringReady-to-use username and connection string with geo, carrier and sticky-session parametersproxies:read, balance:read

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).

來源:README.md,提交 39451ed

工具

20

buildConnectionString

Build Connection String

Build a ready-to-use username and connection string for a proxy resource. The tool retrieves the proxy credential and account prefix automatically, validates geo, network, and session parameters, and encodes them in the correct order. Returns the host, port, username, password, and a username:password@host:port connection string. Response fields: docs://proxies/buildConnectionString.

輸入參數id必填asnispzipcitystatestrictsessioncountry_codesession_ttl_minutes

createProxyResource

Create Proxy Resource

Create a new residential or mobile proxy resource on the account. Check getAccountBalance and require can_create_proxy to be true; usage is billed according to the selected plan (tariff_id from listProxyPlans). The name must be unique on the account and cannot be changed later. Limits can be set here or later with setProxyLimits. Returns the complete new proxy, including its password. Use buildConnectionString to get a connection string. Response fields: docs://proxies/createProxyResource.

輸入參數name必填limitscountriestariff_id必填proxy_type必填descriptionip_whitelist

deactivateProxyResource

Deactivate Proxy Resource

Deactivate a proxy resource, stopping its traffic without deleting it. Reactivate later with updateProxyResource (status active). Use deleteProxyResource to permanently remove instead. Returns the updated proxy with status inactive. Response fields: docs://proxies/updateProxyResource (shared with updateProxyResource).

輸入參數id必填

deleteProxyResource

Delete Proxy Resource

Permanently delete a proxy resource. This action is irreversible — the proxy and all its settings will be removed. User confirmation is required before proceeding. To stop traffic but keep the proxy for later, use deactivateProxyResource instead. Returns a snapshot of the deleted proxy with status deleted. Response fields: docs://proxies/deleteProxyResource.

輸入參數id必填confirm

getAccountBalance

Get Account Balance

Get the current account balance, overdraft limit, and proxy username prefix. Returns funds_available in USD, can_create_proxy (whether proxy creation is allowed), and the prefix that starts every proxy username. Overdraft-enabled accounts also return credit_limit in USD and may return credit_limit_unlimited. Use can_create_proxy to check creation eligibility. For past deposits and charges, use listAccountBalanceHistory. Response fields: docs://account/getAccountBalance.

無需輸入參數。

getAccountTrafficUsage

Get Account Traffic Usage

Get daily traffic and spend for the account over a date range, broken down by proxy. Returns, for each date with traffic, the bytes downloaded and uploaded and the USD spent per proxy resource ID; dates with no traffic are omitted. Pass user_proxy_list_id to report on one proxy. For per-proxy totals over a period, listProxyResources with statistic_from/statistic_to is simpler. Results are paginated: keep requesting pages while meta.pagination.hasMorePages is true. Response fields: docs://account/getAccountTrafficUsage.

輸入參數pagelimitdate_to必填date_from必填user_proxy_list_id

getProxyResource

Get Proxy Resource

Get full details of a specific proxy resource, including IP/host whitelists not present in listProxyResources. Returns the proxy with its password, IP whitelist, and target host whitelist. Response fields: docs://proxies/getProxyResource.

輸入參數id必填

listAccountBalanceHistory

List Account Balance History

Get balance transaction history for the account over a date range. Returns paginated ledger entries (top-ups, debits, refunds) with signed USD amount, source, and timestamp. For the current balance, use getAccountBalance. Response fields: docs://account/listAccountBalanceHistory.

輸入參數pagelimitorderdate_to必填date_from必填

listGeoCountries

List Geo Countries

List all available countries for proxy geo targeting, optionally filtered by name. Returns each country's numeric id (for createProxyResource countries) and ISO code (for buildConnectionString country_code). Response fields: docs://geo/listGeoCountries.

輸入參數search

listProxyPlans

List Proxy Plans

List tariff plans for a proxy type. Use the numeric id when calling createProxyResource. Returns each plan's id, title, price, currency, and traffic type (package or pay as you go). Response fields: docs://plans/listProxyPlans.

輸入參數enabledpopularproxy_type必填

listProxyResources

List Proxy Resources

List proxy resources in the account, with optional filters by name and status, and tariff, limits, traffic, and spend detail. Returns paginated proxies without passwords, plus totals for traffic and spend across the whole filtered set. Use getProxyResource for one proxy's password and whitelists. Response fields: docs://proxies/listProxyResources.

輸入參數pagelimitordersearchstatusorder_bystatistic_tostatistic_from

regenerateProxyPassword

Regenerate Proxy Password

Generate a new password for a proxy resource. The old password is immediately invalidated — any running traffic using it will be interrupted. User confirmation is required before proceeding. Returns the complete proxy with the new password. Response fields: docs://proxies/regenerateProxyPassword.

輸入參數id必填confirm

searchGeoCities

Search Geo Cities

Search cities within a country and optional region (region_code from searchGeoRegions). Use search to narrow results — city lists can be large. Returns each city's extract_parameter, the value for buildConnectionString's city. Response fields: docs://geo/searchGeoCities.

輸入參數searchregion_codecountry_code必填

searchGeoISP

Search Geo ISP

Search the ISP catalog for mobile ISP targeting (mobile proxies only). Always resolve the code through this tool — never accept a real-world ASN number as a substitute. Returns each carrier's name and catalog code, the value for buildConnectionString's isp. Response fields: docs://geo/searchGeoISP.

輸入參數limitsearch

searchGeoRegions

Search Geo Regions

Search regions/states within a country, identified by its ISO country_code (from listGeoCountries). Returns each region's extract_parameter, the value for buildConnectionString's state, and its numeric code, used as searchGeoCities' region_code. Response fields: docs://geo/searchGeoRegions.

輸入參數searchcountry_code必填

searchGeoZips

Search Geo ZIP Codes

Search ZIP codes within a country, for use in proxy username params. Returns ZIP values to pass as buildConnectionString's zip; ZIP targeting cannot be combined with state or city. Response fields: docs://geo/searchGeoZips.

輸入參數limitsearchcountry_code必填

setProxyIpWhitelist

Set Proxy IP Whitelist

Replace the IP whitelist for a proxy resource, restricting authentication to the given IPs. This controls who can authenticate; to control which domains the proxy can reach, use setProxyTargetHosts. Returns the updated proxy with the applied IP whitelist. Response fields: docs://proxy-settings/setProxyIpWhitelist.

輸入參數id必填ips必填

setProxyLimits

Set Proxy Limits

Set the traffic or spending limit on a proxy resource to control costs. A proxy has one limit: this call replaces any existing limit, and total_limit 0 removes it. The counter resets daily or monthly according to time_period. Returns the updated proxy with the applied limits. To change other settings in the same call, use updateProxyResource. Response fields: docs://proxy-settings/setProxyLimits.

輸入參數id必填limit_type必填time_period必填total_limit必填

setProxyTargetHosts

Set Proxy Target Hosts

Replace the target host whitelist for a proxy resource, restricting its traffic to the given domains. This controls where the proxy can connect; to control who can authenticate, use setProxyIpWhitelist. Returns the updated proxy with the applied target host whitelist. Response fields: docs://proxy-settings/setProxyTargetHosts.

輸入參數id必填target_hosts必填

updateProxyResource

Update Proxy Resource

Update description, countries, status, IP whitelist, or limits in one call. Name and proxy_type are not mutable through this MCP tool. For single-field changes, prefer setProxyIpWhitelist, setProxyLimits, or deactivateProxyResource. Returns the complete updated proxy without its password. Response fields: docs://proxies/updateProxyResource.

輸入參數id必填limitsstatuscountriesdescriptionip_whitelist

版本歷史

2
  1. v1.0.2最新Oct 21, 2026
  2. v1.0.1Oct 20, 2026

評分

已滿足適用檢查項的 100%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分