JC

jasonraz/cmux-browser-mcp

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

11 stars 4 forks 品質 44 トレンド 8

MCP server that gives Claude Code full control of cmux's embedded browser

概要

An MCP (Model Context Protocol) server that gives Claude Code full control of cmux's embedded browser. Open pages, click buttons, fill forms, take screenshots, run JavaScript — all from Claude Code, right next to your terminal. - cmux (macOS terminal with embedded browser) - Claude Code CLI (claude) - Node.js >= 18 Then . Verify with /mcp — you should see cmux-browser listed. The install script will: 1. Copy server.mjs and package.json to ~/.claude/mcp-servers/cmux-browser/ 2. Run npm install to fetch the MCP SDK dependency 3. Register the server with Claude Code via claude mcp add - — supports action: click (default), dblclick, focus, scroll-into-view - — supports action: press (default), keydown, keyup - — accepts optional --json flag via json: true - — action accepts new, list, switch, close, or a numeric tab index The server wraps cmux's browser CLI subcommands as MCP tools with proper schemas. Claude Code discovers these tools at startup and can call them directly. 1.

README

以下は原文 README の抜粋です。原文を見る。

cmux-browser-mcp

An MCP (Model Context Protocol) server that gives Claude Code full control of cmux’s embedded browser.

Open pages, click buttons, fill forms, take screenshots, run JavaScript — all from Claude Code, right next to your terminal.

Prerequisites

  • cmux (macOS terminal with embedded browser)
  • Claude Code CLI (claude)
  • Node.js >= 18

Install

git clone https://github.com/jasonraz/cmux-browser-mcp.git
cd cmux-browser-mcp
chmod +x install.sh
./install.sh

Then restart Claude Code. Verify with /mcp — you should see cmux-browser listed.

The install script will:

  1. Copy server.mjs and package.json to ~/.claude/mcp-servers/cmux-browser/
  2. Run npm install to fetch the MCP SDK dependency
  3. Register the server with Claude Code via claude mcp add

Manual Install

If you prefer to do it yourself:

mkdir -p ~/.claude/mcp-servers/cmux-browser
cp package.json server.mjs ~/.claude/mcp-servers/cmux-browser/
cd ~/.claude/mcp-servers/cmux-browser && npm install
claude mcp add cmux-browser --scope user -- node ~/.claude/mcp-servers/cmux-browser/server.mjs

Tools (43)

Category Tools
Navigation browser_open, browser_open_split, browser_navigate, browser_back, browser_forward, browser_reload
Inspection browser_snapshot, browser_screenshot, browser_get_url, browser_get
Interaction browser_click, browser_fill, browser_type, browser_press, browser_hover, browser_select, browser_scroll, browser_check, browser_uncheck
Waiting browser_wait
JavaScript browser_eval
Search browser_find, browser_is
Debug browser_console, browser_errors, browser_highlight
Tabs browser_tab
Dialogs browser_dialog
State browser_cookies, browser_storage, browser_state
Downloads browser_download
Injection browser_add_script, browser_add_init_script, browser_add_style
Frames browser_frame
Network browser_network, browser_offline
Device browser_viewport, browser_geolocation
Recording browser_screencast, browser_trace
Identify browser_identify

Tool notes

  • browser_click — supports action: click (default), dblclick, focus, scroll-into-view
  • browser_press — supports action: press (default), keydown, keyup
  • browser_screenshot — accepts optional --json flag via json: true
  • browser_tab — action accepts new, list, switch, close, or a numeric tab index

How It Works

The server wraps cmux’s browser CLI subcommands as MCP tools with proper schemas. Claude Code discovers these tools at startup and can call them directly.

The core workflow is snapshot → ref → act:

GitHub で README 全文を見る

インストール

This server does not publish a one-line install command.

Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →