Electron MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| electron_launchC | Launch an Electron application for testing. Connects via WebdriverIO with the Electron service. |
| electron_closeA | Close the Electron application and end the WebdriverIO session |
| electron_snapshotA | Capture the current UI state including all interactive elements. Returns element references (e1, e2, etc.) that can be used for interactions. |
| electron_clickB | Click on an element using its reference from the snapshot |
| electron_typeC | Type text into an input field or textarea |
| electron_screenshotB | Take a screenshot of the current Electron app window. Returns the screenshot as base64 image. |
| electron_resize_windowC | Resize the Electron app window to specified dimensions using JavaScript. Also supports setting window position. |
| electron_start_recordingB | Start recording user actions to generate test scripts later |
| electron_stop_recordingB | Stop recording actions and return the recorded action list |
| electron_recording_statusA | Get the current recording status and action count |
| electron_generate_testB | Generate executable test code from recorded actions for WebdriverIO or Playwright |
| electron_generator_setupC | Initialize a test generation session. Provide a test plan and target framework. |
| electron_generator_write_testC | Save generated test code to a file in the output directory. |
| electron_generator_read_logC | Read the action log from the current generation session. Shows all recorded actions. |
| electron_cdp_networkB | Interact with network requests via CDP: get captured requests, clear history, or set up mocks |
| electron_cdp_consoleC | Capture and retrieve console logs from the Electron app |
| electron_cdp_performanceC | Get performance metrics from the Electron app including timing and memory |
| electron_cdp_evaluateC | Execute JavaScript code in the Electron app context and return the result |
| electron_planner_setupC | Initialize a test planning session for an Electron application. Call this before exploring the app. |
| electron_planner_exploreC | Document a screen or feature during test planning. Captures the current state and adds it to the planning session. |
| electron_planner_saveB | Generate and save the test plan document based on the planning session. |
| electron_healer_run_testsC | Execute test suite and collect failure information for debugging. |
| electron_healer_debug_testC | Run a specific test in debug mode with enhanced logging to diagnose failures. |
| electron_healer_fix_testB | Apply fixes to a test file. Creates a backup and saves the corrected code. |
| electron_verify_element_visibleC | Verify that an element is visible on the screen. |
| electron_verify_text_visibleC | Verify that specific text is visible on the page. |
| electron_verify_valueB | Verify that an input element has the expected value. |
| electron_generate_locatorC | Generate a robust locator strategy for an element based on description. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 28 tools
Most tools target distinct operations, but several phase-specific tools overlap conceptually: snapshot/screenshot/planner_explore all capture UI state, while start_recording/generator_setup/generate_test/generator_write_test require understanding of the recording-to-generation workflow. Descriptions generally clarify the boundaries, but an agent can still misselect without knowing the intended workflow phase.
All tools use the electron_ prefix and snake_case, which is highly predictable. There are minor internal pattern deviations: core tools tend to be verb_object while subsystem tools use group_action, and a few names are noun-only (snapshot, screenshot, cdp_network).
At 28 tools, the surface is heavy for an agent and exceeds the typical well-scoped range. The tools span many separate workflows (recording, generation, CDP, planning, healing, verification), and some could likely be consolidated or hidden behind higher-level entry points.
The server covers a broad Electron testing lifecycle: launch/close, snapshot-based interaction, screenshots, recording, test generation, CDP inspection/evaluation, verification, planning, and healing. Minor gaps exist in common UI actions such as hover, scroll, select, keyboard shortcuts, and richer element attribute retrieval, though cdp_evaluate provides a workaround.