Core
MCP server that lets agents launch, inspect and assert on real Electron apps
Core is an MCP server for developer tools. It runs locally on your machine and is started by your AI client.
- Platforms
- CLI, macOS, Linux
- Runs
- Locally
- Version
- 0.10.0
- Listing updated
Similar MCP servers
Install
Add with the CLI
Run in a terminal
claude mcp add core -- npx -y @electron-stagewright/coreAdd --scope user to use it in every project, or --scope project to share it in .mcp.json.
Or share it with your project
Add to .mcp.json
{
"mcpServers": {
"core": {
"command": "npx",
"args": [
"-y",
"@electron-stagewright/core"
]
}
}
}Add to claude_desktop_config.json
{
"mcpServers": {
"core": {
"command": "npx",
"args": [
"-y",
"@electron-stagewright/core"
]
}
}
}Settings → Developer → Edit Config, then quit and reopen Claude Desktop.
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"core": {
"command": "npx",
"args": [
"-y",
"@electron-stagewright/core"
]
}
}
}Use .cursor/mcp.json in a project to share it with the project.
Add to ~/.copilot/mcp-config.json
{
"mcpServers": {
"core": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@electron-stagewright/core"
]
}
}
}Or put the same entry in .mcp.json at your workspace root to share it.
Add with the CLI
Run in a terminal
codex mcp add core -- npx -y @electron-stagewright/coreOr add to config.toml
Add to ~/.codex/config.toml
[mcp_servers.core]
command = "npx"
args = ["-y", "@electron-stagewright/core"]Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"core": {
"command": "npx",
"args": [
"-y",
"@electron-stagewright/core"
]
}
}
}Gemini CLI and Antigravity
Gemini CLI
Add to ~/.gemini/settings.json
{ "mcpServers": { "core": { "command": "npx", "args": [ "-y", "@electron-stagewright/core" ] } } }Or run: gemini mcp add -s user core npx -- -y @electron-stagewright/core
Antigravity
Add to ~/.gemini/config/mcp_config.json
{ "mcpServers": { "core": { "command": "npx", "args": [ "-y", "@electron-stagewright/core" ] } } }Use .agents/mcp_config.json to add it to one workspace only.
Devin Desktop (formerly Windsurf)
Add to ~/.config/devin/mcp_config.json
{ "mcpServers": { "core": { "command": "npx", "args": [ "-y", "@electron-stagewright/core" ] } } }On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.
Cline
Add to cline_mcp_settings.json
{ "mcpServers": { "core": { "command": "npx", "args": [ "-y", "@electron-stagewright/core" ] } } }Open it from the MCP Servers icon → Configure → Configure MCP Servers.
Zed
Add to Zed settings.json
{ "context_servers": { "core": { "command": "npx", "args": [ "-y", "@electron-stagewright/core" ] } } }Open it with zed: open settings file. Merge context_servers into the settings you already have.
JetBrains AI Assistant and Junie
AI Assistant
Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add
{ "mcpServers": { "core": { "command": "npx", "args": [ "-y", "@electron-stagewright/core" ] } } }Junie
Add to ~/.junie/mcp/mcp.json
{ "mcpServers": { "core": { "command": "npx", "args": [ "-y", "@electron-stagewright/core" ] } } }Use .junie/mcp/mcp.json to share it with a project.
Kiro
Add to ~/.kiro/settings/mcp.json
{ "mcpServers": { "core": { "command": "npx", "args": [ "-y", "@electron-stagewright/core" ] } } }Use .kiro/settings/mcp.json to add it to one workspace only.
Using several servers? Build one config file with the MCP config generator.
About Core
Browser automation tools stop at the renderer, but an Electron app also has a main process, native menus and dialogs, several windows and signed packaging. Electron Stagewright is built for that wider surface and returns compact, budget-aware evidence to an agent instead of long chains of calls.
It launches an app or attaches to one already running through a loopback debugging endpoint, then reads the accessibility tree with stable element references. State comes back in one call, composite waits are evaluated by the server, and expect-style assertions retry on their own. Snapshots can return only changes since the last view or a one-line-per-element text form, and every response reports its token cost. The README says errors carry hints and similar-reference alternatives.
Three workflows are called out: attaching to a dev server without restarting it, session traces that can be replayed against a fresh instance with per-tool token budgets, and checks on signed, notarized packaged .app bundles including codesign and Gatekeeper. It needs Node.js 26.13.1 or newer and, on Linux, a display. Setup uses pinned npm packages for Playwright and Electron, with a doctor command to verify them.
Tools this server provides (8)
Taken from the project documentation; the running server may differ.
From the tool list in its README, going by the names, 2 of 8 tools read data; 6 names don't say.
From the server's own tool labels and tool names; not verified by us.
- electron_launch
- Launches an Electron app from its main file with optional environment variables.
- electron_snapshot
- Returns the accessibility tree with element refs, optionally as text or as a diff since the last snapshot.
- electron_attach
- Connects to an app exposing a loopback CDP endpoint.
- electron_inject
- Attaches to a running main process via the Node Inspector handshake.
- electron_findName suggests: reads
- Queries the accessibility tree by role, name and visibility.
- electron_expect_text
- Asserts a ref's text with retry until a timeout.
- get_stateName suggests: reads
- Returns the full state envelope for an element in one call.
- wait_for_state
- Waits on a composite predicate such as visible and enabled.
What it does
- Launch or attach
- Starts an Electron app or attaches to a running dev server over a loopback debug endpoint.
- Accessibility snapshots
- Returns the accessibility tree with refs, optional text format and deltas since the last view.
- Single-call state
- Returns visible, enabled, checked, focused and other flags in one response.
- Retrying expectations
- Assertions such as expected text retry until a timeout instead of needing manual loops.
- Session traces
- Records tool calls, timings and token estimates for replay against a fresh instance.
- Packaged app checks
- Validates signed, notarized .app bundles including codesign and Gatekeeper.
Good for
- Test an Electron app's UI with an agent
- Debug a running dev build without restarting it
- Check a notarized macOS bundle
- Replay a recorded agent session
- Cap runaway agent loops with token budgets
Core FAQ
What does Core need to run?
Node.js 26.13.1 or newer, and a display on Linux; the default launch uses Playwright and an Electron runtime.
Which agents can use Core?
The README names Claude Code, Codex, Cursor, Cline, Aider and any MCP-compatible agent.
How do I verify my setup?
Run the doctor command, which reports ok and exits 0 when the required checks pass.
Which renderer frameworks are covered?
Current fixtures cover vanilla, React, Vue and Angular; the matrix is still expanding.
How do I add Core to Claude Code?
Run this command in your terminal: claude mcp add core -- npx -y @electron-stagewright/core
What are the best alternatives to Core?
The closest alternatives to Core are REA, Browser Use, Scrapling MCP Server, Context7 and Chrome DevTools MCP.
Where this comes from
- Description: written from the project's README.
- Install steps: from the official MCP Registry entry.


