electron-mcp-server

electron-mcp-server is an MCP (Model Context Protocol) server that automates and observes Electron applications. It can launch Electron apps with debugging enabled, inspect window/target information via Chrome DevTools Protocol, take screenshots via Playwright/CDP, stream Electron logs, build apps, and execute various UI interaction commands (including selector/text-based clicking, form filling, screenshots, and an eval-style command gated by security settings).

Evaluated Mar 30, 2026 (21d ago)
Repo ↗ DevTools mcp electron automation ui-testing debugging observability devtools-protocol playwright screenshots typescript
⚙ Agent Friendliness
59
/ 100
Can an agent use this?
🔒 Security
46
/ 100
Is it safe for agents?
⚡ Reliability
36
/ 100
Does it work consistently?

Score Breakdown

⚙ Agent Friendliness

MCP Quality
78
Documentation
70
Error Messages
0
Auth Simplicity
55
Rate Limits
10

🔒 Security

TLS Enforcement
60
Auth Strength
35
Scope Granularity
25
Dep. Hygiene
55
Secret Handling
60

README emphasizes sandboxed execution, input validation/static analysis, encrypted/audited operations, and screenshot encryption (SCREENSHOT_ENCRYPTION_KEY). However, the interface appears to rely mainly on security levels/environment configuration rather than explicit per-user auth/scopes. TLS enforcement and full network exposure model are not described. Dependencies include electron/playwright/ws/zod; no CVE/security posture details are provided in the provided content.

⚡ Reliability

Uptime/SLA
0
Version Stability
55
Breaking Changes
40
Error Recovery
50
AF Security Reliability

Best When

You control the environment running the MCP server/client, need local automation/observability for Electron apps, and can select an appropriate security level (strict/balanced/permissive/development).

Avoid When

Avoid using permissive/development security levels against untrusted content or third-party Electron apps, and avoid exposing the MCP server to untrusted networks/users.

Use Cases

  • Automated UI workflows for Electron apps (clicking, filling forms, navigation)
  • Visual debugging and state capture via screenshots
  • Inspection of windows/targets and page structure using DevTools Protocol
  • Real-time observability through streaming main/renderer/console logs
  • Development/test automation without modifying the Electron app
  • Cross-platform Electron build automation (via the MCP tool)

Not For

  • Untrusted automation of sensitive apps where granting UI automation is unacceptable
  • Production usage where strict guarantees on resource usage, stability, and audit/retention controls are not defined
  • Public internet exposure without strong network and process isolation

Interface

REST API
No
GraphQL
No
gRPC
No
MCP Server
Yes
SDK
Yes
Webhooks
No

Authentication

Methods: Environment-based security level configuration (SECURITY_LEVEL) Optional screenshot encryption key configuration (SCREENSHOT_ENCRYPTION_KEY)
OAuth: No Scopes: No

The README emphasizes security levels and sandboxing rather than explicit user authentication/authorization. No OAuth/API key flow is described.

Pricing

Free tier: No
Requires CC: No

Open source (MIT) and distributed via npm/npx; costs are primarily your infrastructure/runtime.

Agent Metadata

Pagination
none
Idempotent
False
Retry Guidance
Not documented

Known Gotchas

  • Incorrect argument structure for send_command_to_electron (e.g., passing a selector string instead of an args object like {"selector": "..."}).
  • Rapid consecutive clicks can cause timing-related failures ('Click prevented - too soon').
  • Some commands may be blocked depending on SECURITY_LEVEL.

Alternatives

Full Evaluation Report

Comprehensive deep-dive: security analysis, reliability audit, agent experience review, cost modeling, competitive positioning, and improvement roadmap for electron-mcp-server.

AI-powered analysis · PDF + markdown · Delivered within 30 minutes

$99

Package Brief

Quick verdict, integration guide, cost projections, gotchas with workarounds, and alternatives comparison.

Delivered within 10 minutes

$3

Score Monitoring

Get alerted when this package's AF, security, or reliability scores change significantly. Stay ahead of regressions.

Continuous monitoring

$3/mo

Scores are editorial opinions as of 2026-03-30.

8642
Packages Evaluated
17761
Need Evaluation
586
Need Re-evaluation
Community Powered