Command Palette

Search for a command to run...

UnylyUnyly
Browse all

Cray Browser

FreeNot checked

Browser automation MCP server for Claude Code — control real Chrome via DevTools Protocol and native messaging.

GitHubEmbed

About

Browser automation MCP server for Claude Code — control real Chrome via DevTools Protocol and native messaging.

README

Browser automation MCP server for Claude Code. Control a real Chrome browser through 8 tools — navigate, click, type, scroll, and more.

Architecture

Claude Code <--stdio--> MCP Server (server.py)
                            |
                     Unix socket (bridge.py)
                            |
                     Native Host (native_host.py)
                            |
                   Chrome Native Messaging
                            |
                  Chrome Extension (service-worker.js)
                            |
                     Chrome DevTools Protocol
                            |
                        Web Page

Setup

1. Install the Chrome extension

  1. Open chrome://extensions/
  2. Enable Developer mode
  3. Click Load unpacked and select the cray-extension/ folder
  4. Copy the extension ID

2. Register the native messaging host

python3 install.py <extension-id>

3. Add to Claude Code

{
  "mcpServers": {
    "cray-browser": {
      "command": "python3",
      "args": ["/path/to/cray-browser/server.py"]
    }
  }
}

4. Connect

Click the Cray Browser extension icon in Chrome to establish the connection.

Tools

Tool Description
browser_navigate(url) Go to URL
browser_view() Refresh page state
browser_click(index) Click element by index
browser_input(index, text) Type into input field
browser_scroll(direction, amount) Scroll up/down
browser_press_key(key) Press key or combo (e.g. Enter, Control+a)
browser_move_mouse(x, y) Hover at coordinates
browser_find_keyword(keyword) Find text on page

Every tool returns:

  • Numbered interactive element list (click by index)
  • Clean screenshot (for reading visual content)
  • Annotated screenshot (numbered boxes on clickable elements)
  • Page markdown (omitted when brief=true)

Tips

  • Use brief=true when you don't need page text (faster)
  • Element indices reset after every action — always use the latest list
  • For charts/visuals, use the clean screenshot + browser_move_mouse for tooltip data
  • HTML is truncated at 400KB to stay under Chrome's 1MB native messaging limit

from github.com/hencray/cray-browser

Installing Cray Browser

This server has no published package — it is built from source. Open the repository and follow its README.

▸ github.com/hencray/cray-browser

FAQ

Is Cray Browser MCP free?

Yes, Cray Browser MCP is free — one-click install via Unyly at no cost.

Does Cray Browser need an API key?

No, Cray Browser runs without API keys or environment variables.

Is Cray Browser hosted or self-hosted?

Self-hosted: the server runs locally on your machine via the install command above.

How do I install Cray Browser in Claude Desktop, Claude Code or Cursor?

Open Cray Browser on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.

Related MCPs

Compare Cray Browser with

Not sure what to pick?

Find your stack in 60 seconds

Author?

Embed badge for your README

Browse similar

All development MCPs