
Selenix MCP Server
io.github.markmircea由 GitHub 账号 markmircea 发布v1.0.7更新于 Oct 24, 2026
MCP server that bridges local apps with Selenix for browser automation.
概览
将 Claude Desktop 连接到 Selenix 桌面应用,让助手可以创建、运行、调试和管理浏览器自动化测试。
- 可以做什么
- 该服务器把助手的工具调用转换为对 Selenix 桌面应用内桥接服务的 HTTP 请求。读取类工具包括截图、带交互元素标注的页面 HTML、按正则搜索 HTML、测试与命令列表、步骤结果、日志和工作区上下文。写入类工具可在测试中添加、替换或修复命令,run_test 会执行测试并最多等待两分钟获取结果。
- 适用场景
- 适合已经使用 Selenix、希望通过对话让助手查看、编写或修复浏览器自动化测试的用户,可替代内置 AI 助手。仅支持桌面端,Selenix 应用未运行时无法使用。
- 运行要求
- 需要安装 Selenix 桌面应用并在系统设置中启用 MCP Server 桥接、安装 Claude Desktop,以及 Node.js 18 或更高版本。可通过 npm 包 @selenix/mcp-server、Selenix 内置副本或手动下载的 bundle 安装,然后在 Claude Desktop 配置中指向该文件。桥接仅监听 127.0.0.1,使用 Selenix 启动时生成的 bearer token;连接信息从 ~/.selenix/bridge.json 读取。
安装
在 SourceWeft 中
- 打开 控制台中的 Selenix MCP Server,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
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.
Prerequisites
- Selenix desktop app installed
- Claude Desktop installed
- Node.js 18 or later
Enable the Bridge in Selenix
Before using any setup method below, enable the bridge inside Selenix:
- Open Selenix
- Go to System Settings (gear icon in the sidebar)
- Scroll to the MCP Server section
- 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)
Then find your global npm path:
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:
Example (Windows with nvm):
Example (macOS/Linux):
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:
Typical Windows path:
Option C: Manual download
- Download
bundle.jsfrom the npm package page or from the releases page - Save it somewhere on your machine (e.g.,
C:/selenix-mcp/bundle.js) - Add to your Claude Desktop config:
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
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.jsonand re-read on every call, so restarting Selenix does not require restarting Claude Desktop
Available Tools
Reading & Inspection
Writing & Execution
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
Then remove the "selenix" entry from your Claude Desktop config file and restart Claude Desktop.
来源:README.md,提交 14d0385
工具
0版本历史
1- v1.0.7最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分