← Back to directory
E

Electron Debug MCP

Community
Debug and automate Electron apps through CDP.
Category
Dev Tools #316 of 751
Stars
★ 104 Popular
Transport
stdio (local process)
Runtime
Node.js 20+
Credentials
No credential needed
License
ISC
Last commit
Tools
100
52FMRS · D

The README describes an MCP server for Electron debugging and automation across renderer, main process, network, IPC, and performance workflows, with stdio configuration examples for Cursor and Claude Desktop. The manifest was not cached, so tool details are based on the README; actual capabilities depend on the local app, debugging connection, and tools invoked.

Strongest · Setup experience 14/20 Weakest · Reliability 8/20

Reliability
8/20
Security and permissions
8/20
Maintenance
9/20
Documentation
13/20
Setup experience
14/20
Why each score
Reliability 8/20
The README claims 142 unit tests and 111 smoke tests and describes client configuration and diagnostic tools, but these are unverified README claims; no manifest or source files, inspectable CI, test coverage, or handshake evidence were provided. The large tool surface and composite workflows also leave room for inconsistent behavior, so the score is limited.
Security and permissions 8/20
The documentation describes broad capabilities including arbitrary JavaScript evaluation, main-process code execution, raw CDP commands, file I/O, cookie and storage access, clipboard access, network interception, and process management. It claims secret redaction, path validation, and security auditing, but no source or manifest is available to verify boundaries, confirmation mechanisms, or complete redaction. There is no evidence sufficient to identify a red-line violation; points are deducted for the visible privilege scope and lack of verification.
Maintenance 9/20
An ISC license, a version 1.15.2 badge, and several historical release notes provide signs of versioned maintenance. Commit history, maintainer details, and a security response channel are absent; issue count and stars do not establish maintenance quality, so the score remains limited.
Documentation 13/20
The README provides client configurations, categorized tools, parameter examples, workflows, resource and prompt lists, and troubleshooting guidance. However, the complete parameter reference depends on an unprovided directory; platform limits, data-flow boundaries, permission confirmation, and known limitations are not sufficiently disclosed, and testing and security claims cannot be verified.
Setup experience 14/20
The README states a Node.js 20 or newer requirement and gives concise npx configuration examples for Cursor and Claude Desktop, plus a local build-and-launch path. Without the manifest, dependencies and actual startup behavior cannot be checked; there is also no cross-platform verification or real CI and key-path test evidence to support a higher score.

Static review · not runReviewed 2026-11-29

Read the FMRS scoring method →

Fit and risk

What it can accessReads local filesWrites / deletes local filesRuns commands or codeUses the networkControls a browser

Best for

  • Developers and AI coding agents debugging or testing Electron desktop apps.
  • Teams that want MCP-based inspection of a running Electron app's UI, network, or processes.

Not for

  • Users who only need to debug ordinary websites or non-Electron apps.
  • Users who need to inspect an app without a local Electron process or reachable debugging endpoint.

Required permissions

  • The server needs to launch an Electron app or connect to a locally running app and its DevTools endpoint.
  • Depending on the tools used, it can read and operate app windows, page state, console, network, storage, clipboard, and main-process information.
  • Secret placeholders are read from the server process environment; configure the relevant variables to use that feature.

Risks and side effects

  • Some tools can run JavaScript in the page or main process, modify storage and cookies, access the clipboard, invoke IPC, mock native APIs, or change network conditions.
  • Automation and diagnostics may trigger real actions in the app; confirm the target process and effects before using them.
  • Logs, network records, HAR files, and other exported artifacts may contain app data. Secret placeholders are redacted, but exported content should still be handled carefully.

Setup

Before you start

Runtime:Node.js 20+

MY_APP_API_KEY optionalsecret Used as a secret text value in the example; set it in the environment of the process running the MCP server.
APP_API_TOKEN optionalsecret Used as a secret token in the example workflow; set it in the environment of the process running the MCP server.
APP_PASSWORD optionalsecret Used as a secret password in the example form; set it in the environment of the process running the MCP server.

Add the provided MCP configuration to Cursor's ~/.cursor/mcp.json or .cursor/mcp.json, or to Claude Desktop's claude_desktop_config.json. The client launches electron-debug-mcp through npx. The README specifies Node.js 20 or later.

.cursor/mcp.json
{"mcpServers":{"electron-debug":{"command":"npx","args":["-y","electron-debug-mcp@latest"]}}}

Shown for Cursor. Other clients may use a different file or key (VS Code uses "servers") — the configurator below converts it.

.vscode/mcp.json
{
  "servers": {
    "electron-debug": {
      "command": "npx",
      "args": [
        "-y",
        "electron-debug-mcp@latest"
      ]
    }
  }
}

Goes in your project's .vscode/mcp.json (VS Code uses a "servers" key).

~/.codex/config.toml
[mcp_servers.electron-debug]
command = "npx"
args = ["-y", "electron-debug-mcp@latest"]

Append to ~/.codex/config.toml (OpenAI Codex CLI uses TOML).

Terminal
claude mcp add electron-debug -- npx -y electron-debug-mcp@latest

Run it in a terminal; replace any <…> placeholders with your own values first.

Check that it works

Confirm the Electron Debug MCP tools, such as `list_apps` and `vision`, appear in your client's tool list. Call `list_apps` to inspect sessions or `vision` to get page details, a screenshot, and an error overview for a connected app.

Troubleshooting

  1. If main-process tools fail, launch the app with inspectMain: true.
  2. If you see Process not found while debugging a single app, omit processId.
  3. A terminal that stays open after node build/index.js is expected; the server communicates over stdio JSON-RPC and should be started by an MCP client.
  4. For an Electron installation error, the README suggests running npm run ensure-electron to check and download the platform binary.
  5. For a port conflict or Windows WSAEACCES, the server probes for a bindable ephemeral port.

Things to try

Once connected, you can ask your AI assistant things like:

  • Connect to the running Electron app and show its screenshot and console errors.
  • Inspect the current page's accessibility tree and click the button named “Sign In.”
  • Run a security audit on the current Electron app and summarize the findings.
  • Review failed network requests and export a HAR file.

Tools 100

start_app writes
Launch an Electron app with a remote debugging port.
stop_app destructive
attach writes
Connect to a running Electron app through a DevTools port or WebSocket.
attach_by_pid writes
find_apps read-only
discover_apps read-only
find_installed_apps read-only
list_apps read-only
Show 92 more tools
vision read-only
Get a viewport screenshot, page details, console errors, and network failures in one overview.
snapshot read-only
Read the accessibility tree with stable element references.
screenshot read-only
save_screenshot writes
diff_screenshot read-only
start_screencast writes
stop_screencast writes
highlight writes
act_and_verify writes
click writes
Click an element matched by CSS selector or accessibility reference.
click_ax writes
type_text writes
Type into the focused or specified element; supports secret placeholders and redaction.
type_ax writes
press_key writes
hover writes
scroll writes
drag writes
select_option writes
set_file_input writes
handle_dialog writes
open_deep_link writes
fill_form writes
responsive_theme_matrix writes
repro_bundle writes
page_info read-only
navigate writes
reload writes
wait_for read-only
get_dom read-only
query_selector read-only
evaluate writes
Run JavaScript in the renderer page context.
get_console_messages read-only
Read buffered console messages and exceptions.
get_logs read-only
get_cookies read-only
set_cookie writes
delete_cookie destructive
get_storage read-only
set_storage writes
assert_ui read-only
save_storage_state writes
load_storage_state writes
offline_resilience_check writes
network_failure_report read-only
get_network_log read-only
Read buffered HTTP requests and responses.
get_response_body read-only
export_har writes
wait_network_idle read-only
network_stub writes
clear_network_stubs writes
block_urls writes
set_extra_headers writes
emulate_network writes
get_downloads read-only
perf_snapshot writes
leak_check writes
get_performance_metrics read-only
perf_audit read-only
get_audit_issues read-only
start_tracing writes
stop_tracing writes
start_cpu_profile writes
stop_cpu_profile writes
heap_snapshot writes
start_coverage writes
stop_coverage writes
resolve_stack read-only
set_breakpoint writes
remove_breakpoint writes
pause writes
resume writes
ipc_fuzz_and_verify writes
mock_electron_api writes
get_mock_calls read-only
restore_electron_mocks writes
get_application_menu read-only
click_menu_item writes
trigger_shortcut writes
get_process_health read-only
electron_security_audit read-only
Check running windows against Electron security settings and provide remediation guidance.
ipc_invoke writes
ipc_schema_inference read-only
ipc_tap writes
get_ipc_log read-only
evaluate_main writes
main_state read-only
webcontents_topology read-only
focus_window writes
set_window_bounds writes
set_permission writes
get_clipboard read-only
set_clipboard writes
print_pdf writes

Use cases

Inspect Electron renderer screenshots, DOM, accessibility tree, and console errors.
Automate UI actions and verify the resulting page state.
Analyze network requests, performance data, IPC traffic, and main-process health.
Audit Electron window and binary security settings.

Supported clients

Cursor
Claude Desktop

Listed from the project's documentation, not tested by this site.

Overview

Electron Debug MCP connects to the Electron runtime through the Chrome DevTools Protocol and Node inspector. It lets AI coding agents inspect windows, page and main-process state, console and network data, and automate UI interactions. The README describes 111 tools, 9 resources, and 6 prompts.

Similar servers

Source revision 46ec6d3b2385 Data synced 2026-12-05 Read the FMRS scoring method Markdown

Maintainer badge: embed FMRS score

Paste this Markdown into your repository README to display a live score badge:

README.md
[![FollowMCP](https://followmcp.com/badges/electron-mcp-server.svg)](https://followmcp.com/en/servers/electron-mcp-server)