2Captcha MCP 标志

2Captcha MCP

组织
2captcha

2Captcha MCP server for AI agents with web search, web scraping, browser automation, captcha solving, and scalable web data collection.

发布者2captcha
代码仓库2captcha-mcp
语言JavaScript
复刻数
0
星标数
21
可用工具
0
传输类型stdio, streamable-http
分类
许可协议MIT
链接
  • 将工具接入 AI 工作流

    2Captcha MCP 提供 MCP 功能,可供兼容的 AI 客户端和智能体使用。

  • 0 个可用工具

    浏览下方可调用的操作;如果服务器提供了名称和描述,也会一并显示。

  • 可直接复制的配置

    使用安装配置片段,在您首选的 MCP 客户端中配置此服务器。

  • 开源社区热度

    关联的代码仓库有 21 个 Star 和 0 个 Fork。

[!IMPORTANT] The official 2Captcha MCP package is @2captcha/mcp (published under the @2captcha npm organization). The unscoped 2captcha-mcp package on npm is not affiliated with 2Captcha — don't put your API key into it.


Overview

The 2Captcha MCP server gives AI agents real-time access to web data that blocks ordinary HTTP clients. It exposes 40 tools covering:

  • Web search — ranked organic results (title, URL, snippet) for a query
  • Page scraping — any URL as clean Markdown or raw HTML. Every request runs through a tiered anti-bot ladder: hidden JSON APIs, a TLS-impersonating HTTP client, rotating residential proxies, and a managed browser with CAPTCHA solving — escalating only as far as the page requires, so easy pages stay fast and cheap.
  • Marketplace parsing — product pages and search listings as structured JSON (title, price, rating, seller, stock, offers). Deterministic tiers first (hidden marketplace APIs, JSON-LD, learned selectors); an LLM extraction pass only when they miss.
  • Structured extraction — any URL or raw text plus your own JSON Schema in, matching JSON out.
  • Batch jobs — run the scraping/parsing tools over many URLs as a background job: submit, poll, cancel.
  • CAPTCHA solving, including in your browser — solve any type 2Captcha supports (reCAPTCHA, Turnstile, hCaptcha, DataDome, images, …). detect_captcha names the wall on a page you are already driving in Playwright MCP, browser-use or an extension — free, from HTML you paste in — and solve_captcha_on_page solves it and hands back the exact JavaScript or cookie to apply in your own session. Nothing has to move to our browser.
  • Browser logins — opt-in. Sign in to a site whose login form is behind a CAPTCHA, in a managed browser, and save the session for later.

Two deployment options: the hosted remote server (one URL, no installation) or a local instance via npx @2captcha/mcp.


Free tier: what's included

Signing up for 2Captcha is free, and an account comes with a monthly allowance on this server: 200 calls or $0.50 of measured spend per 30 days, whichever comes first, across the whole tool surface — scraping, marketplace parsing, structured extraction, batch jobs, the browser tools and CAPTCHA solving. No card, no separate plan, no feature gating.

The window is rolling rather than calendar-monthly, so capacity returns continuously instead of everyone's quota resetting on the 1st.

The allowance is metered per account, which is why a credential is required: the identity is what it is counted against. There is no anonymous mode — an IP address is not an identity, and a free tier keyed to one is a free tier keyed to a proxy pool.

get_account reports what is left, so an agent can plan around the limit instead of discovering it as a failure halfway through a task:

json
{"tenant": "2captcha:8f14e45fceea167a",
 "free_tier": {"allowance": {"max_calls": 200, "calls": 12, "remaining_calls": 188,
                             "max_spend_usd": 0.5, "remaining_spend_usd": 0.4871,
                             "window_hours": 720}}}

Nothing else on this server bills per call: CAPTCHA solves are charged to your 2Captcha balance as they always were, and include_meta: true reports what any call actually cost. So when the allowance runs out, calls are refused until the window refills — the message says so, and says the operator can raise it. Need more than the allowance? Talk to the operator; on the hosted service that is 2Captcha support.


Quick Start

Hosted server — no installation

Add the URL to your MCP client with an Authorization header:

URL:    https://mcp.2captcha.com/mcp
Header: Authorization: Bearer YOUR_API_TOKEN

Your token is your 2Captcha API key (account settings) or the bearer token your server operator issued. Signing up is free and brings the monthly allowance with it.

Local server via npx

json
{
  "mcpServers": {
    "2captcha": {
      "command": "npx",
      "args": ["@2captcha/mcp"],
      "env": {
        "API_TOKEN": "<your-api-token-here>"
      }
    }
  }
}

The local server mirrors the hosted tool surface over stdio — use it with clients that can't send auth headers or only launch local MCP servers.


Install

Every client below needs the same two things: the command npx @2captcha/mcp with API_TOKEN in its environment, or — where the client speaks HTTP — the hosted URL plus an Authorization: Bearer header. Get a token at 2captcha.com/setting; signing up is free and brings the monthly allowance with it.

bash
claude mcp add --transport http 2captcha https://mcp.2captcha.com/mcp \
  --header "Authorization: Bearer YOUR_API_TOKEN"

Or locally:

bash
claude mcp add 2captcha -e API_TOKEN=YOUR_API_TOKEN -- npx @2captcha/mcp

One click: download 2captcha-mcp-<version>.mcpb from the latest release and open it. Claude Desktop installs it as an extension and asks for your API token — no Node, no npx, no config file.

Or by hand: edit the config file (macOS ~/Library/Application Support/Claude/claude_desktop_config.json, Windows %APPDATA%\Claude\claude_desktop_config.json) and restart the app:

json
{
  "mcpServers": {
    "2captcha": {
      "command": "npx",
      "args": ["@2captcha/mcp"],
      "env": { "API_TOKEN": "YOUR_API_TOKEN" }
    }
  }
}

Add to ~/.cursor/mcp.json:

json
{
  "mcpServers": {
    "2captcha": {
      "command": "npx",
      "args": ["@2captcha/mcp"],
      "env": { "API_TOKEN": "YOUR_API_TOKEN" }
    }
  }
}
bash
codex mcp add 2captcha --env API_TOKEN=YOUR_API_TOKEN -- npx @2captcha/mcp

Or add it to ~/.codex/config.toml by hand:

toml
[mcp_servers.2captcha]
command = "npx"
args = ["@2captcha/mcp"]
env = { API_TOKEN = "YOUR_API_TOKEN" }

Add to .vscode/mcp.json:

json
{
  "servers": {
    "2captcha": {
      "command": "npx",
      "args": ["@2captcha/mcp"],
      "env": { "API_TOKEN": "YOUR_API_TOKEN" }
    }
  }
}
bash
API_TOKEN=YOUR_API_TOKEN npx @modelcontextprotocol/inspector npx @2captcha/mcp

Or connect the Inspector directly to https://mcp.2captcha.com/mcp (transport Streamable HTTP, header Authorization: Bearer YOUR_API_TOKEN).

Add to ~/.codeium/windsurf/mcp_config.json:

json
{
  "mcpServers": {
    "2captcha": {
      "command": "npx",
      "args": ["@2captcha/mcp"],
      "env": { "API_TOKEN": "YOUR_API_TOKEN" }
    }
  }
}

Add to Zed's settings.json (cmd/ctrl + ,):

json
{
  "context_servers": {
    "2captcha": {
      "source": "custom",
      "command": "npx",
      "args": ["@2captcha/mcp"],
      "env": { "API_TOKEN": "YOUR_API_TOKEN" }
    }
  }
}

Settings → AI → Manage MCP servers → + Add, then paste:

json
{
  "2captcha": {
    "command": "npx",
    "args": ["@2captcha/mcp"],
    "env": { "API_TOKEN": "YOUR_API_TOKEN" },
    "start_on_launch": true
  }
}

Add to ~/.gemini/settings.json:

json
{
  "mcpServers": {
    "2captcha": {
      "command": "npx",
      "args": ["@2captcha/mcp"],
      "env": { "API_TOKEN": "YOUR_API_TOKEN" }
    }
  }
}

Add to ~/.continue/config.yaml:

yaml
mcpServers:
  - name: 2captcha
    command: npx
    args:
      - "@2captcha/mcp"
    env:
      API_TOKEN: YOUR_API_TOKEN

Program → Install → Edit mcp.json:

json
{
  "mcpServers": {
    "2captcha": {
      "command": "npx",
      "args": ["@2captcha/mcp"],
      "env": { "API_TOKEN": "YOUR_API_TOKEN" }
    }
  }
}

MCP Servers → Configure → Edit cline_mcp_settings.json:

json
{
  "mcpServers": {
    "2captcha": {
      "command": "npx",
      "args": ["@2captcha/mcp"],
      "env": { "API_TOKEN": "YOUR_API_TOKEN" },
      "disabled": false
    }
  }
}
bash
goose session --with-extension "npx @2captcha/mcp"

Or add it permanently with goose configure → Add Extension → Command-line Extension, command npx @2captcha/mcp, environment variable API_TOKEN.

Use the MCP Client Tool node against the hosted server — no local process to manage:

Endpoint:       https://mcp.2captcha.com/mcp
Transport:      HTTP Streamable
Authentication: Header Auth
Header name:    Authorization
Header value:   Bearer YOUR_API_TOKEN

Point it at the parsing tools for scraping workflows; see Tool Selection for trimming the surface the agent sees.

The server is a plain stdio MCP server, so anything that can launch a command works:

command: npx
args:    ["@2captcha/mcp"]
env:     API_TOKEN=YOUR_API_TOKEN

Clients that speak Streamable HTTP can skip the process entirely and use https://mcp.2captcha.com/mcp with an Authorization: Bearer header.

Published to GHCR on every release, for amd64 and arm64:

bash
docker run --rm -i -e API_TOKEN=YOUR_API_TOKEN ghcr.io/2captcha/2captcha-mcp:latest

-i matters: the server speaks MCP over stdin/stdout. In a client config:

json
{
  "mcpServers": {
    "2captcha": {
      "command": "docker",
      "args": ["run", "--rm", "-i", "-e", "API_TOKEN", "ghcr.io/2captcha/2captcha-mcp:latest"],
      "env": { "API_TOKEN": "YOUR_API_TOKEN" }
    }
  }
}

The image runs as the non-root node user and contains only the bundled server — no package manager, no dependency tree.

Try it

Ask your agent:

Parse https://www.wildberries.ru/catalog/0/search.aspx?search=coffee as search results and list the five cheapest items.

Scrape https://news.ycombinator.com and summarize the top stories.

What's my 2Captcha balance?


Tool Selection: Groups

By default the server exposes the parsing, batch, and captcha groups (17 tools). The browser groups are opt-in: they are the one part of the surface that costs a client real context every turn, and most tasks never touch it.

Measured cost of each group, as the tool definitions a client puts on every request (name + description + JSON Schema, tiktoken o200k_base — regenerate with the service repo's benchmarks/scripts/tool_surface_tokens.py):

GroupToolsTokens
parsing73,936
batch41,759
captcha62,180
default (the three above)177,875
browser11+2,842
browser_full23+5,201
all4013,076
GroupToolsWhat it's for
parsingscrape_page, search_web, discover_urls, discover_search_params, parse_marketplace, extract, get_accountSearch the web, scrape pages, discover a site's URLs and its search parameters, parse marketplaces, extract structured JSON
batchscrape_pages, parse_pages, get_job, cancel_jobThe parsing tools over many URLs as background jobs
captchalist_captcha_types, solve_captcha, detect_captcha, solve_captcha_on_page, captcha_report, captcha_balanceSolve any CAPTCHA type 2Captcha supports — including one on a page in your own browser
browser11 browser_* toolsSign in behind a CAPTCHA in a managed browser and save the session
browser_fullall 23 browser_* toolsThe complete Playwright-style surface, when you actually want it here
alleverything the server advertisesNo filtering — includes tools added server-side in the future

Why captcha is a default and browser is not. detect_captcha and solve_captcha_on_page work on HTML from whatever browser you are already driving, so they are useful to a client that never opens ours — which is the common case. See Driving your own browser.

Configuration examples

json
{
  "mcpServers": {
    "2captcha": {
      "command": "npx",
      "args": ["@2captcha/mcp"],
      "env": {
        "API_TOKEN": "YOUR_API_TOKEN",
        "GROUPS": "parsing,browser"
      }
    }
  }
}

Individual tools, no groups:

json
"env": {
  "API_TOKEN": "YOUR_API_TOKEN",
  "TOOLS": "scrape_page,solve_captcha"
}

GROUPS and TOOLS combine (union). Tool availability is ultimately the server's decision — a group named here only filters what the server actually advertises.


Tools Reference (40 Tools)

Which tool to use

  • Looking for pages to scrape? → search_web (query → ranked URLs)
  • Just need the page content? → scrape_page (no LLM, cheapest)
  • Need a URL inventory before batching? → discover_urls (robots.txt + sitemaps, no crawling)
  • Building a search URL for a site? → discover_search_params (its real parameter names, not a guess)
  • Product or search page → JSON? → parse_marketplace (deterministic tiers first, LLM fallback)
  • Your own schema from any page/text? → extract (always one LLM call, or cache)
  • Many URLs? → scrape_pages / parse_pages + get_job
  • Hit a CAPTCHA in your own browser? → detect_captcha (free) then solve_captcha_on_page
  • A CAPTCHA token for your own automation? → list_captcha_types then solve_captcha
  • Log in past a CAPTCHA and keep the session? → GROUPS=browser, then browser_navigate → browser_fill → browser_click → browser_save_session

Parsing

ToolDescriptionCosts money?
scrape_pageFetch a page and return its readable content as markdown (or raw HTML with clean=false). Options: render, keep_links, structured_data, country, max_chars/offset windowing, per-call freshness_seconds caching.proxy/browser only
search_webFind URLs for a query: ranked organic results with title, url and snippet. Options: count, country, engine.no LLM
discover_urlsList the URLs a site publishes in robots.txt and XML sitemaps — a reviewable inventory for scrape_pages/parse_pages, with pattern/prefix filters. Not a crawler.no LLM
discover_search_paramsA site's real URL search parameters, read off one page: the query parameters its own links use (with values known to work) plus any <form> controls. Use it instead of guessing a search URL.no LLM
parse_marketplaceProduct page (target="product") or listing (target="search_results") → structured JSON. Pass schema for your own shape, include_offers for Amazon Buy-Box data, include_meta for cost/provenance metadata.LLM only when the deterministic tiers miss
extractAny URL or raw text + your JSON Schema → extracted JSON. instructions steers the extraction.always one LLM call (or cache)
get_accountTenant identity, configured capabilities, session spend counters.no

Batch jobs

ToolDescription
scrape_pages / parse_pagesThe tools above over many URLs; return a job_id immediately (or wait up to wait_seconds).
get_jobPoll status and collect per-item results.
cancel_jobStop a running job (stops the spending).

Driving your own browser (recommended)

If you already have a browser — Playwright MCP, browser-use, a Chrome extension, your own Playwright script — keep it, and use these two tools for the part that needs a solver account:

your browser hits a wall
  -> browser_get_html / page.content()      your session, your IP
  -> detect_captcha(url, html=...)          free: "recaptcha, sitekey 6Lc..., solvable"
  -> solve_captcha_on_page(url, html=...)   one solve
  -> run apply.javascript in your page      returns 'callback' / 'submit' / 'set'

apply.javascript is a complete expression with the token already inlined — it is the same injector this service's own render tier uses — so it drops straight into page.evaluate, a devtools console, or any run-JS tool. When the answer is a cookie instead (DataDome, AWS WAF) you get the parsed cookie and the instruction to re-request rather than reload.

Two things worth knowing. Pass html from your browser, because anti-bot walls are raised per client and our address sees a different page than yours. And for DataDome or CaptchaFox pass your own proxy and user_agent: those answers are minted for the identity that solved them, so one solved as us is refused in your session even though it is technically correct.

Browser logins (GROUPS=browser, 11 tools)

The managed browser is not trying to out-Playwright Playwright. That surface is free and you probably already have it, and this one holds one live page per account, so it is the wrong tool for anything parallel. What it has that a plain browser does not is that it solves the CAPTCHA in the login form, and it can keep the cookies afterwards — so the group is scoped to exactly that, at 2,842 tokens instead of 5,201:

CategoryTools
Navigate & interactbrowser_navigate, browser_click, browser_fill, browser_type, browser_press_key
Readbrowser_snapshot (accessibility tree with element refs), browser_get_text, browser_get_html
Sessionsbrowser_save_session, browser_load_session, browser_list_sessions

Set GROUPS=browser_full for the complete 23-tool surface — adding history (browser_go_back, browser_go_forward, browser_reload), browser_scroll, browser_select_option, browser_hover, browser_drag, browser_console_messages, browser_evaluate, browser_snapshot_items, browser_screenshot and browser_save_as_pdf.

CAPTCHA

ToolDescriptionCosts money?
list_captcha_typesThe catalogue of solvable types with their required parameters — call it before solve_captcha instead of guessing.no
solve_captchaSolve a CAPTCHA of any supported kind; returns the token/answer, a captcha_id, and the cost.yes — one solve per call
detect_captchaIdentify the wall on a page — widget type, sitekey, whether a solvable task can be built from it, and the exact solve_captcha call to issue. Pass html from your own browser. Never solves.no (free with html)
solve_captcha_on_pageDetect + solve in one step, and return an apply block: a self-contained JS expression to evaluate, or a cookie to add and a URL to re-request.yes — one solve per call
captcha_reportReport a solution good/bad (bad reports refund).no
captcha_balanceCurrent balance in USD.no

Local

ToolDescription
session_statsTool usage during this session (calls per tool, rate-limit window). Handled locally, free.

Configuration

Environment variables

VariableRequiredDefaultDescription
API_TOKENyes—Your 2Captcha API key, or the bearer token your server operator issued. Signing up is free and includes the monthly allowance
GROUPSnoparsing,batch,captchaComma-separated tool groups (see above): browser adds the 11 login tools, browser_full all 23, all disables filtering
TOOLSno—Comma-separated individual tool names to enable
MCP_URLnohttps://mcp.2captcha.com/mcpThe remote MCP endpoint — set it for a self-hosted server
POLLING_TIMEOUTno600Per-tool-call timeout in seconds (renders, batch jobs and CAPTCHA solves can take minutes)
RATE_LIMITno—Client-side call limiter, e.g. 100/1h or 50/30m
MAX_SPEND_USDno—Spend cap, measured from what each call reports it cost: 5 for the whole session, or 5/1h for a rolling window
MAX_CONCURRENCYno—Maximum tool calls in flight at once. Without it, an agent fanning out over a URL list opens one connection per URL
CACHE_DIRnoOS cache dirWhere the offline tool-list cache is kept

MAX_SPEND_USD is the one worth setting if you set only one. A call limit bounds the wrong quantity — a single parse_pages over 500 URLs costs more than a hundred scrape_page calls — so RATE_LIMIT protects you from a runaway loop while MAX_SPEND_USD protects you from a runaway bill. A call's cost is only known once the server answers, so the cap is checked against what has already been spent: it bounds the overshoot to one call rather than pretending to be exact.

Command line

bash
npx @2captcha/mcp --version
npx @2captcha/mcp --help      # every variable above, with its default

What leaves your machine

Worth settling before this reaches a security review, because the honest answer is "more than a local tool, less than a browser extension".

Where it goes. One place: MCP_URL — https://mcp.2captcha.com/mcp unless you point it at your own server. No telemetry, no analytics, no third party. The bridge opens no listening port.

What travels with a tool call. That tool's arguments, forwarded verbatim and neither inspected nor logged by the bridge. For scrape_page that is a URL. For detect_captcha and solve_captcha_on_page it is the page HTML you pass in — and HTML taken from a signed-in session contains whatever that page contains. For extract it is your schema and any text you supply directly.

Your API token goes to MCP_URL as a bearer token and nowhere else. This package never writes it to disk.

What the browser groups store. browser and browser_full drive a browser on the server, and browser_save_session deliberately keeps that browser's cookies server-side so a later run can skip the login. That is the feature, and it is also the part to think hardest about: a saved session is a live credential for that site, held by us. browser_list_sessions shows what exists. Both groups are opt-in and off by default.

The page-side CAPTCHA tools — detect_captcha and solve_captcha_on_page, both on by default — exist partly to avoid this. They read HTML from your browser and hand back the JavaScript or cookie to apply in your session, so the session never moves.

What stays on your machine. One file: the offline tool-list cache — tool names and JSON schemas, keyed by endpoint, under CACHE_DIR (default ~/Library/Caches/2captcha-mcp on macOS, $XDG_CACHE_HOME/2captcha-mcp on Linux, %LOCALAPPDATA%\2captcha-mcp on Windows). No arguments, no results, no credentials. Deleting it costs one round trip on the next start.

Retention and removal. Request data is retained server-side per the 2Captcha privacy policy. To drop a stored browser session, load it and clear it, or ask support@2captcha.com. To remove everything local, delete the cache directory; to invalidate access, rotate your key at 2captcha.com/setting.


How it works

This package is a thin stdio bridge to the remote service: tool schemas are fetched live from the server and held for 60 seconds, so the package never drifts from the deployed tool surface, and new server-side tools appear automatically under GROUPS=all. Calls are forwarded verbatim — including structuredContent, images (screenshots), and tool errors — with automatic reconnection if the connection drops mid-session, and retries with exponential backoff on 429 and 5xx responses, honouring Retry-After.

It starts whether or not the network does. The tool list is cached on disk, so a laptop that wakes on a dead Wi-Fi still registers a working server and repopulates its tools by notification once the connection comes back — instead of the client marking the server broken until you restart it by hand. The one failure it still refuses to start on is a rejected token, because that one will not fix itself.

Costs are metered server-side against your token: scraping spends proxy/browser resources, solve_captcha spends one solve per call, and the LLM extraction in parse_marketplace/extract bills your own LLM key when you have one vaulted (BYOK), the server default otherwise. Pass include_meta: true to the parsing tools to see exactly what a call spent — this service is the only one that reports the price of a call to the agent making it, rather than only in a dashboard afterwards.

The free-tier allowance runs on that same meter, keyed to your account over its own 30-day window — which is why get_account can tell you exactly how many calls and how much spend you have left.


Troubleshooting

"Cannot run without the API_TOKEN env"

Set API_TOKEN in the env block of your client config to your 2Captcha API key (account settings). The free allowance is metered per account, so it needs the credential — signing up is free.

"Authentication to … failed"

The server rejected the token. Check for whitespace, and confirm which credential your deployment accepts (2Captcha API key vs. an operator-issued token).

"has used N of N calls allowed per 720h"

Your account's monthly allowance is spent. The window is rolling, so capacity returns as older calls age out; get_account shows how much is left and when. On a self-hosted server the operator raises WEBPARSE_FREE_TIER_MAX_CALLS / WEBPARSE_FREE_TIER_MAX_SPEND_USD, or exempts the account entirely.

"is outside this server's allowance, which covers: …"

The operator narrowed the allowance to a subset of tools (WEBPARSE_FREE_TIER_TOOLS). That is a server-wide restriction, not something a different credential lifts — ask them to widen it. get_account lists the tools your account can reach.

"spawn npx ENOENT"

Your MCP client can't find Node. Install Node.js ≥ 18 and make sure npx is on the PATH the client uses (on macOS GUI apps, use an absolute path to npx).

Timeouts on hard sites

Pages that force the full ladder (managed browser + CAPTCHA solve) can take minutes. Raise POLLING_TIMEOUT (seconds), and prefer scrape_pages/parse_pages for many URLs so the waiting happens server-side.

A tool I expect is missing

The default exposes parsing,batch,captcha. For a browser tool, set GROUPS=browser (the 11 login tools) or GROUPS=browser_full (all 23); GROUPS=all disables filtering entirely. If it is still missing, the server itself has that tool set disabled — or the operator narrowed the allowance to a subset of tools (get_account will say).


License

MIT — © 2Captcha. See LICENSE.

安装

TypingMind
{
  "mcpServers": {
    "2captcha-mcp": {
      "command": "npx",
      "args": [
        "@2captcha/mcp"
      ],
      "env": {
        "API_TOKEN": "<API_TOKEN>"
      }
    }
  }
}

将 2Captcha MCP MCP 与多个 AI 模型配合使用

TypingMind 在工作区级别连接 MCP 工具,因此连接 2Captcha MCP 后,您就可以在 TypingMind 中搭配不同的 AI 模型使用,无需为每个模型单独设置。 您可以在自己的设备上本地运行 MCP,也可以通过 URL 连接远程 MCP 服务器。

方式 1:使用本地连接器

如果 MCP 服务器需要访问您电脑上的本地文件、应用或私有资源,请选择此方式。

1

打开 MCP 设置

在 TypingMind 中,依次前往“设置”、“高级设置”和“模型上下文协议”,然后选择“设置连接器”。

  1. 在您的浏览器中打开 TypingMind。
  2. 点击“设置”图标。
  3. 进入“高级设置”。
  4. 打开“模型上下文协议”部分。
  5. 点击“设置连接器”,然后选择“此设备”。
TypingMind MCP 连接器设置界面,已选择“此设备”
2

运行连接器命令

选择“此设备”,从 TypingMind 复制命令并在终端中运行。使用 MCP 时,请保持该进程运行。

  1. 复制 TypingMind 显示的设置命令。
  2. 在 macOS 上打开“终端”,或在 Windows 上打开 Windows Terminal。
  3. 粘贴并运行命令。
  4. 如果终端询问您是否继续,请确认安装软件包。
  5. 使用 MCP 工具时,请保持终端窗口及其中的进程运行。
3

将 2Captcha MCP 添加为服务器

当连接器状态为“就绪”时,点击“编辑服务器”,然后粘贴 MCP 服务器配置。

  1. 等待连接器状态显示为“就绪”。
  2. 点击“编辑服务器”。
  3. 粘贴 2Captcha MCP MCP 服务器配置。
  4. 保存服务器列表。
  5. 如需确认连接器是否仍处于就绪状态,请刷新。
TypingMind MCP 设置界面,显示正在运行的服务器和“编辑服务器”按钮
{
  "mcpServers": {
    "2captcha-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@2captcha/mcp"
      ]
    }
  }
}
4

在不同模型中使用同一连接

保存服务器列表,打开“插件”,启用 2Captcha MCP MCP 工具,然后在 TypingMind 中选择任意受支持的 AI 模型,即可在聊天中使用这些工具,或将其分配给智能体。

  1. 在 TypingMind 中打开“插件”页面。
  2. 启用 2Captcha MCP MCP 工具。
  3. 开始聊天并选择您想使用的 AI 模型。
  4. 在聊天中使用 MCP 工具,或将其分配给 AI 智能体。
  5. 根据需要随时切换到其他 AI 模型,无需重新连接 MCP。
在 TypingMind 聊天中使用已启用的 MCP 工具和选定的 AI 模型
您能使用 2Captcha MCP 帮我完成这项任务吗?
2Captcha MCP
当然。我已阅读。
以下是我使用 2Captcha MCP 得到的结果。

方式 2:添加 MCP 服务器 URL

如果 2Captcha MCP 已托管在远程服务器上,或您的团队希望让多个用户共用一个连接器,请选择此方式。

1

打开 MCP 连接器

在 TypingMind 中,前往“插件”,打开“MCP 连接器”,然后选择“添加 URL”。

  1. 在您的浏览器中打开 TypingMind。
  2. 进入“插件”。
  3. 打开“MCP 连接器”。
  4. 点击“添加 URL”。
TypingMind 的“添加自定义 MCP 服务器 URL”表单
2

粘贴服务器 URL

在“服务器 URL”字段中输入 https://mcp.2captcha.com/mcp。根据服务器要求,添加连接名称、描述、图标、自定义 HTTP 请求头或 OAuth 客户端设置。

  1. 将 https://mcp.2captcha.com/mcp 粘贴到“服务器 URL”字段中。
  2. 为 2Captcha MCP 输入连接名称。
  3. 您可以添加描述和图标,以便更容易识别此连接。
  4. 如果服务器需要身份验证,请添加自定义 HTTP 请求头或 OAuth 客户端信息。
3

创建连接

点击“创建连接”,然后返回插件列表,确认新的 MCP 连接显示为“有效”。

  1. 点击“创建连接”。
  2. 返回 MCP 连接器列表。
  3. 确认 2Captcha MCP 连接显示为“有效”。
  4. 如果连接未立即出现,请刷新插件列表。
4

切换模型,无需重新连接

使用您偏好的模型开始聊天,在“插件”中启用 2Captcha MCP 工具,并根据需要随时切换到其他模型。该 MCP 连接在 TypingMind 工作区中仍然可用。

  1. 在 TypingMind 中开始新聊天。
  2. 选择您想使用的 AI 模型。
  3. 在“插件”中启用 2Captcha MCP 工具。
  4. 需要时,请让模型使用该工具。
  5. 切换到其他 AI 模型,继续使用同一个 MCP 连接。
在 TypingMind 聊天中使用已启用的 MCP 工具和选定的 AI 模型
您能使用 2Captcha MCP 帮我完成这项任务吗?
2Captcha MCP
当然。我已阅读。
以下是我使用 2Captcha MCP 得到的结果。

常见问题

2Captcha MCP MCP 服务器有什么用途?

2Captcha MCP 是一个 MCP 服务器,可让兼容的 AI 客户端连接外部工具并获取上下文。在 TypingMind 中,只需添加一次此 MCP 服务器,即可在您的 AI 工作区中使用其工具。

可以在 TypingMind 中让多个 AI 模型使用 2Captcha MCP MCP 吗?

可以。TypingMind 在工作区层面连接 MCP 工具,因此您可以让 Claude、ChatGPT、Gemini 等不同 AI 模型,或您在 TypingMind 中配置的其他模型使用 2Captcha MCP,而无需为每个模型单独配置 MCP 服务器。

为什么在 TypingMind 中使用 2Captcha MCP MCP?

TypingMind 将多个 AI 模型、提示词、插件、AI 智能体、API 密钥和 MCP 工具整合到同一个工作区中,是优秀的大语言模型聊天前端之一。连接 2Captcha MCP 后,您可以在偏好的不同模型中使用其 MCP 工具,同时在 TypingMind 中井然有序地管理聊天工作流程。

如何将 2Captcha MCP MCP 连接到 TypingMind?

您可以通过本地 MCP 连接器,或添加远程 MCP 服务器 URL,在 TypingMind 中连接 2Captcha MCP。当服务器需要访问您设备上的文件、应用或私有资源时,请使用本地连接器;当 MCP 服务器托管在远程时,请使用服务器 URL。

2Captcha MCP MCP 在 TypingMind 中提供哪些工具?

2Captcha MCP 提供 MCP 功能,您可以在 TypingMind 的插件页面启用这些功能,然后在聊天中使用,或将其分配给 AI 智能体。

使用 2Captcha MCP MCP 需要向 TypingMind 提供我的 API 密钥吗?

不需要。TypingMind 采用本地优先的设计,让您自行掌控模型提供商、API 密钥、提示词和 MCP 配置。如果 2Captcha MCP 需要身份验证,请在创建连接时,为该 MCP 服务器添加所需的请求头、OAuth 设置或本地配置。

相关 MCP 服务器

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇