D

Domshell

by apireno · io.github.apireno/domshell

MCP server that turns your browser into a filesystem. 38 tools let AI agents ls, cd, grep, click, and type through Chrome via the DOMShell extension.

npm Local · stdio GlamaOfficial MCP Registry High confidence

Install

Add to ~/Library/Application Support/Claude/claude_desktop_config.json

Windows / Linux path
Windows: %APPDATA%\Claude\claude_desktop_config.json
Linux: ~/.config/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "io-github-apireno-domshell": {
      "command": "npx",
      "args": [
        "-y",
        "@apireno/domshell"
      ],
      "env": {
        "port": "9876",
        "token": "<VALUE>",
        "domains": "<VALUE>",
        "log-file": "audit.log",
        "mcp-port": "3001",
        "allow-all": "<VALUE>",
        "no-confirm": "<VALUE>",
        "allow-write": "<VALUE>",
        "expose-cookies": "<VALUE>",
        "allow-sensitive": "<VALUE>"
      }
    }
  }
}

Restart Claude Desktop to activate the new server.

Add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)

Windows / Linux path
Windows: .cursor\mcp.json (project) or %USERPROFILE%\.cursor\mcp.json (global)
Linux: .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "io-github-apireno-domshell": {
      "command": "npx",
      "args": [
        "-y",
        "@apireno/domshell"
      ],
      "env": {
        "port": "9876",
        "token": "<VALUE>",
        "domains": "<VALUE>",
        "log-file": "audit.log",
        "mcp-port": "3001",
        "allow-all": "<VALUE>",
        "no-confirm": "<VALUE>",
        "allow-write": "<VALUE>",
        "expose-cookies": "<VALUE>",
        "allow-sensitive": "<VALUE>"
      }
    }
  }
}

Cursor usually picks up config changes automatically; if the server does not appear, reload the window.

Add to .mcp.json (project) or ~/.claude.json (global)

Windows / Linux path
Windows: .mcp.json (project) or %USERPROFILE%\.claude.json (global)
Linux: .mcp.json (project) or ~/.claude.json (global)
{
  "mcpServers": {
    "io-github-apireno-domshell": {
      "command": "npx",
      "args": [
        "-y",
        "@apireno/domshell"
      ],
      "env": {
        "port": "9876",
        "token": "<VALUE>",
        "domains": "<VALUE>",
        "log-file": "audit.log",
        "mcp-port": "3001",
        "allow-all": "<VALUE>",
        "no-confirm": "<VALUE>",
        "allow-write": "<VALUE>",
        "expose-cookies": "<VALUE>",
        "allow-sensitive": "<VALUE>"
      }
    }
  }
}

The server will be available in the next Claude Code session.

Add to .vscode/mcp.json

Windows / Linux path
Windows: .vscode\mcp.json
Linux: .vscode/mcp.json
{
  "servers": {
    "io-github-apireno-domshell": {
      "command": "npx",
      "args": [
        "-y",
        "@apireno/domshell"
      ],
      "env": {
        "port": "9876",
        "token": "<VALUE>",
        "domains": "<VALUE>",
        "log-file": "audit.log",
        "mcp-port": "3001",
        "allow-all": "<VALUE>",
        "no-confirm": "<VALUE>",
        "allow-write": "<VALUE>",
        "expose-cookies": "<VALUE>",
        "allow-sensitive": "<VALUE>"
      }
    }
  }
}

Reload the VS Code window to activate.

Add to ~/.codeium/windsurf/mcp_config.json

Windows / Linux path
Windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json
Linux: ~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "io-github-apireno-domshell": {
      "command": "npx",
      "args": [
        "-y",
        "@apireno/domshell"
      ],
      "env": {
        "port": "9876",
        "token": "<VALUE>",
        "domains": "<VALUE>",
        "log-file": "audit.log",
        "mcp-port": "3001",
        "allow-all": "<VALUE>",
        "no-confirm": "<VALUE>",
        "allow-write": "<VALUE>",
        "expose-cookies": "<VALUE>",
        "allow-sensitive": "<VALUE>"
      }
    }
  }
}

Restart Windsurf (or refresh its MCP servers panel) to activate the new server.

Windsurf Next uses ~/.codeium/windsurf-next/mcp_config.json. Devin Desktop (the Windsurf rebrand) uses ~/.config/devin/mcp_config.json and imports the Windsurf file.

Add to ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json

Windows / Linux path
Windows: %APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json
Linux: ~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
{
  "mcpServers": {
    "io-github-apireno-domshell": {
      "command": "npx",
      "args": [
        "-y",
        "@apireno/domshell"
      ],
      "env": {
        "port": "9876",
        "token": "<VALUE>",
        "domains": "<VALUE>",
        "log-file": "audit.log",
        "mcp-port": "3001",
        "allow-all": "<VALUE>",
        "no-confirm": "<VALUE>",
        "allow-write": "<VALUE>",
        "expose-cookies": "<VALUE>",
        "allow-sensitive": "<VALUE>"
      }
    }
  }
}

Cline reloads cline_mcp_settings.json automatically; if the server does not appear, reload the VS Code window.

Open it from Cline's MCP Servers panel → Configure. Roo Code uses a different file and format.

Configuration

Environment variables this server reads. Secrets stay on your machine.

NameRequiredDescription
port No The port for the WebSocket bridge to the extension. Default: 9876
token No Auth token to secure the connection between the MCP server and the Chrome extension. If omitted, a random token is generated and printed on startup.
domains No Restrict commands to specific comma-separated domains (e.g., 'github.com,docs.google.com').
log-file No Path to the audit log file where every command execution is recorded. Default: audit.log
mcp-port No The port for the MCP HTTP endpoint. Default: 3001
allow-all No Shorthand to enable both write commands and sensitive cookie access.
no-confirm No Skip manual user confirmation for write actions. When using Claude Desktop, this must be enabled because the server runs without a terminal for interactive prompts.
allow-write No Enable commands that modify browser state (click, focus, type, scroll, js, select, close, navigate, back, forward). Set to 'true' to enable.
expose-cookies No Show full cookie values in the whoami command (default is redacted).
allow-sensitive No Enable the 'whoami' command which provides access to browser cookies.

Similar servers