Track MCP LogoTrack MCP
Track MCP LogoTrack MCP

The world's largest repository of Model Context Protocol servers. Discover, explore, and submit MCP tools.

Product

  • Categories
  • Top MCP
  • New & Updated
  • Submit MCP

Company

  • About

Legal

  • Privacy Policy
  • Terms of Service
  • Cookie Policy

ยฉ 2026 TrackMCP. All rights reserved.

Built with โค๏ธ by Krishna Goyal

    Electron Mcp Server

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

    32 stars
    TypeScript
    Updated Oct 29, 2025

    Table of Contents

    • ๐Ÿ“‹ Table of Contents
    • ๐Ÿ” Overview
    • โœจ Features
    • ๐Ÿ”„ Core Functionality
    • ๐Ÿ” Debugging Capabilities
    • ๐Ÿ“ก Resource Access
    • ๐Ÿ“ฅ Installation
    • ๐Ÿš€ Usage
    • Starting the Server
    • Connecting to the Server
    • ๐Ÿ“ก Resource Endpoints
    • Available Operations
    • ๐Ÿ” Chrome DevTools Protocol Integration
    • Listing Available Targets
    • Inspecting a Specific Target
    • Executing CDP Commands
    • ๐Ÿ“ Examples
    • Starting an Electron App
    • Getting Debug Information
    • Executing JavaScript in a Page
    • ๐Ÿ› ๏ธ Development
    • Project Structure
    • Building the Project
    • Running in Development Mode
    • ๐Ÿค Contributing
    • ๐Ÿ“„ License

    Table of Contents

    • ๐Ÿ“‹ Table of Contents
    • ๐Ÿ” Overview
    • โœจ Features
    • ๐Ÿ”„ Core Functionality
    • ๐Ÿ” Debugging Capabilities
    • ๐Ÿ“ก Resource Access
    • ๐Ÿ“ฅ Installation
    • ๐Ÿš€ Usage
    • Starting the Server
    • Connecting to the Server
    • ๐Ÿ“ก Resource Endpoints
    • Available Operations
    • ๐Ÿ” Chrome DevTools Protocol Integration
    • Listing Available Targets
    • Inspecting a Specific Target
    • Executing CDP Commands
    • ๐Ÿ“ Examples
    • Starting an Electron App
    • Getting Debug Information
    • Executing JavaScript in a Page
    • ๐Ÿ› ๏ธ Development
    • Project Structure
    • Building the Project
    • Running in Development Mode
    • ๐Ÿค Contributing
    • ๐Ÿ“„ License

    Documentation

    ๐Ÿš€ Electron Debug MCP Server

    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
    # Clone the repository
    git clone https://github.com/yourusername/electron-mcp-server.git
    
    # Navigate to the project directory
    cd electron-mcp-server
    
    # Install dependencies
    npm install
    
    # Build the project
    npm run build

    ๐Ÿš€ Usage

    Starting the Server

    bash
    npm run start

    This will 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. You can:

    • Use an MCP client library
    • Connect directly via stdin/stdout
    • Use a tool that supports MCP

    ๐Ÿ“ก Resource Endpoints

    The server exposes the following resource endpoints:

    ResourceDescription
    electron://infoOverview of all running Electron processes
    electron://process/{id}Detailed debug info for a specific process
    electron://logs/{id}Access to logs for a specific process
    electron://targetsList of all available debug targets
    electron://cdp/{processId}/{targetId}CDP access for a specific target
    electron://operation/{operation}Operations to control Electron apps

    Available Operations

    OperationDescription
    startStart an Electron application
    stopStop a running Electron process
    listList all running Electron processes
    reloadReload a specific page or application
    evaluateExecute JavaScript in a page context
    pausePause JavaScript execution
    resumeResume JavaScript execution

    ๐Ÿ” Chrome DevTools Protocol Integration

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

    Listing Available Targets

    code
    GET electron://targets

    Returns all available debugging targets across all running Electron processes.

    Inspecting a Specific Target

    code
    GET electron://cdp/{processId}/{targetId}

    Provides information about the target and available CDP domains.

    Executing CDP Commands

    code
    GET electron://cdp/{processId}/{targetId}/{domain}/{command}

    Examples:

    • electron://cdp/electron-123456/page-1/Page/reload - Reload the page
    • electron://cdp/electron-123456/page-1/Runtime/evaluate - Evaluate JavaScript
    • electron://cdp/electron-123456/page-1/Debugger/pause - Pause execution

    ๐Ÿ“ Examples

    Starting an Electron App

    javascript
    // Example request (using an MCP client)
    const response = await mcpClient.readResource({
      uri: "electron://operation/start",
      content: JSON.stringify({
        appPath: "C:\\path\\to\\your\\electron\\app",
        debugPort: 9222  // Optional debugging port
      })
    });

    Getting Debug Information

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

    Executing JavaScript in a Page

    javascript
    // Execute JavaScript in a page
    const evalResponse = await mcpClient.readResource({
      uri: `electron://cdp/electron-123456/page-1/Runtime/evaluate`,
      content: JSON.stringify({
        expression: "document.title",
        returnByValue: true
      })
    });

    ๐Ÿ› ๏ธ Development

    Project Structure

    code
    electron-mcp-server/
    โ”œโ”€โ”€ src/
    โ”‚   โ”œโ”€โ”€ index.ts         # Main server implementation
    โ”‚   โ””โ”€โ”€ types/           # TypeScript type definitions
    โ”œโ”€โ”€ build/               # Compiled JavaScript output
    โ”œโ”€โ”€ package.json         # Project dependencies and scripts
    โ””โ”€โ”€ tsconfig.json        # TypeScript configuration

    Building the Project

    bash
    npm run build

    Running in Development Mode

    bash
    npm run dev

    ๐Ÿค Contributing

    Contributions are welcome! Please feel free to submit a Pull Request.

    1. Fork the repository

    2. Create your feature branch (git checkout -b feature/amazing-feature)

    3. Commit your changes (git commit -m 'Add some amazing feature')

    4. Push to the branch (git push origin feature/amazing-feature)

    5. Open a Pull Request

    ๐Ÿ“„ License

    This project is licensed under the ISC License - see the LICENSE file for details.

    ---

    Built with โค๏ธ using TypeScript, Electron, and Chrome DevTools Protocol.

    Similar MCP

    Based on tags & features

    • MC

      Mcp Open Library

      TypeScriptยท
      42
    • DI

      Discogs Mcp Server

      TypeScriptยท
      59
    • QU

      Quran Mcp Server

      TypeScriptยท
      50
    • AN

      Anilist Mcp

      TypeScriptยท
      57

    Trending MCP

    Most active this week

    • PL

      Playwright Mcp

      TypeScriptยท
      22.1k
    • SE

      Serena

      Pythonยท
      14.5k
    • MC

      Mcp Playwright

      TypeScriptยท
      4.9k
    • MC

      Mcp Server Cloudflare

      TypeScriptยท
      3.0k
    View All MCP Servers

    Similar MCP

    Based on tags & features

    • MC

      Mcp Open Library

      TypeScriptยท
      42
    • DI

      Discogs Mcp Server

      TypeScriptยท
      59
    • QU

      Quran Mcp Server

      TypeScriptยท
      50
    • AN

      Anilist Mcp

      TypeScriptยท
      57

    Trending MCP

    Most active this week

    • PL

      Playwright Mcp

      TypeScriptยท
      22.1k
    • SE

      Serena

      Pythonยท
      14.5k
    • MC

      Mcp Playwright

      TypeScriptยท
      4.9k
    • MC

      Mcp Server Cloudflare

      TypeScriptยท
      3.0k