← nocaptchaai.comDocs
    DocsChangelog

    Get Started

    Start Here
    QuickstartAuthenticationError Codes
    Browser Extension

    Captcha Types

    Token Tasks
    Cloudflare Turnstile Task
    Image Tasks
    ReCaptcha v2GeeTest V4ImageToTextBLS CaptchaBinanceAWS WAFTikTokDB-betMTCaptchaTencentProSOPO

    API Reference

    Overview
    Solver
    Create async captcha solving taskPoll task result (GET)Poll task resultSolve captchaGet response statusCollect endpoint (reserved)Report accuracy feedbackGet accuracy report
    Balance
    Check balance & plan infoLegacy balance formatList all error codes
    System
    Health check

    SDKs

    OverviewPythonJavaScript / Node.jsGo

    Agents

    OverviewModel Context Protocol (MCP)Claude CodeOpenAI CodexCursorClineOpenClaw

    Guides

    Browser ExtensionError HandlingChoosing a Task Type
    ← nocaptchaai.com
    Get API key
    Sign inGet API key

    OpenAI Codex

    Add NoCaptchaAI captcha-solving to the OpenAI Codex CLI via MCP.

    Loading…

    PreviousClaude CodeNextCursor
    [ ] Docs[ ] Extension[ ] Pricing[ ] Changelog[ ] Partners[ ] Terms[ ] Privacy[ ] Cookies[ ] Refunds[ ] Contact

    Spicrawl

    Free web scraping API for AI agents.

    spicrawl.com

    Spicrawl

    © 2026 NoCaptchaAI

    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:

    toml
    [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:

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