Browser Automation · Developer Tools

Electron MCP Server

halilural/electron-mcp-server

Control any Electron app with natural language. An MCP server that lets AI assistants (Claude, Cursor, VS Code, …) drive your Electron app: click buttons, fill forms, take screenshots, read console logs, and run JavaScript inside it — all over the Chrome DevTools Protocol, with no changes to your app.

Install

npx -y electron-mcp-server

Client configuration

{
  "mcpServers": {
    "electron": {
      "command": "npx",
      "args": [
        "-y",
        "electron-mcp-server"
      ],
      "env": {
        "SECURITY_LEVEL": "<SECURITY_LEVEL>",
        "SCREENSHOT_ENCRYPTION_KEY": "<SCREENSHOT_ENCRYPTION_KEY>"
      }
    }
  }
}

Environment variables

SECURITY_LEVELSCREENSHOT_ENCRYPTION_KEY
Category
Browser Automation, Developer Tools
License
MIT
Updated
Oct 6, 2026

About Electron MCP Server

Then ask your AI: "Click the Settings button in my Electron app and screenshot the result."

Features

  • Sandboxed Execution: All code runs in isolated environments with strict resource limits

  • Input Validation: Advanced static analysis detects and blocks dangerous code patterns

  • Comprehensive Auditing: Encrypted logs track all operations with full traceability

  • Secure Screenshots: Encrypted screenshot data with clear user notifications

  • Risk Assessment: Automatic threat detection with configurable security thresholds

  • Zero Trust: Dangerous functions like eval, file system access, and network requests are blocked by default

Tools (7)

  • launch_electron_app

    Launch an Electron application with debugging capabilities.

  • get_electron_window_info

    Get comprehensive window and target information via Chrome DevTools Protocol.

  • take_screenshot

    Capture high-quality screenshots using Playwright and Chrome DevTools Protocol.

  • send_command_to_electron

    Execute JavaScript commands in the running Electron application via WebSocket.

  • read_electron_logs

    Stream application logs from main process, renderer, and console.

  • close_electron_app

    Gracefully close the Electron application.

  • build_electron_app

    Build Electron applications for distribution.

Details on this page are taken from the project's README. Open README

Supported clients

Clients mentioned in this server's README:

View all
Claude Desktop logo

Claude Desktop

Desktop · Freemium · Proprietary

Anthropic's official Claude AI desktop application. Supports MCP servers to extend functionality.

WindowsMacOS
Cursor logo

Cursor

Desktop · Freemium · Proprietary

The first agentic IDE. The Cursor editor truly merges how developers and AI work together, delivering a magical coding experience.

WindowsMacOSLinux
VS Code GitHub Copilot logo

VS Code GitHub Copilot

Desktop · Freemium · MIT

VS Code integrates MCP with GitHub Copilot through agent mode, allowing direct interaction with MCP-provided tools in your agentic coding workflow. Configure servers in Claude Desktop, workspace, or user settings, with guided MCP installation and secure handling of secrets in input variables to avoid leaking hardcoded keys.

WindowsMacOSLinuxWeb

Related MCP servers

More servers
Playwright logo

Playwright

microsoft/playwright

72.2k

Playwright is a framework for web automation and testing. It drives Chromium, Firefox, and WebKit with a single API — in your tests, in your scripts, and as a tool for AI agents.

Browser Automation
Playwright Browser Automation logo

Playwright Browser Automation

microsoft/playwright-mcp

9.2k

A Model Context Protocol (MCP) server that provides browser automation capabilities using Playwright. This server enables LLMs to interact with web pages through structured accessibility snapshots, bypassing the need for screenshots or visually-tuned models.

Browser Automation
Browser Tools MCP logo

Browser Tools MCP

AgentDeskAI/browser-tools-mcp

3.8k

Give your AI coding agent eyes on the browser. BrowserTools MCP streams console output, network activity, screenshots and Lighthouse audits from your real Chrome session — the one already logged into your app — to any MCP-compatible client: Cursor, Claude Code, Windsurf, Cline, Zed, Gemini CLI, and others.

Browser Automation
MCP Playwright logo

MCP Playwright

executeautomation/mcp-playwright

3.3k

A Model Context Protocol server that provides browser automation capabilities using Playwright. This server enables LLMs to interact with web pages, take screenshots, generate test code, web scrapes the page and execute JavaScript in a real browser environment.

Browser Automation
Browserbase logo

Browserbase

browserbase/mcp-server-browserbase

1.4k

The Model Context Protocol (MCP) is an open protocol that enables seamless integration between LLM applications and external data sources and tools. Whether you're building an AI-powered IDE, enhancing a chat interface, or creating custom AI workflows, MCP provides a standardized way to connect LLMs with the context they need.

Browser Automation
Browser MCP Peo logo

Browser MCP Peo

browsermcp/mcp

1.2k

Browser MCP is an MCP server + Chrome extension that allows you to automate your browser using AI applications like VS Code, Claude, Cursor, and Windsurf.

Browser Automation