# nokk

nokk — an MCP server built in Rust with a real V8 engine and DOM that replicates Chrome's TLS and HTTP fingerprint to pass Cloudflare challenges — no Chromium required.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 32 repo stars
- Author: koloss777
- License: Apache-2.0 · policy=link-only · description only; the file stays with the author
- Source: https://github.com/koloss777/nokk
- Updated: 2026-10-28
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/mcp/nokk

## What it does

nokk runs on Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, and several other platforms. The core is a Rust runtime with V8 and a DOM; the TLS handshake and HTTP/2 fingerprints (JA3/JA4) match Chrome 151. There is no `navigator.webdriver` and no CDP detection artifacts, so anti-bot systems see a regular Chrome session.

Benchmarks on nokk 0.1.35 across 8 production sites show 24 of 24 Cloudflare solves; median wall time is 12.4 s, peak memory per solve around 570 MB versus ~720 MB for Chrome under Puppeteer. At idle the process takes about 60 MB in a single process. Ad and tracker requests are dropped by default; anti-bot vendor requests are always allowed through because they must complete to issue a clearance cookie.

Screenshots, PDFs and layout rendering are not available — nokk has no rendering engine, and CDP coverage covers navigation and scripting only. Installation requires Python with `uvx`; the `nokk-mcp` package is on PyPI. Proxy routing, fingerprint rotation and auto-solve behaviour are controlled through `NOKK_PROXY`, `NOKK_ROTATE_FINGERPRINT` and `NOKK_NO_AUTO_SOLVE`.

## Requirements
- Needs: Python and uv (commands run via uvx)
- Environment variables: `NOKK_PROXY`, `NOKK_ROTATE_FINGERPRINT`, `NOKK_NO_AUTO_SOLVE` — keys and tokens: ask the human for the values, never commit them or put them in shared files.

## Install

### Claude Code (native platform)

**Platform CLI**
```bash
claude mcp add --env NOKK_PROXY=<NOKK_PROXY> --env NOKK_ROTATE_FINGERPRINT=<NOKK_ROTATE_FINGERPRINT> --env NOKK_NO_AUTO_SOLVE=<NOKK_NO_AUTO_SOLVE> --transport stdio nokk -- uvx nokk-mcp
```
Replace <…> with your own values. uvx runs the command named after the package; if the README names another one, use uvx --from nokk-mcp <command>

### Codex

**Platform CLI**
```bash
codex mcp add nokk --env NOKK_PROXY=<NOKK_PROXY> --env NOKK_ROTATE_FINGERPRINT=<NOKK_ROTATE_FINGERPRINT> --env NOKK_NO_AUTO_SOLVE=<NOKK_NO_AUTO_SOLVE> -- uvx nokk-mcp
```
Replace <…> with your own values. uvx runs the command named after the package; if the README names another one, use uvx --from nokk-mcp <command>

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "nokk": {
            "command": "uvx",
            "args": [
                "nokk-mcp"
            ],
            "env": {
                "NOKK_PROXY": "<NOKK_PROXY>",
                "NOKK_ROTATE_FINGERPRINT": "<NOKK_ROTATE_FINGERPRINT>",
                "NOKK_NO_AUTO_SOLVE": "<NOKK_NO_AUTO_SOLVE>"
            }
        }
    }
}
```
Replace <…> with your own values. uvx runs the command named after the package; if the README names another one, use uvx --from nokk-mcp <command>

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "nokk": {
            "type": "stdio",
            "command": "uvx",
            "args": [
                "nokk-mcp"
            ],
            "env": {
                "NOKK_PROXY": "<NOKK_PROXY>",
                "NOKK_ROTATE_FINGERPRINT": "<NOKK_ROTATE_FINGERPRINT>",
                "NOKK_NO_AUTO_SOLVE": "<NOKK_NO_AUTO_SOLVE>"
            }
        }
    }
}
```
Replace <…> with your own values. uvx runs the command named after the package; if the README names another one, use uvx --from nokk-mcp <command>

### Gemini CLI

**Platform CLI**
```bash
gemini mcp add -e NOKK_PROXY=<NOKK_PROXY> -e NOKK_ROTATE_FINGERPRINT=<NOKK_ROTATE_FINGERPRINT> -e NOKK_NO_AUTO_SOLVE=<NOKK_NO_AUTO_SOLVE> nokk uvx nokk-mcp
```
Replace <…> with your own values. uvx runs the command named after the package; if the README names another one, use uvx --from nokk-mcp <command>

## When to use it
- fetch the content of a page behind a Cloudflare interstitial
- connect Puppeteer or Playwright to a CDP endpoint without launching Chromium
- run DOM queries on pages with Turnstile widgets through an AI agent
- route browser sessions through a proxy with per-context fingerprint rotation
- scrape a protected page without exposing headless signals

## Example prompts
- Go to `https://www.scrapingcourse.com/cloudflare-challenge` and return the text of the `h2` heading
- Connect to nokk over CDP, navigate past the Cloudflare challenge, and print `document.title`
- Launch nokk with fingerprint rotation and proxy `socks5://host:1080`, then load the target page

## Similar
- [lightpanda-browser](https://affpapa.org/en/nevibecode/skills/lightpanda-browser.md) — skill · 1600 installs
- [catalyst-smartbrowz](https://affpapa.org/en/nevibecode/skills/catalyst-smartbrowz.md) — skill · 1200 installs
- [steel-developer](https://affpapa.org/en/nevibecode/skills/steel-developer.md) — skill · 531 installs
- [browser-automation](https://affpapa.org/en/nevibecode/skills/web-infra-dev-browser-automation.md) — skill · 6000 installs
- [playwright-stealth-verify](https://affpapa.org/en/nevibecode/skills/playwright-stealth-verify.md) — skill · 132900 installs
- [browser](https://affpapa.org/en/nevibecode/skills/brightdata-browser.md) — skill · 183 installs

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
