OpenAI Codex
Add NoCaptchaAI captcha-solving to the OpenAI Codex CLI via MCP.
The OpenAI Codex CLI supports MCP servers through its configuration file. Register the NoCaptchaAI MCP server there and Codex can solve captchas as a native tool.
Add the MCP server
Edit ~/.codex/config.toml and add an [mcp_servers.nocaptchaai] table that launches
the server over stdio:
[mcp_servers.nocaptchaai]
command = "npx"
args = ["-y", "nocaptchaai-mcp"]
env = { NOCAPTCHAAI_API_KEY = "your_key" }Get your_key from the dashboard. This is the same
server shape used everywhere — only the file format differs from the JSON
mcpServers config.
Use it
Start Codex and ask it to clear a challenge. It discovers the server's tools on launch
and calls solve_captcha when needed:
Solve the Turnstile captcha on https://example.com (site key 0x4AAAAAAA...)
and submit the form with the returned token.Codex creates the task, polls until the solution is ready, and continues with the token in hand.
See the MCP page for the server config and reference implementation.