MCP.so

๐Ÿš€ Electron Debug MCP Server

@amafjarkasi

๐Ÿš€ Electron Debug 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.

ๅŸบๆœฌๆƒ…ๅ ฑ

ใ‚ซใƒ†ใ‚ดใƒช

ใใฎไป–

ใƒฉใƒณใ‚ฟใ‚คใƒ 

node

ใƒˆใƒฉใƒณใ‚นใƒใƒผใƒˆ

stdio

ๅ…ฌ้–‹่€…

amafjarkasi

่จญๅฎš

ๆจ™ๆบ–ใฎ่จญๅฎšใฏใ‚ใ‚Šใพใ›ใ‚“

ใ“ใฎใ‚ตใƒผใƒใƒผใฎ README ใซใฏ่งฃๆžๅฏ่ƒฝใช MCP ่จญๅฎšใƒ–ใƒญใƒƒใ‚ฏใŒๅซใพใ‚Œใฆใ„ใพใ›ใ‚“ใ€‚ใ‚คใƒณใ‚นใƒˆใƒผใƒซๆ‰‹้ †ใฏใƒชใƒใ‚ธใƒˆใƒชใ‚’ใ”็ขบ่ชใใ ใ•ใ„ใ€‚

ใƒชใƒใ‚ธใƒˆใƒช

ใƒ„ใƒผใƒซ

ใƒ„ใƒผใƒซใฏๆคœๅ‡บใ•ใ‚Œใพใ›ใ‚“ใงใ—ใŸ

ใƒ„ใƒผใƒซใฏ README ใ‹ใ‚‰่‡ชๅ‹•็š„ใซๆŠฝๅ‡บใ•ใ‚Œใพใ™ใ€‚ใƒกใƒณใƒ†ใƒŠใƒผใฏ ## Tools ใจใ„ใ†่ฆ‹ๅ‡บใ—ใฎไธ‹ใซ่จ˜่ผ‰ใ™ใ‚‹ใ“ใจใงใ€ใ“ใฎใ‚ฟใƒ–ใซๅๆ˜ ใงใใพใ™ใ€‚

ๆฆ‚่ฆ

What is Electron Debug MCP Server?

A Model Context Protocol (MCP) server that bridges MCP and Electron applications, enabling advanced debugging capabilities through the Chrome DevTools Protocol (CDP). It allows developers to start, monitor, debug, and control Electron apps programmatically.

How to use Electron Debug MCP Server?

Clone the repository, install dependencies with npm install, build with npm run build, then start the server using npm run start. Connect via stdio using an MCP client library or tool.

Key features of Electron Debug MCP Server

  • Start and stop Electron applications with debugging enabled
  • List and monitor all active Electron processes
  • Discover and connect to debugging targets via CDP
  • Execute CDP commands across domains (e.g., Page, Runtime, Debugger)
  • Evaluate JavaScript in page context
  • Reload pages or entire applications, pause/resume JavaScript execution

Use cases of Electron Debug MCP Server

  • Automating Electron app debugging in CI/CD pipelines
  • Remotely inspecting and controlling Electron windows during development
  • Performing dynamic JavaScript evaluation and reloading in Electron apps
  • Integrating Electron debugging into MCPโ€‘based tools and workflows

FAQ from Electron Debug MCP Server

What is the Electron Debug MCP Server?

It is an MCP server that provides a bridge between the Model Context Protocol and Electron applications, integrating Chrome DevTools Protocol for advanced debugging.

How do I install and start the server?

Clone the repository, run npm install, then npm run build. Start the server with npm run start.

How do I connect to the server?

The server uses stdio for communication. Clients connect using the Model Context Protocol via an MCP client library, stdin/stdout, or a tool that supports MCP.

What operations are available?

Operations include start, stop, list, reload, evaluate, pause, and resume. They are accessed via the electron://operation/{operation} resource endpoint.

What resources does the server expose?

Resources include electron://info (overview), electron://process/{id} (process details), electron://logs/{id} (process logs), electron://targets (debug targets), and electron://cdp/{processId}/{targetId} (CDP access).

ใ‚ณใƒกใƒณใƒˆ

ใ€Œใใฎไป–ใ€ใฎไป–ใฎใ‚ณใƒณใƒ†ใƒณใƒ„