electron-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| resources | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| launch_appA | Spawn an Electron application via the |
| launch_via_npmA | Spawn an Electron application by running an npm script (typically |
| attach_appA | Register an already-running Electron instance as a debug session. The caller started the app with |
| stop_appA | Close every CDP client tied to the session and, if the MCP launched the app, kill the underlying process. A no-op for already-stopped sessions, so safe to call unconditionally in cleanup flows. |
| list_appsA | Return a snapshot of every tracked session (launched + attached), with pid, ports, status, uptime, and tracked window count. |
| ping_inspectorA | Open the Node inspector on the session's main process and evaluate |
| list_windowsA | Enumerate every CDP target exposed by the session's renderer debug port. |
| evaluateA | Run |
| navigateA | Call |
| screenshotA | Grab a PNG (or JPEG) of the target renderer via |
| get_main_logsA | Returns the spawned process's captured log lines (stdout + stderr interleaved in order of receipt). These typically include the app's main-process startup lines and any backend/proxy output it prints when running packaged. |
| get_console_messagesA | Returns |
| get_network_requestsA | Returns captured CDP Network events (request / response / finished / failed). For a page load, multiple entries will share the same |
| clear_logsA | Wipe session ring buffers — useful to set a zero point before driving an action. Omit |
| list_electron_api_methodsA | Return the names of every method exposed on |
| invoke_electron_apiA | Invoke any method exposed by the preload bridge. Returns the method's result (awaited if it's a promise). Use to test IPC handlers directly, e.g. |
| enable_ipc_loggingA | Inject a proxy over |
| get_ipc_logA | Drain any pending renderer-side IPC events into the session buffer and return the matching entries. Requires |
| get_app_pathsA | Returns |
| read_user_data_fileA | Safely read a file relative to the session's |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| sessions | JSON list of every session tracked by the MCP server. |
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/iamvinitk/electron-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server