Browser Automation · Developer Tools

Electron MCP Server logo

Electron MCP Server

amafjarkasi/electron-mcp-server

Debug Electron apps from Cursor & Claude with real DevTools superpowers. Model Context Protocol server · Chrome DevTools Protocol · start / attach / screenshot / console / DOM / UI automation / tracing.

Install

Client configuration

{
  "mcpServers": {
    "electron-debug": {
      "command": "node",
      "args": [
        "<value>"
      ]
    }
  }
}

Environment variables

ELECTRON_MCP_NO_SANDBOXELECTRON_MCP_ALLOWED_ROOTS
GitHub stars
3
Category
Browser Automation, Developer Tools
License
ISC
Updated
Oct 6, 2026

About Electron MCP Server

Electron Debug MCP is a local MCP server that gives AI coding agents eyes, hands, and Chrome DevTools inside your Electron app.

Features

  • attach — connect to an existing debug port

  • diagnose — port health + recent errors

  • screenshot / save_screenshot — full page or selector clip

Tools (36)

  • start_app

    Launch Electron with remote debugging.

  • debugPort

    Existing DevTools port

  • attach_by_pid

    Attach by OS process id.

  • find_apps

    List running Electron-like processes.

  • discover_apps

    HTTP-probes each port for Chromium/Electron DevTools (/json/version + /json/list).

  • stop_app

    processId }

  • list_apps

    no params

  • processId

    Session id

  • targetId

    first page

  • format

    png | jpeg

  • quality

    int 0–100

  • selector

    Element clip — capture only that node’s bounding box

  • get_dom

    processId, selector?, targetId? }

  • query_selector

    processId, selector, targetId?, limit?=20 }

  • expression

  • role

    page | worker | browser | other

  • returnByValue

  • evaluate_main

    Evaluate in the Electron main/node CDP target.

  • get_cookies

  • set_cookie

    Note: Chromium often rejects cookies on file:// pages — use an http(s) URL or pass an explicit url/domain.

  • kind

    localStorage | sessionStorage

  • entries

    Record<string,string> (set)

  • clear

    bool (set)

  • get_console_messages

    processId, tail?, level? }

  • get_network_log

    processId, tail? }

  • get_logs

    processId, tail? }

  • list_targets

    processId? }

  • page_info

    processId, targetId? } → url / title / readyState / userAgent

  • wait_for

    Provide at least one condition:

  • type_text

    processId, text, selector?, clear?, pressEnter?, targetId? }

  • press_key

  • set_console_live

    enabled }

  • clear_buffers

    processId, console?=true, network?=true, logs?=false }

  • start_tracing

    Only one active trace per process session.

  • stop_tracing

    Returns: { path, eventCount, elapsedMs, targetId, … } Open the file in Chrome’s chrome://tracing (or Perfetto UI).

  • cdp_command

    processId, method:"Domain.method", targetId?, params? }

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

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