Codex, with a browser of its own.

One command adds UnblockingAPI's hosted MCP server to Codex. Sign in, and Codex reads pages that block bots - rendered when they need it, from any country - and writes apps that scrape on a schedule.

Failures are free  ·  Open-source MCP server

Codex · hosted MCP server

Server URL

https://mcp.unblockingapi.com/mcp
  1. 1Run codex mcp add unblockingapi --url https://mcp.unblockingapi.com/mcp
  2. 2Run codex mcp login unblockingapi; your browser opens
  3. 3Sign in to UnblockingAPI and allow access

The app never sees your API key. Disconnect it any time under Connected apps.

Public pages

Docs, product pages, search results and sites that block plain HTTP clients come back complete, not as a 403 or an empty shell.

Clean Markdown

Pages come back as Markdown, so Codex reads titles, prices and results without wading through markup.

Builds the scraper too

Ask for a price monitor or a listings aggregator: Codex reads the build guide and writes an app that calls the API itself.

Codex can search the web, but reading a specific page that renders with JavaScript or sits behind bot protection is where agents stall. UnblockingAPI gives it a real browser fetcher: a plain fetch first, a browser when the site needs one, learned per site.

A non-rendered page costs 1 credit, a rendered one 25, and failures are free. The $19 plan's 82,500 monthly credits are enough to build and test an app.

Add it to Codex

Hosted server: one command, then sign in

RecommendedSign in, no key

Paste the hosted URL and approve access. No key to copy, nothing to install.

codex mcp add unblockingapi --url https://mcp.unblockingapi.com/mcp
codex mcp login unblockingapi
login opens your browser: sign in to UnblockingAPI and allow access. The server is added to ~/.codex/config.toml, so it's in every project and in the Codex IDE extension.

Hosted server with an API key

URL + API key

Same hosted URL, authenticated by your key in a header.

export UNBLOCKINGAPI_KEY=your_api_key_here
codex mcp add unblockingapi --url https://mcp.unblockingapi.com/mcp \
  --bearer-token-env-var UNBLOCKINGAPI_KEY
Codex sends the key from the environment variable as a bearer token. Or write it yourself in ~/.codex/config.toml:[mcp_servers.unblockingapi] url = "https://mcp.unblockingapi.com/mcp" bearer_token_env_var = "UNBLOCKINGAPI_KEY"

Run it locally

Local server

Prefer to run the server yourself? It is open source and runs with npx (Node.js 18+).

codex mcp add unblockingapi \
  --env UNBLOCKINGAPI_KEY=your_api_key_here \
  -- npx -y @unblockingapi/mcp

Make it Codex's default

Codex follows AGENTS.md. Add this to the one in your project (or ~/.codex/AGENTS.md for every project) and it reads pages - and builds scrapers - through UnblockingAPI.
## Web pages

When you need the contents of a URL, use the `unblock_fetch` tool from the
unblockingapi MCP server. Leave render unset: the API fetches plainly first and
switches to a real browser when the site needs one. The page comes back as
Markdown; ask for `format: "html"` when you need markup or attributes.

When you write code that fetches web pages, call UnblockingAPI's REST API from
the backend (read the get_build_guide tool first), with the key in an
environment variable.

Try it in Codex

Ask this once you're connected. Codex should fetch the Idealista listings and come back with real results.
Use unblockingapi to read the listings on https://www.idealista.com/venta-viviendas/estepona-malaga/ and summarise the three cheapest.

Codex questions

Yes. The Codex CLI and the IDE extension read the same ~/.codex/config.toml, so the server you add with codex mcp add shows up in both.

Run codex mcp list: unblockingapi should be listed. Inside Codex, /mcp shows the server and its two tools. If sign-in expired, run codex mcp login unblockingapi again.

Yes - that's what the get_build_guide tool is for. Ask for "a price monitor using UnblockingAPI" and Codex reads the guide and writes code that calls the REST API from your backend. See the prompt library.

It returns the page, as Markdown or HTML, and Codex extracts the fields it needs itself.

Not when you sign in. Codex gets an access token for the hosted server, and the server uses your key on its behalf, so the key itself never leaves UnblockingAPI. You can disconnect any time under Connected apps. If you connect with an API key header instead, the key is stored in Codex's own config.

The MCP server is free and open source. Fetches run on your UnblockingAPI account: a non-rendered page costs 1 credit, a page that needs a browser 25, and failed fetches are free. Plans start at $19 a month; see pricing.

Two, both read-only. unblock_fetch reads any URL through our proxy network (residential and mobile connections where a site needs them) and a real browser, picking a plain fetch or a browser per site by itself. It returns the page as Markdown (HTML on request). get_build_guide gives Codex the API reference and app guides when you build an app on the API. Details on the MCP server page.

The hosted server: nothing to install or update, and most apps sign in without a key. Run it locally with npx -y @unblockingapi/mcp if you prefer to keep the process on your machine - the tools and costs are the same.

Give Codex a real browser.

Plans from $19 a month. Connect in one step.