
Khadija Santos
AI Agent & MCP Engineer
Published Aug 12, 2026
Updated Aug 12, 2026 · min read

We tested MCP discovery in Cursor Agent CLI. It reported the server as ready and listed 15 core tools.
The tested setup uses capsolver-mcp==0.2.0 in an isolated Python environment.
A local stdio preflight discovered 15 core tools and called list_task_types without a provider key.
The catalog call returned 25 task types.
Keep secrets out of project files and review the tool being invoked before enabling an authorized workflow.
When a tool fails to appear in Cursor, an API key is only one possible concern. The configured executable may not exist, the package may be installed in another environment or the MCP process may fail before tool discovery. Testing each stage separately gives the error a location and avoids changing unrelated settings.
CapSolver documents a Python MCP server with local stdio support. This guide uses that actual package and a small MCP client to verify startup, initialization and a local registry call. It then shows how the same executable can be represented in a Cursor configuration. We verified tool discovery in Cursor Agent CLI and ran the catalog call with a local MCP client.
Install the MCP server in a dedicated Python environment, then use that environment’s absolute executable path.
The CapSolver MCP 0.2.0 release notes describe the core and browser services. Python's virtual environment documentation explains environment creation. The following shell commands are setup instructions for a POSIX shell; the pinned packages were installed successfully in the verification environment.
python3 -m venv .venv
.venv/bin/python -m pip install "capsolver-mcp==0.2.0"
Use Python 3.11 or later for the preflight because it uses asyncio.timeout. On Windows, use the environment's Scripts/python.exe path. Pinning records the versions tested here; it is not a claim that these will remain the newest versions.
The local registry check below does not launch a browser. The official MCP guide separately documents browser extras and a Chromium installation for browser operations. Tool discovery can therefore pass while a later browser action still needs additional setup.
The AI and automation FAQ provides broader product context.
Run a small stdio client that initializes the server, checks the tool list and calls its local supported-type registry.
The MCP lifecycle specification defines initialization before normal operation. Save the following as preflight.py and run it with .venv/bin/python preflight.py from the environment created above.
import asyncio
import json
import sys
from mcp import ClientSession, StdioServerParameters
from mcp.client.stdio import stdio_client
async def main():
params = StdioServerParameters(
command=sys.executable, args=["-m", "capsolver_mcp"], env={})
async with asyncio.timeout(30), stdio_client(params) as (reader, writer):
async with ClientSession(reader, writer) as client:
await client.initialize()
tools = await client.list_tools()
reply = await client.call_tool("list_task_types", {})
data = json.loads(reply.content[0].text)
assert not reply.isError and data["ok"]
print(len(tools.tools), data["source"], len(data["tasks"]))
asyncio.run(main())
In our local MCP test, the script printed 15 versioned_local_catalog 25. Those values are the number of core tools, the source returned by list_task_types, and the number of task types in that catalog. The context managers closed the session and the subprocess. Separately, Cursor Agent CLI read the project’s .cursor/mcp.json. After approving capsolver, agent mcp list reported ready, and agent mcp list-tools capsolver returned 15 tools.
The child process receives no provider key. In the tested version, the registry operation reads supported handlers locally. No balance or solving call was made. A listed tool is a capability declaration; its presence does not prove credentials, browser dependencies or the target workflow are ready. The 30-second deadline bounds the local check instead of leaving a failed initialization waiting indefinitely.
Use bonus code CAP26 when topping up your CapSolver account to get an extra 5% bonus on every recharge — with no limits.
Redeem it now in your CapSolver Dashboard

Point Cursor's MCP configuration to the same installed Python executable and module that passed the preflight.
Cursor documents .cursor/mcp.json for project settings and ~/.cursor/mcp.json for global settings in its MCP setup guidance. The following is a JSON configuration template. Replace the executable path with your real absolute path before using it; its structure was parsed during verification, but it was not loaded in the Cursor UI for this article.
{
"mcpServers": {
"capsolver": {
"command": "/absolute/path/to/project/.venv/bin/python",
"args": ["-m", "capsolver_mcp"]
}
}
}
The official server documentation supports CAPSOLVER_API_KEY. The template deliberately contains no secret. Supply the key through an appropriate local secret mechanism and ensure that the server process launched by Cursor receives it. A variable set in one terminal does not establish that a separately launched desktop application has that variable.
Review Cursor's current configuration options for your environment. Keep credentials out of shared project configuration, screenshots, prompts and diagnostic output. Follow the MCP guidance on security considerations for tool connections when reviewing trust boundaries.
In Cursor chat, request “Call list_task_types on capsolver with {} and return the source and task count.” Expand the tool result and compare it with the preflight. If the tool is missing, check the executable in the active configuration and the server’s enablement.
Classify the failed stage and test its prerequisite directly before repeating a tool call.
Do not print a key to confirm that it exists. Check presence without exposing the value, and use the provider's returned error classification for a controlled authorized request. The MCP troubleshooting guide provides additional context for later failures.
Use CapSolver with one authorized test workflow after local startup and discovery are understood.
Add provider access and browser prerequisites only where the chosen tool needs them. Then verify the page and final business assertion, recording that evidence separately from the preflight output. This sequence leaves each failure with a specific owner: local setup, protocol, account access, browser runtime or application behavior.
Q: Can the preflight run without a CapSolver API key?
Yes. In our test, the local MCP client retrieved the task catalog without an API key.
Q: How did you verify the Cursor MCP configuration?
Cursor Agent CLI loaded the configuration and listed the tools. In a separate check, the local MCP client called list_task_types and received the task catalog.
Q: Why use an absolute Python path?
It identifies the environment containing the tested packages. A desktop application's command search path may differ from the terminal where packages were installed.
Q: Do discovered browser tools mean Chromium is installed?
No. Tool discovery and browser runtime readiness are separate checks. Follow the official browser setup instructions before using browser operations.

Khadija Santos
AI Agent & MCP Engineer
Develops and maintains CapSolver’s MCP tooling, from implementation and package releases to AI agent integrations.
ABOUT THE AUTHOR
Learn how to install CapSolver MCP, configure your AI client, discover CAPTCHA task types, verify your connection, and add an optional browser service.

Learn how AI procurement assistants handle CAPTCHAs during supplier research, compare public product evidence, and prepare shortlists for buyer review.
