Featured

Deploy OpenClaw in 60 seconds β€” 20% off logoDeploy OpenClaw in 60 seconds β€” 20% off

Launch OpenClaw on Hostinger in about 60 seconds and keep your agent live 24/7. Our referral link gives you 20% off, no coupon code needed.

Launch on Hostinger β†’
Run your Hermes agent on Hostinger, fully managed logoRun your Hermes agent on Hostinger, fully managed

Launch Hermes on Hostinger in one click, fully managed, no VPS knowledge needed. Use code ZACAARON10 for 10% off.

Launch on Hostinger β†’
Crawl and scrape any site into clean data, 10% off logoCrawl and scrape any site into clean data, 10% off

Firecrawl crawls and scrapes any site into clean markdown for your agent. Get 1,000 free credits, and new users get 10% off their first purchase.

Try Firecrawl free β†’
6,000+ web scrapers for your AI agent, start free logo6,000+ web scrapers for your AI agent, start free

Apify gives your agent live web data: 6,000+ prebuilt scrapers and actors, MCP-ready. Sign up free with $5 in usage credits.

Try Apify free β†’
One API to scrape, enrich, and extract the internet. logoOne API to scrape, enrich, and extract the internet.

Context.dev gives your agents a single API to scrape, enrich, and extract live web data β€” no proxies, no parsers, no maintenance.

Start building free β†’
SetupClaw: done-for-you OpenClaw for founders & exec teams logoSetupClaw: done-for-you OpenClaw for founders & exec teams

White-glove OpenClaw for founders and exec teams (4–50+ employees): we install, harden, integrate your tools, and maintain it β€” secured from day one.

Get it set up for you β†’
SEO data APIs for your agent, $1 free credit logoSEO data APIs for your agent, $1 free credit

DataForSEO gives your agent live access to SERP results, keyword data, backlinks, and on-page SEO data through one API. New accounts get a $1 credit, good for up to 20,000 keyword or backlink lookups.

Try DataForSEO free β†’
Reach 48,000+ AI builders

A flat monthly placement in front of developers actively installing AI tools. No lock-in, cancel anytime.

Advertise here β†’
Selenix-MCP-Server logo

Selenix-MCP-Server

markmircea/Selenix-MCP-Server
0 starsv1.0.7STDIORegistry activeApache-2.0Updated 2026-03-18Community

Works with

Claude CodeClaude DesktopCursorVS CodeClineCodex CLIOpenClaw+ any MCP client

Install to Claude Code

claude mcp add selenix -- npx -y @selenix/mcp-server

Summary

markmircea/Selenix-MCP-Server MCP server](https://glama.ai/mcp/servers/markmircea/Selenix-MCP-Server/badges/score.svg)](https://glama.ai/mcp/servers/markmircea/Selenix-MCP-Server) πŸ“‡ 🏠 🍎 πŸͺŸ 🐧 - MCP server bridging Claude Desktop with Selenix for browser...

Connect from your MCP client

One-click install

Add this server to your editor with a single click. Fill in any required credentials afterward.

Claude Code

Run this once and Claude Code registers the server for you:

claude mcp add selenix -- npx -y @selenix/mcp-server

Claude Desktop

Add this to claude_desktop_config.json under Settings β†’ Developer β†’ Edit Config:

{
  "mcpServers": {
    "selenix": {
      "command": "npx",
      "args": [
        "-y",
        "@selenix/mcp-server"
      ],
      "env": {
        "YOUR_API_KEY": "<YOUR_API_KEY>"
      }
    }
  }
}

Cursor

Add this to .cursor/mcp.json in your project (or ~/.cursor/mcp.json for all projects):

{
  "mcpServers": {
    "selenix": {
      "command": "npx",
      "args": [
        "-y",
        "@selenix/mcp-server"
      ],
      "env": {
        "YOUR_API_KEY": "<YOUR_API_KEY>"
      }
    }
  }
}

Cline and other MCP clients

Most MCP clients accept the standard mcpServers JSON block:

{
  "mcpServers": {
    "selenix": {
      "command": "npx",
      "args": [
        "-y",
        "@selenix/mcp-server"
      ],
      "env": {
        "YOUR_API_KEY": "<YOUR_API_KEY>"
      }
    }
  }
}

Codex CLI

Register the server with OpenAI's Codex CLI β€” run this once, or add the equivalent block to ~/.codex/config.toml:

codex mcp add selenix --env YOUR_API_KEY=<YOUR_API_KEY> -- npx -y @selenix/mcp-server

# or add to ~/.codex/config.toml:
[mcp_servers.selenix]
command = "npx"
args = ["-y", "@selenix/mcp-server"]
[mcp_servers.selenix.env]
YOUR_API_KEY = "<YOUR_API_KEY>"

OpenClaw

OpenClaw reads MCP servers from the mcp.servers section of ~/.openclaw/openclaw.json (managed via `openclaw mcp add` or the mcporter skill):

{
  "mcp": {
    "servers": {
      "selenix": {
        "command": "npx",
        "args": [
          "-y",
          "@selenix/mcp-server"
        ],
        "env": {
          "YOUR_API_KEY": "<YOUR_API_KEY>"
        }
      }
    }
  }
}

Replace the <PLACEHOLDER> values with your own credentials β€” see the configuration table below.

Configuration

Selenix-MCP-Server reads the following environment variable:

VariableRequired
YOUR_API_KEYOptional

README.md

Selenix MCP Server

![npm version](https://www.npmjs.com/package/@selenix/mcp-server)

Connect Claude Desktop to Selenix via the Model Context Protocol. Chat with Claude to create, run, debug, and manage browser automation tests β€” just like using the built-in AI Assistant, but powered by Claude.

![Selenix-MCP MCP server](https://glama.ai/mcp/servers/markmircea/Selenix-MCP-Server)

Prerequisites

Enable the Bridge in Selenix

Before using any setup method below, enable the bridge inside Selenix:

  1. Open Selenix
  2. Go to System Settings (gear icon in the sidebar)
  3. Scroll to the MCP Server section
  4. Set Enable MCP Server to Yes

This starts a local bridge server that the MCP server connects to.

Setup

Choose one of the following methods:

Option A: Install via npm (recommended)

npm install -g @selenix/mcp-server

Then find your global npm path:

npm root -g

Open your Claude Desktop config file:

  • Windows: Press Win+R, paste %APPDATA%\Claude\claude_desktop_config.json, press Enter
  • macOS: Open ~/Library/Application Support/Claude/claude_desktop_config.json

Add the Selenix MCP server, replacing the path with the output from npm root -g:

{
  "mcpServers": {
    "selenix": {
      "command": "node",
      "args": ["<npm-root-path>/@selenix/mcp-server/dist/bundle.js"]
    }
  }
}

Example (Windows with nvm): ``json { "mcpServers": { "selenix": { "command": "node", "args": ["C:/Users/YourName/AppData/Local/nvm/v18.20.8/node_modules/@selenix/mcp-server/dist/bundle.js"] } } } ``

Example (macOS/Linux): ``json { "mcpServers": { "selenix": { "command": "node", "args": ["/usr/local/lib/node_modules/@selenix/mcp-server/dist/bundle.js"] } } } ``

If you already have other MCP servers configured, add "selenix" alongside them inside the existing "mcpServers" object.

Option B: Use the bundled version (no npm required)

If you installed Selenix as a desktop app, the MCP server is already bundled. No need to install anything β€” just point Claude Desktop to the bundled file.

Find your Selenix install folder and look for resources/mcp-server/index.js, then add to your Claude Desktop config:

{
  "mcpServers": {
    "selenix": {
      "command": "node",
      "args": ["C:/path/to/Selenix/resources/mcp-server/index.js"]
    }
  }
}

Typical Windows path: `` C:/Users/YourName/AppData/Local/Programs/Selenix/resources/mcp-server/index.js ``

Option C: Manual download

  1. Download bundle.js from the npm package page or from the releases page
  2. Save it somewhere on your machine (e.g., C:/selenix-mcp/bundle.js)
  3. Add to your Claude Desktop config:
{
  "mcpServers": {
    "selenix": {
      "command": "node",
      "args": ["C:/selenix-mcp/bundle.js"]
    }
  }
}

Node.js is still required β€” the MCP server is a single JavaScript file with no other dependencies.

Verify

Restart Claude Desktop after editing the config. You should see the Selenix tools icon (hammer) in the chat input area.

Try asking Claude:

  • "What tests are in my Selenix project?"
  • "Create a test that opens google.com and searches for 'selenium automation'"
  • "Run the current test and fix any failures"
  • "Take a screenshot of the browser"

How It Works

Claude Desktop <--stdio--> MCP Server <--HTTP--> Bridge Server (inside Selenix)

The MCP server translates Claude's tool calls into HTTP requests to a bridge server running inside Selenix. The bridge has full access to Selenix internals β€” the same capabilities as the built-in AI Assistant.

  • The bridge only listens on 127.0.0.1 (localhost) β€” no network exposure
  • Auth is handled via a bearer token auto-generated each time Selenix starts
  • Connection config is stored at ~/.selenix/bridge.json and re-read on every call, so restarting Selenix does not require restarting Claude Desktop

Available Tools

Reading & Inspection

| Tool | Description | |------|-------------| | get_screenshot | Capture a screenshot of the browser window | | get_page_html | Get the page HTML with interactive elements annotated | | get_search_html | Search page HTML by regex pattern | | get_selected_command_info | Get DOM context for a command's target element | | get_current_test | Get all commands in the current test | | get_test_list | List all tests in the project | | get_test_by_name | Get a test by its name | | get_command_list | List all available Selenix commands | | get_command_info | Get detailed docs for a specific command | | get_project_info | Get project metadata | | get_active_suite | Get the active test suite | | get_step_results | Get pass/fail results from the last test run | | get_logs | Get recent logs (all types), 20 per page, most recent first. Optional page param for pagination. | | get_workspace_context | Get a summary of the current workspace |

Writing & Execution

| Tool | Description | |------|-------------| | add_commands | Add commands to a test at a specific position | | run_test | Run a test and wait for results (up to 2 minutes) | | clear_and_replace_commands | Replace all commands in a test | | fix_commands | Apply targeted fixes β€” update, remove, or insert commands |

Troubleshooting

"Cannot read Selenix bridge config" Selenix isn't running or the MCP Server isn't enabled. Open Selenix β†’ System Settings β†’ set Enable MCP Server to Yes.

"Cannot connect to Selenix bridge" Selenix may have just restarted. Try the request again β€” the MCP server will automatically pick up the new connection details.

Tools not appearing in Claude Desktop Make sure you restarted Claude Desktop after editing the config file. Verify the config JSON is valid (no trailing commas, correct brackets).

Claude Desktop won't open after config change The config JSON is likely malformed. Open the config file in a text editor, fix the JSON syntax, and try again. Common issues: missing comma between entries, trailing comma after the last entry.

Uninstall

npm uninstall -g @selenix/mcp-server

Then remove the "selenix" entry from your Claude Desktop config file and restart Claude Desktop.

See related servers & alternatives β†’

Related MCP servers

Browse all β†’

Related guides

Hand-picked reading to help you choose and use Browser & Scraping servers.