electron-mcp-server

electron-mcp-server

6

Electron Debug MCP Server is a robust platform for debugging Electron applications using the Model Context Protocol (MCP). It offers deep integration with Chrome DevTools Protocol, enabling advanced debugging features. Users can start, monitor, and control Electron apps with ease.

🚀 Overview

Electron Debug MCP Server provides a bridge between the Model Context Protocol (MCP) and Electron applications, enabling advanced debugging capabilities through a standardized API. It allows you to start, monitor, debug, and control Electron applications programmatically, with deep integration with Chrome DevTools Protocol for advanced debugging features.

✨ Features

🔄 Core Functionality

  • Process Management
    • Start Electron applications with debugging enabled
    • Stop running Electron processes
    • List all active Electron processes
    • Monitor process status and logs

🔍 Debugging Capabilities

  • Chrome DevTools Protocol Integration
    • Discover and connect to debugging targets
    • Execute CDP commands across domains
    • Evaluate JavaScript in the context of pages
    • Reload pages or entire applications
    • Pause and resume JavaScript execution

📡 Resource Access

  • Structured Resource Endpoints
    • Overview of all running Electron processes
    • Detailed debug information for specific processes
    • Access to process logs
    • List of available debugging targets
    • Direct CDP access for specific targets

📥 Installation

  1. Clone the repository
  2. Navigate to the project directory
  3. Install dependencies
  4. Build the project

🚀 Usage

Starting the Server

Start the MCP server using stdio for communication.

Connecting to the Server

The MCP server uses stdio for communication, so clients need to connect using the Model Context Protocol.