electron-mcp-server
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
- Clone the repository
- Navigate to the project directory
- Install dependencies
- 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.