πŸš€ Electron Debug MCP Server

by amafjarkasi

76 424 downloads Not rated yet

About

πŸš€ A powerful MCP server for debugging Electron applications with deep Chrome DevTools Protocol integration. Control, monitor, and debug Electron apps through a standardized API.

Explore

- 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


npm install

javascript
// Get detailed info about a specific app
const processId = "electron-1234567890";
const infoResponse = await mcpClient.readResource({
uri: electron://process/${processId}
});

bash
npm run dev
```

The server integrates with Chrome DevTools Protocol to provide deep debugging capabilities:

TypeScript
Electron
Chrome DevTools Protocol
Model Context Protocol

A powerful Model Context Protocol (MCP) server for debugging Electron applications with deep Chrome DevTools Protocol integration.

πŸ“‹ Table of Contents

- Overview
- Features
- Installation
- Usage
- Resource Endpoints
- Chrome DevTools Protocol Integration
- Examples
- Development
- Contributing
- License

πŸ” 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

```bash

No reviews yet β€” be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.