原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

Core

作者:electron-stagewright版本 0.8.1i★ –i在你的电脑上运行
注册名称io.github.electron-stagewright/core

安装

概览

作者提供的说明(英文原文)

Agentic UX testing for real Electron apps: launch, inspect, interact, and assert through MCP.

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 其他

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 注册中心没有列出需要填写的密钥。

你需要

  • npm已安装 Node.js(用于 npx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "core": {
      "command": "npx",
      "args": [
        "-y",
        "@electron-stagewright/core"
      ]
    }
  }
}

在终端中运行这条命令

claude mcp add core -- npx -y @electron-stagewright/core

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "core": {
      "command": "npx",
      "args": [
        "-y",
        "@electron-stagewright/core"
      ]
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "core": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@electron-stagewright/core"
      ]
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 electron-stagewright 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“其他”中的其他服务器比较i

  • 星标数多于此分类中其他 32537 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 32537 个服务器的 80% 更新
  • 基础检查结果等于或优于此分类中其他 32537 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

Core 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(0.8.1)于8天前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。

有什么可以替代它?

同一分类中有:Spec Driven Development, Remote Desktop Commander, TF Rooms

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

Spec Driven Development

作者:formulahendry

MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.

在你的电脑上运行★ 440MIT14个月前更新
安装

Remote Desktop Commander

作者:desktop-commander

Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.

在云端运行★ 211昨天更新
安装

TF Rooms

作者:tfrooms.com

Live room availability, rates and stay quotes for 12 New Leaf motels in Twin Falls, Idaho.

在云端运行今天更新
安装

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

Electron Stagewright

Agentic UX testing for real Electron apps. Cue the app, prove the experience, and return bounded evidence through MCP.

Electron Stagewright is a Model Context Protocol (MCP) server that lets Claude Code, Codex, Cursor, Cline, Aider, and any MCP-compatible agent operate real Electron applications. Launch or attach, inspect the accessibility tree, interact through stable refs, assert behavior with retrying expectations, and capture diagnostics without turning every check into another agent round-trip.

Why this exists

Browser automation already has mature agent tooling. Electron adds a different boundary: the main process, renderer surfaces, native menus and dialogs, multiple windows, packaged runtimes, and signed release artifacts. A browser API exposed through MCP does not cover that whole product.

Electron Stagewright is designed agent-first from the primitive level up:

  • Errors carry hints, suggested next actions, and similar-ref alternatives — agents recover without an extra round-trip asking for context.
  • Every response reports its own token cost — agents budget in real time, not after the fact.
  • `get_state` returns the full state envelope in one call — visible, enabled, checked, focused, disabled, aria-expanded, aria-busy, aria-invalid. No 4-call chain to decide if a button is clickable.
  • `wait_for_state` accepts composite predicates — { visible: true, enabled: true, focused: false } evaluated atomically by the server. One call replaces three.
  • Snapshots flag `recently_changed` elements — agents focus reasoning on what differs from the last view instead of reprocessing the whole tree.
  • Snapshot diffs are a parameter, not a separate tool — electron_snapshot({ since: 'last' }) returns only deltas. Fewer APIs to remember.
  • Compact text encoding on demand — electron_snapshot({ format: 'text' }) renders one line per element ([3] textbox "Email" value="" focused) with only non-default state, cutting snapshot tokens 5-10x versus the JSON shape when the agent just needs to look.
  • **expect_* primitives replace read-compare-retry chains** — electron_expect_text({ ref, equals: 'Welcome', timeoutMs: 5000 }) is one call, not five.
  • `electron_find` queries the accessibility tree semantically — { role: 'button', name_contains: 'Submit', visible: true } — no CSS selectors, no XPath, no guessing.
  • Hot-reload-aware — snapshot and find responses report when the renderer reloaded since the previous baseline, so agents know refs may need refreshing.
  • Framework-agnostic snapshot — built on accessibility roles and ARIA instead of framework-internal properties. Current fixtures cover vanilla, React, Vue, and Angular; the broader renderer matrix is still expanding.

Electron-deep workflows

The server treats three Electron-specific workflows as first-class:

  1. Attach to a running dev server without restarting it. electron_attach connects to apps exposing a loopback CDP endpoint, and electron_inject can attach to a running main process via the Node Inspector handshake when no debug flag was arranged up front.
  2. Session traces with deterministic replay and per-tool token budgets. Inspired by Playwright's trace.zip but designed for LLM agent sessions: a timeline of tool calls, arguments, results, timings, and token estimates — replayable against a fresh app instance, with budgets so agents can cap runaway loops.
  3. End-to-end validation of signed, notarized, packaged `.app` bundles — codesign, Gatekeeper assessment, autoUpdater feed inspection, URL-scheme declaration checks, and crash reporter machinery. The full production surface, not just dev.

Microsoft's official Playwright MCP team explicitly declined to support Electron ("you can release your own server for Electron" — Pavel Feldman, lead). This project takes the invitation seriously.

Quick start

Requires Node.js 24 or newer (node -v); on Linux the server also needs a display (DISPLAY, WAYLAND_DISPLAY, or xvfb-run -a). The default launch transport uses Playwright and an Electron runtime. For a private setup in the current project, keep the server local to that project and pin the release-tested package set.

Before configuring an MCP host, prepare the same package set once in a terminal. Electron downloads its binary the first time something loads it, not during install, and that download prints a progress line to stdout; inside an MCP session the line would land in the protocol stream. Fetch the binary with Electron's install-electron bin, then run doctor, which reports "ok": true and exits 0 when every required check passes:

npx -y --prefix ~/ --package @electron-stagewright/core@0.8.1 \

--package playwright@1.63.0 --package electron@42.11.10 install-electron npx -y --prefix ~/ --package @electron-stagewright/core@0.8.1 \ --package playwright@1.63.0 --package electron@42.11.10 electron-stagewright doctor --json

claude mcp add electron-stagewright -- \

npx -y --prefix ~/ --package @electron-stagewright/core@0.8.1 \ --package playwright@1.63.0 --package electron@42.11.10 \ electron-stagewright --tool-profile essential

claude mcp list should then show the server as connected (or run /mcp inside a session), and its tools appear as mcp__electron-stagewright__electron_launch and so on. Keep the --package list identical across all three commands: npx caches each list separately, so adding the demo or a plugin package means running install-electron and doctor again with the new list. Keep --prefix ~/ too: without it, npx skips any listed package the current project already has at that version (an Electron app often has both Playwright and Electron), and the server, which runs from npx's cache, cannot load it. The server still runs in the current directory. To move to a newer release later, follow Update to a new release.

The default Claude Code scope is local: it is available only in the current project and stays out of unrelated workspaces. To share a reviewed configuration with a team, use --scope project, which writes the same mcpServers shape to .mcp.json. See the Claude Code MCP scopes for the host-specific behavior.

To verify a host before pointing it at your app, add the pinned @electron-stagewright/demo@0.1.0 package and use the demo guide. The demo is opt-in, so a normal core installation neither loads nor depends on it.

For local development, build the checkout and point your MCP host at the built CLI:

pnpm install

pnpm build

claude mcp add electron-stagewright -- \ node /abs/path/to/electron-stagewright/packages/core/dist/cli.js

Shared project .mcp.json shape:

{

"mcpServers": { "electron-stagewright": { "command": "npx", "args": [ "-y", "--prefix", "~/", "--package", "@electron-stagewright/core@0.8.1", "--package", "playwright@1.63.0", "--package", "electron@42.11.10", "electron-stagewright", "--tool-profile", "essential" ] } } }

Then from any MCP-compatible agent (tool names as Claude Code shows them; other hosts prefix them differently):

// Launch

mcpelectron-stagewrightelectron_launch({ main: "/abs/path/to/.vite/build/main.js", env: { MY_ENV_VAR: "value" } })

// Inspect with full state per ref mcpelectron-stagewrightelectron_snapshot() // → [1] button "Open File" enabled=true visible=true // [2] button "Settings" enabled=true visible=true // [3] textbox "Email" value="" focused=false // [4] heading "Welcome"

// Interact by ref mcpelectron-stagewrightelectron_click({ ref: 2 })

// Wait for a composite state in one call mcpelectron-stagewrightelectron_wait_for_state({ ref: 3, state: { focused: true, enabled: true }, timeoutMs: 2000 })

// Assert + retry in one call instead of read-compare-retry chain mcpelectron-stagewrightelectron_expect_text({ ref: 4, equals: "Welcome back" })

// Stop mcpelectron-stagewrightelectron_stop()

The full tool list — every tool, its parameters, and operation type — is in TOOL-REFERENCE.md, generated from the live dispatcher manifest (pnpm docs:tools).

Documentation

  • Getting started — from a clean checkout to a complete driven session against the bundled example app.
  • Try the packaged demo — verify a published MCP host setup against a local, multi-window Electron task board without supplying your own app path.
  • Connect your MCP client — wire the published package into Claude Code, Codex, Claude Desktop, Cursor, VS Code, opencode, or any MCP host, confirm it connected, update it, or remove it.
  • Launch, attach, or inject — getting a session against YOUR app, including apps that are already running.
  • Assert UI state — refs vs selectors, the expect_* family, waits, and snapshot diffs.
  • Type into code editors — the reliable Monaco / EditContext typing path, replace, the auto-pairing caveat, and how to verify the text landed.
  • Capture diagnostics — screenshots, console, dialogs, and session traces.
  • Load, configure, and diagnose plugins — explicitly load plugins, grant their narrowest gates, and inspect enabled tools and safe config with electron_plugins.
  • Migrate from electron-driver — tool-by-tool mapping and the conceptual shifts.
  • Choose an Electron MCP server — compare Electron automation workflows by capability, trust boundary, recovery evidence, and your own app.
  • Compatibility — see which Node, Electron, operating-system, and transport combinations are verified by unit tests or real-runtime CI.
  • Concepts — the agent-native model and why the server is shaped the way it is: the response envelope, refs, snapshots, retrying assertions, sessions, and the eval/plugin trust model, each linked to the decision that set it.
  • Security model — the trust model, the controls behind --allow-eval, and a deployment checklist.
  • Guides index · TOOL-REFERENCE.md · Architecture Decision Records.

Server flags

Pass these after the CLI path in your MCP host config (the args array). All default to the safe option; diagnostics go to stderr (stdout is reserved for the JSON-RPC protocol channel).

| Flag | Effect

只显示了开头部分;其余内容请在仓库中阅读

问 PopNx