Tool for VS Code

Copilot can read the whole web, blocks included.

UnblockingAPI plugs into VS Code over MCP, so Copilot's agent mode can fetch pages that normally refuse automated tools - fully rendered, through your own API key.

500 free credits  ·  No credit card  ·  Open-source MCP server

code --add-mcp
code --add-mcp '{"name":"unblockingapi","command":"npx","args":["-y","@unblockingapi/mcp"],"env":{"UNBLOCKINGAPI_KEY":"your_api_key_here"}}'
Step 1

Built for agent mode

Copilot's agent gets unblock_fetch and find_templates, useful when it's reading docs or pulling structured data mid-task.

Step 2

Works across every workspace

Installed at user level, so it's there in every folder you open rather than per-project.

Step 3

Clear errors when something's off

VS Code shows a clear indicator in Chat when the server can't reach the API, so you always know why a fetch failed.

Copilot's agent mode can fetch a page on its own, but it stalls on anything that renders with JavaScript or sits behind bot protection - a product page that loads prices client-side, a search-results page with a CAPTCHA, a dashboard that needs a login session. UnblockingAPI gives it a real browser fetcher instead, so those pages come back rendered rather than empty or blocked.

If the agent needs structured fields rather than a full page - a price, a title, a list of listings - the visual editor builds that without CSS selectors or regex: load the page, tap what you want, and it saves a template that returns clean JSON on every call.

Two ways to add it

A terminal command, or the config file directly - the same @unblockingapi/mcp package used by Claude, Cursor and Zed.

From a terminal

If you have the code command on your PATH, one line does it.

code --add-mcp '{"name":"unblockingapi","command":"npx","args":["-y","@unblockingapi/mcp"],"env":{"UNBLOCKINGAPI_KEY":"your_api_key_here"}}'

By hand

Run MCP: Open User Configuration and paste this in. Note the key is servers here - VS Code uses a different name from the other editors.

{
  "servers": {
    "unblockingapi": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "@unblockingapi/mcp"],
      "env": { "UNBLOCKINGAPI_KEY": "your_api_key_here" }
    }
  }
}

Try it in Copilot

Switch Chat to Agent mode and paste this in.

Use unblockingapi to fetch a product page from amazon.com as structured data - a title, a price and a rating.
No code

Want structured data instead of raw HTML?

unblock_fetch hands back the full rendered page. For clean fields instead - a price, a title, a whole list - build a template visually in the editor: load the page, tap what you want, done. No CSS selectors to write by hand.

Save it and it's a reusable API endpoint - same account, same key, same as the built-in templates. Build the structure once, then call it from your app - or your AI agent - forever.

Try the editor

No account needed to try it  ·  No credit card  ·  More about the editor

amazon.comSample data

Select one item. Similar items are detected automatically.

Website

Sony WH-1000XM5

4.6

$299.99

Bose QuietComfort

4.5

$249.00

Bang & Olufsen Beoplay

4

$1,714.99

Extracted JSON

{ "products": [
  { "name": "Sony WH-1000XM5", "price": 299.99, "currency": "USD", "rating": 4.6 },
  { "name": "Bose QuietComfort", "price": 249, "currency": "USD", "rating": 4.5 },
  { "name": "Bang & Olufsen Beoplay", "price": 1714.99, "currency": "USD", "rating": 4 }
] }

Tap one item, get every item - as an array.

VS Code questions

GitHub Copilot in agent mode. Open the Chat view, switch the mode to Agent, and the UnblockingAPI tools appear in its tool list alongside the built-in ones.

In your user-level mcp.json. The quickest way to find it is the MCP: Open User Configuration command - VS Code deliberately documents it by command rather than by path, because the location moves with your profile.

Yes, in UNBLOCKINGAPI_KEY. New Pay as you Go accounts get 500 free credits with no credit card, which is plenty to connect and try it.

Yes. Insiders uses its own handler and its own config, so run code-insiders --add-mcp with the same JSON, or add it through the Insiders MCP configuration.

No - that's what the visual editor is for. Load a page, tap the fields you want, and it builds a structured-data template for you - no selector to write by hand.

Yes. UnblockingAPI runs a real headless browser and rotates residential proxies, so Copilot's agent gets the fully rendered page even for single-page apps, dashboards and sites that block plain HTTP requests.

Yes - it's the same MCP server and the same API key. See the Claude, Cursor and Zed setup pages for the exact config each one expects.

Also works with

One API key, every assistant. Connect as many as you like.

Give Copilot a real browser.

500 free credits, no credit card. Connect in under a minute.