MCP server
cdpfleet-mcp gives an AI assistant a real browser on the fleet through the Model Context Protocol: it picks the browser the site should see, browses through a residential IP (by country) or your own proxy, reads pages as accessibility snapshots, and can hand the browser to a person — to solve a captcha or type a code — through live view. Every session is recorded, so you can watch afterwards what the agent did. When a page only needs reading, Functions tools return it in one call, with no browser to drive.
Hosted: nothing to install
Step-by-step for Claude, ChatGPT, Claude Code, Codex and Cursor: MCP setup. What to ask, with the real tool calls: example prompts.
The same tools run at https://cdpfleet.com/mcp (MCP over Streamable HTTP). Your browsers are billed and limited by your plan exactly as from code.
- Claude, ChatGPT, Cursor, Claude Code…: add
https://cdpfleet.com/mcp; your assistant opens a cdpfleet window — sign in and click Allow (OAuth). Disconnect any time in the dashboard → API keys → Connected AI apps. - Without OAuth (scripts, headless agents): send
Authorization: Bearer <your API key>.
Browsers belong to your API key (or to the connected app), not to one chat: every connection on it shares them, so an assistant that opens a new connection for each message (ChatGPT does) still finds the browser it launched. To run several agents at once on one key, give each its own browser_name (below). A browser left idle for 30 minutes is closed, which ends its session.
What an agent gets from a real browser — live-view handoff, recordings, profiles, keep_alive — and when not to use one: cdpfleet for AI agents.
Or run it locally
Claude Code:
claude mcp add cdpfleet -e CDPFLEET_API_KEY=your-key -- npx -y cdpfleet-mcp
Claude Desktop, Cursor, Windsurf and other clients — add to the client's MCP configuration (claude_desktop_config.json, .cursor/mcp.json, …):
{
"mcpServers": {
"cdpfleet": {
"command": "npx",
"args": [
"-y",
"cdpfleet-mcp"
],
"env": {
"CDPFLEET_API_KEY": "your key"
}
}
}
}
Optional: CDPFLEET_PROXY sets the default proxy (your own proxy URL); without it the agent uses the cdpfleet residential proxy, billed per GB from your balance by tier ($5 free credit).
Tools
| Tool | What it does |
|---|---|
launch_browser | Starts a browser: browser (chrome, edge, brave, opera, whale, yandex, chromium, patchright, camoufox, firefox, webkit), headless (default headful), proxy, country (residential exit), record, downloads (keep downloaded files), and any other launch option. |
navigate | Opens a URL; returns the status, final URL and title. |
snapshot | The page (or one element) as an accessibility snapshot — roles, names, text and links, a fraction of the HTML's size (case). |
click, type, press, wait_for | Act on the page by CSS selector or by role and name from the snapshot. |
screenshot | A JPEG of the viewport or the whole page. |
evaluate | Runs JavaScript in the page and returns the result (data extraction). |
live_view | Hands the browser to a person: they watch or take control in the dashboard's Sessions page while the agent waits. |
close_browser | Ends the session; its recording appears under Sessions shortly after. |
downloads | Files kept from a session launched with downloads: true (paid plans): names, sizes and a private 15-minute link each, about a second after close_browser (the tool waits for them) (downloads). Hosted server and npm cdpfleet-mcp 0.1.3+. |
list_browsers, account | The browsers and versions on offer; your usage, live sessions and residential balance. |
Every browser tool takes an optional browser_name (default default): launch with a name, then pass the same name to navigate, click and the rest to drive that browser.
Functions: no browser to drive
| Tool | What it does |
|---|---|
scrape | Reads a page in one call: a real browser loads it (optionally from a country) and returns its markdown, text, links or html; wait_for a selector, extract values by CSS selector (Functions). |
screenshot_url | A screenshot of any URL (viewport or full page), without launching a browser yourself. |
map_site | A site's URLs from its sitemaps and the start page's links (up to 5,000), with include and exclude patterns. |
start_job, job_status | Paid plans: a batch over a list of URLs or a crawl from a start URL, run in the background; its progress, and its results page by page (jobs). |
Functions tools, browser_name and the corrected sharing rules: hosted server now; the npm cdpfleet-mcp package from 0.2.0.
Good to know
- One browser per name: launching again with the same
browser_namereplaces that browser; up to 5 named browsers per key, and each counts against your plan's threads (on the free plan, two headless ones at most). - Reading only?
scrapecosts a few seconds of one thread; a browser you drive bills untilclose_browser. - Billing is the same as for your code: thread time while the browser runs (a headful browser takes 2 threads), residential traffic per GB.
- Not built in: captcha solving — use
live_viewto let a person do it. - Built on the Node.js SDK; sources at github.com/cdpfleet/cdpfleet/sdk/mcp.