# kitewright

> kitewright is an open-source MCP server for browser automation. Lightweight MCP browser automation for AI agents, shipped as one small binary. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, API, Linux, macOS, Windows, Self-hosted
- **Repository:** https://github.com/kitewright/kitewright
- **MCP Registry name:** io.github.kitewright/mcp
- **Categories:** [browser automation](https://ai-powered.com/categories/browser-automation)
- **Listing updated:** 2026-11-21

## About

Kitewright lets an AI client drive a Chromium browser through the Model Context Protocol, covering navigation, screenshots, text and Markdown extraction, PDF output, form filling and login state reuse. It runs as a single compact binary over stdio or Streamable HTTP, so it avoids bundling a Node.js and Playwright stack.

Each MCP session gets its own isolated browser context with a persistent page, so cookies stay separate between agents while an authenticated session can continue across calls. The browser is pooled, pre-warmed on session start and reaped after an idle timeout to keep memory low on multi-session servers.

The project suits developers wiring browser actions into agent workflows who want a small footprint and a clear set of primitives. Auth tokens, rate limiting and a file-access fence are available for deployments that go beyond a local machine.

## Features

- **Navigation and extraction:** Load pages and pull back visible text, Markdown-style main content, or attribute values from matching elements.
- **Screenshots and PDF output:** Capture PNG screenshots of the current page or print it to PDF, with header and footer templates and margin control.
- **Actionability auto-waiting:** Interactions wait for elements to be visible, enabled, unobstructed and stable, returning cause-specific errors when they are not.
- **Session state reuse:** Save cookies and localStorage as a JSON string and restore them later to continue a logged-in session.
- **Browser-lifecycle management:** Browsers start on demand, pool contexts ahead of new sessions and are reaped after an idle timeout.
- **Optional auth and rate limits:** Bearer-token auth, per-IP rate limiting and a fenced secret-file option protect HTTP deployments.

## Good for

- Give an LLM agent the ability to open a page, read its content and take a screenshot
- Automate form filling and multi-step clicks inside an agent workflow
- Capture a logged-in session once and reuse it across later agent runs
- Render a web page to PDF from an agent or script
- Debug page behaviour by reading console messages and network requests

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add mcp -- npx -y @kitewright/mcp
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@kitewright/mcp"
      ]
    }
  }
}
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@kitewright/mcp"
      ]
    }
  }
}
```

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@kitewright/mcp"
      ]
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@kitewright/mcp"
      ]
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add mcp -- npx -y @kitewright/mcp
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.mcp]
command = "npx"
args = ["-y", "@kitewright/mcp"]
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@kitewright/mcp"
      ]
    }
  }
}
```

Or run: gemini mcp add -s user mcp npx -- -y @kitewright/mcp

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@kitewright/mcp"
      ]
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@kitewright/mcp"
      ]
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@kitewright/mcp"
      ]
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@kitewright/mcp"
      ]
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@kitewright/mcp"
      ]
    }
  }
}
```

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@kitewright/mcp"
      ]
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@kitewright/mcp"
      ]
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@kitewright/mcp"
      ]
    }
  }
}
```

## Tools

From the tool list in its README, going by the names, 1 of 22 tools changes data; 21 names don't say. From the server's own tool labels and tool names; not verified by us.

- `browser_navigate`: Open a URL and return title, final URL and visible text, with optional lite mode.
- `browser_extract`: Return text or attribute values from elements matching a selector.
- `browser_extract_markdown`: Return the main page content as Markdown.
- `browser_screenshot`: Capture a PNG of the current page.
- `browser_pdf`: Print the current page to PDF.
- `browser_set_content` (name suggests: changes): Load a raw HTML string into the current page.
- `browser_snapshot`: Return an accessibility-tree snapshot, optionally only changes since the last one.
- `browser_console`: Return captured console messages.
- `browser_network`: Return captured network requests, with optional URL filter.
- `browser_click`: Scroll to and click the first element matching a selector.
- `browser_type`: Focus an element and type text into it.
- `browser_fill_form`: Fill several inputs in one call.
- `browser_fill_secret`: Type a secret from a server env var or opt-in file without exposing it in the tool call.
- `browser_select_option`: Select an option by value or visible label.
- `browser_hover`: Move the mouse over an element.
- `browser_press_key`: Send a key press such as Enter, Tab or Escape.
- `browser_navigate_back`: Go back in browser history.
- `browser_handle_dialog`: Pre-arm acceptance or dismissal of the next JavaScript dialog.
- `browser_wait_for`: Wait until a selector matches or text appears.
- `browser_save_state`: Capture cookies, localStorage and URL as a JSON string.
- `browser_restore_state`: Restore saved cookies and localStorage.
- `browser_assert`: Check for a selector or text and return a structured pass or fail result.

## FAQ

### How is kitewright installed for Claude Code?

Run claude mcp add kitewright -- npx -y @kitewright/mcp, which fetches the prebuilt binary for your platform.

### Which browser does kitewright use?

It drives Chromium over CDP, using a system Chrome or Chromium if present, a path set in BROWSER_EXECUTABLE, or a build fetched with kite install.

### Does kitewright support Firefox or WebKit?

No. It supports only Chromium through CDP by design.

### Is kitewright open source?

Yes, the project is released under the MIT license.

### Is kitewright free?

Yes. kitewright is open source, so you can use and self-host it for free.

### How do I add kitewright to Claude Code?

Run this command in your terminal: claude mcp add mcp -- npx -y @kitewright/mcp

### What are the best alternatives to kitewright?

The closest alternatives to kitewright are Browser MCP, MCP Browser, Playwright MCP, Agent Browser and playwright_mcp.

## Where this comes from

- Description: written from the project's README and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [Browser MCP](https://ai-powered.com/mcp/browser-mcp): Browser MCP is an open-source MCP server for browser automation.
- [MCP Browser](https://ai-powered.com/mcp/mcp-browser-2): MCP Browser is an open-source MCP server for browser automation.
- [Playwright MCP](https://ai-powered.com/mcp/playwright-mcp-2): Playwright MCP is an open-source MCP server for browser automation.
- [Agent Browser](https://ai-powered.com/mcp/agent-browser-3): Agent Browser is an open-source MCP server for browser automation.
- [playwright_mcp](https://ai-powered.com/mcp/playwright-mcp-3): playwright_mcp is an open-source MCP server for browser automation.
- [Substrate Browser](https://ai-powered.com/mcp/substrate-browser): Substrate Browser is an open-source MCP server for browser automation.
- [Browser Ref MCP](https://ai-powered.com/mcp/browser-ref-mcp): Browser Ref MCP is an open-source MCP server for browser automation.
- [Turbo-Browser-MCP](https://ai-powered.com/mcp/turbo-browser-mcp): Turbo-Browser-MCP is an open-source MCP server for browser automation.

---
Source: https://ai-powered.com/mcp/kitewright
