MCP server for Clearcote — drive the open-source stealth Chromium from Claude Desktop, Cursor, Cline, and any MCP client.
Project description
Clearcote MCP server
Drive the open-source Clearcote stealth Chromium from any MCP client — Claude Desktop, Cursor,
Cline, Continue, or your own agent. One shared, coherent stealth browser; ~20 tools to navigate,
read, extract, click, fill, screenshot, and persist sessions — plus get_cdp_endpoint, which hands
the same stealth browser to any Playwright / Puppeteer / browser-use / Crawl4AI client.
The fingerprint is corrected in Chromium's C++, so you do not add puppeteer-stealth /
undetected-chromedriver / any JS patching — those self-reveal and undo it. Driving over CDP adds
no automation flags, so navigator.webdriver stays false and the persona is intact end to end.
Run it
Node (no install):
npx clearcote-mcp
Python:
pip install clearcote-mcp
clearcote-mcp # stdio server
Both auto-download + SHA-256-verify the right Clearcote binary per OS on first use (native Windows x64 + Linux x64).
Add it to a client
Claude Desktop / Cursor / Cline mcpServers config:
{
"mcpServers": {
"clearcote": {
"command": "npx",
"args": ["-y", "clearcote-mcp"],
"env": {
"CLEARCOTE_FINGERPRINT": "acct-1",
"CLEARCOTE_PLATFORM": "windows",
"CLEARCOTE_PROXY": "http://user:pass@host:port",
"CLEARCOTE_GEOIP": "1"
}
}
}
}
The persona lives in the environment, so the tool surface stays clean:
| env var | meaning |
|---|---|
CLEARCOTE_FINGERPRINT |
seed → one stable, coherent identity (same seed = same machine across runs) |
CLEARCOTE_PLATFORM |
windows | linux | macos | android |
CLEARCOTE_BRAND |
Chrome | Edge | Opera | Vivaldi |
CLEARCOTE_PROXY |
http://user:pass@host:port (routes all traffic) |
CLEARCOTE_GEOIP |
1 → derive timezone/locale/WebRTC IP from the proxy exit IP |
CLEARCOTE_TIMEZONE / CLEARCOTE_ACCEPT_LANGUAGE |
explicit overrides |
CLEARCOTE_HEADLESS |
0 for a visible window (default headless) |
CLEARCOTE_BINARY |
path to a specific Clearcote binary (optional) |
Hardening knobs: CLEARCOTE_MCP_TOOL_TIMEOUT (s), CLEARCOTE_MCP_WRITE_DIR (sandbox for file
writes), CLEARCOTE_MCP_ALLOW_ANY_PATH=1, CLEARCOTE_ALLOW_PRIVATE_EGRESS=1 (allow localhost /
private targets), CLEARCOTE_MCP_PREWARM=0, CLEARCOTE_SERVE_PORT.
Tools
Read · read_page (text + Markdown) · get_page_html · page_elements (interactive elements +
selectors) · evaluate_js · wait_for · current_page · get_cookies · list_tabs
Act · navigate · click (selector or visible text) · fill_field (selector/label/placeholder/name)
· press_key · new_tab · close_tab
Capture · screenshot_page · save_page_pdf
Session · save_profile / load_profile (cookies + storage)
Stealth / infra · get_egress_info (public IP + active persona) · get_cdp_endpoint (attach any
other CDP client to the same stealth browser)
Guardrails (built in)
- Every tool has a wall-clock timeout and returns a structured error instead of crashing the server.
- URL args are SSRF-checked — localhost / private / cloud-metadata are refused unless you opt in.
- File writes are confined to a sandbox dir (no path traversal).
- Oversized text is capped so a response never floods the agent's context.
- The shared browser is rebuilt automatically if it dies.
Just want the raw endpoint?
If you don't need the tools, run the browser as a standing CDP endpoint and attach your existing code:
clearcote-serve --port 9222 --fingerprint acct-1 --platform windows
# → prints http://127.0.0.1:9222 ; then: connect_over_cdp / puppeteer.connect({browserURL})
See USAGE.md for per-client examples. Part of clearcote-browser (BSD-3).
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file clearcote_mcp-0.1.0.tar.gz.
File metadata
- Download URL: clearcote_mcp-0.1.0.tar.gz
- Upload date:
- Size: 12.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
34e04ea895338cfb5038a1fef5a2c20ad5e9f987bd254a9ebdffd449b53fb36a
|
|
| MD5 |
86d77ed7a46886fac68bfef11783d614
|
|
| BLAKE2b-256 |
5712c6dfb6b428571a62cd0de4ed98d9598356ad9c586ce70bf23b45db13be63
|
Provenance
The following attestation bundles were made for clearcote_mcp-0.1.0.tar.gz:
Publisher:
mcp.yml on clearcotelabs/clearcote-browser
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
clearcote_mcp-0.1.0.tar.gz -
Subject digest:
34e04ea895338cfb5038a1fef5a2c20ad5e9f987bd254a9ebdffd449b53fb36a - Sigstore transparency entry: 2125345997
- Sigstore integration time:
-
Permalink:
clearcotelabs/clearcote-browser@05f8c9818b54bc60c67002d8f45e2c710bb0cf8f -
Branch / Tag:
refs/heads/main - Owner: https://github.com/clearcotelabs
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
mcp.yml@05f8c9818b54bc60c67002d8f45e2c710bb0cf8f -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file clearcote_mcp-0.1.0-py3-none-any.whl.
File metadata
- Download URL: clearcote_mcp-0.1.0-py3-none-any.whl
- Upload date:
- Size: 11.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
33a8b19f84ac61566d7c7e83b49840de41ba6369bc8b2dadf2bbde0ed573cf01
|
|
| MD5 |
3f6e34b0306fa4dc32f5703dcf3da61e
|
|
| BLAKE2b-256 |
d5ae72a04f75f09a72e5483ab93717422ce697dd69d292d2fee32b01f990622d
|
Provenance
The following attestation bundles were made for clearcote_mcp-0.1.0-py3-none-any.whl:
Publisher:
mcp.yml on clearcotelabs/clearcote-browser
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
clearcote_mcp-0.1.0-py3-none-any.whl -
Subject digest:
33a8b19f84ac61566d7c7e83b49840de41ba6369bc8b2dadf2bbde0ed573cf01 - Sigstore transparency entry: 2125346195
- Sigstore integration time:
-
Permalink:
clearcotelabs/clearcote-browser@05f8c9818b54bc60c67002d8f45e2c710bb0cf8f -
Branch / Tag:
refs/heads/main - Owner: https://github.com/clearcotelabs
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
mcp.yml@05f8c9818b54bc60c67002d8f45e2c710bb0cf8f -
Trigger Event:
workflow_dispatch
-
Statement type: