Electron MCP Server
未认领MCP server for debugging Electron apps via Chrome DevTools Protocol. Start/attach processes, capture screenshots, read console errors & network logs, inspect DOM, evaluate JS, and automate UI — built for Cursor and other MCP clients.
安装
node C:/Users/you/code/electron-mcp-server/build/index.js更多Automation服务器
浏览完整目录安全概况
已认领和已认证的服务器每周接受一次静态扫描,显示代码能触及的范围(外部服务、环境变量、shell 命令、代理配置目录)以及带有已知公告的依赖。认领此列表即可获得。 安全概况的工作原理
30 个工具中显示 30 个
文档中列出的工具 (30)
内容来自项目文档。服务器握手不会验证每个工具的说明或行为。
attach
attach_by_pid
Attach by OS process id. Resolves --remote-debugging-port from the process command line (Linux/macOS/ps, Windows PowerShell). Falls back to listening sockets owned by the PID on Linux when needed.
cdp_command
{ processId, method:"Domain.method", targetId?, params? }
clear_buffers
{ processId, console?=true, network?=true, logs?=false }
click
{ processId, selector, targetId?, button?=left }
diagnose
optional { processId } (omit = all sessions)
discover_apps
evaluate
evaluate_main
Evaluate in the Electron main/node CDP target.
find_apps
List running Electron-like processes.
get_console_messages
{ processId, tail?, level? }
get_cookies
get_dom
{ processId, selector?, targetId? }
get_logs
{ processId, tail? }
get_network_log
{ processId, tail? }
list_apps
no params
list_targets
{ processId? }
navigate
{ processId, url, targetId?, waitUntilLoad?=true, timeoutMs?=15000 }
page_info
{ processId, targetId? } → url / title / readyState / userAgent
press_key
query_selector
{ processId, selector, targetId?, limit?=20 }
reload
{ processId, targetId?, ignoreCache?=false }
set_console_live
{ enabled }
set_cookie
start_app
Launch Electron with remote debugging.
start_tracing
stop_app
{ processId }
stop_tracing
type_text
{ processId, text, selector?, clear?, pressEnter?, targetId? }
wait_for
Provide at least one condition: