Electron MCP Server
Electron IPC scaffolding, security audits, CSP and build-error diagnosis for assistants
- Pricing
- Open source
- Platforms
- CLI
- Runs
- Locally
- Version
- 1.7.3
- Listing updated
- 3 days ago
About Electron MCP Server
Electron MCP Server is an open-source MCP server for developer tools. It runs locally on your machine and is started by your AI client.
Models often get Electron wrong in the parts that matter for safety: context isolation, preload bridges, fuses and CSP. This server gives an assistant structured answers about Electron itself rather than a shell, so generated code follows the official recommendations. The page states it is not a runtime debugger.
It can scaffold a full IPC round trip (main handler, typed preload bridge, contextBridge and renderer usage), grade a BrowserWindow config, parse electron-builder or forge failures, generate a CSP that accounts for Vite and React dev mode, check deprecated APIs and guide migration between major versions.
MIT licensed, from Yaw Labs, installed from npm with no API key.
Install
Run in a terminal
claude mcp add electron-mcp -- npx -y @yawlabs/electron-mcpAdd to claude_desktop_config.json
{
"mcpServers": {
"electron-mcp": {
"command": "npx",
"args": [
"-y",
"@yawlabs/electron-mcp"
]
}
}
}Add to ~/.cursor/mcp.json
{
"mcpServers": {
"electron-mcp": {
"command": "npx",
"args": [
"-y",
"@yawlabs/electron-mcp"
]
}
}
}Add to .vscode/mcp.json
{
"servers": {
"electron-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@yawlabs/electron-mcp"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"electron-mcp": {
"command": "npx",
"args": [
"-y",
"@yawlabs/electron-mcp"
]
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"electron-mcp": {
"command": "npx",
"args": [
"-y",
"@yawlabs/electron-mcp"
]
}
}
}Tools this server provides (8)
Taken from the project documentation; the running server may differ.
- electron_scaffold_ipc_channel
- Generates an IPC channel with handler, preload bridge, types and renderer usage.
- electron_audit_security
- Audits main process, preload and CSP.
- electron_migrate_version
- Guides migration between Electron versions.
- electron_check_deprecated_apis
- Checks for deprecated APIs.
- electron_diagnose_build_error
- Diagnoses build errors.
- electron_configure_fuses
- Configures Electron fuses.
- electron_configure_csp
- Generates a Content Security Policy.
- electron_knowledge_version
- Reports the version of its knowledge.
What it does
- IPC scaffolding
- Generates handler, preload, types and renderer code.
- Security audit
- Grades main process, preload and CSP.
- Build diagnosis
- Finds root causes in builder or forge output.
- CSP generator
- Accounts for bundler dev mode.
- Version migration
- Covers breaking changes between majors.
- Fuse configuration
- Helps set Electron fuses.
Good for
- Add a file picker safely
- Audit window settings before release
- Fix a signing error
- Upgrade Electron majors
- Build a CSP for Vite and React
Pricing
Open source
MIT licence; no API key
Prices change. Check yaw.sh before you buy.
Electron MCP Server FAQ
Does it run my app?
No, it is not a runtime debugger.
Is a key needed?
No.
Licence?
MIT.
Is Electron MCP Server free?
Yes. Electron MCP Server is open source, so you can use and self-host it for free.
How do I add Electron MCP Server to Claude Code?
Run this command in your terminal: claude mcp add electron-mcp -- npx -y @yawlabs/electron-mcp
What are the best alternatives to Electron MCP Server?
The closest alternatives to Electron MCP Server are REA, Codebase Memory, GitHub, Serena MCP: the IDE for your agent and XERJ.
Alternatives to Electron MCP Server

REA
MCP serverCLI and MCP server that lets coding agents reverse engineer apps and binaries
Runs locally- Open source
- 464K GitHub stars
- Developer tools

Codebase Memory
MCP serverLocal MCP server that builds a code knowledge graph for AI coding agents
Runs locally- Open source
- 48.7K GitHub stars
- Knowledge and memory

GitHub
MCP serverOfficial MCP server connecting AI assistants to GitHub repos, issues and workflows
Not checked yet- Remote
- Open source
- 34.5K GitHub stars
- Developer tools

Serena MCP: the IDE for your agent
MCP serverMCP toolkit giving coding agents symbol-level code retrieval and editing
Runs locally- Open source
- 31.5K GitHub stars
- Developer tools

XERJ
MCP serverLocal search engine for AI agents with cited answers over your code and docs
Runs locally- Open source
- 19.2K GitHub stars
- Knowledge and memory

Ouroboros
MCP serverSpec-first layer that pins requirements and verifies results of AI coding agent work
Runs locally- Open source
- 6.4K GitHub stars
- Developer tools