EasyEDA Pro Extension Setup
The extension is what gives the MCP server live access to EasyEDA Pro.
Without it, the MCP server can start, but tools cannot inspect the open editor session.
Quick Path
From the repository root:
npm run setup:localThen in EasyEDA Pro:
- import or load the packaged extension
- enable external interaction permission
- open a schematic or PCB
- use
MCP Bridge -> Reconnectif it does not connect automatically - run
easyeda_doctorfrom your MCP client
What Gets Built
npm run setup:local creates:
dist/index.js
extension/dist/index.jsIt also packages the EasyEDA extension artifact for import workflows.
The extension manifest lives at:
extension/extension.jsonPermission You Must Enable
EasyEDA Pro may disable external interaction for local extensions.
Enable it for this extension. The bridge needs it because the extension uses SYS_WebSocket to connect to:
ws://127.0.0.1:8765If this permission is off, the MCP client may show tools, but live editor calls will fail.
Verify
After EasyEDA Pro is open and the extension is loaded, ask your MCP client:
Run easyeda_doctor.Healthy output should show:
connected: true- compatible bridge protocol
- an active project or document
Then ask:
Run easyeda_get_context.Extension Menu
Use these commands inside EasyEDA Pro when needed:
MCP Bridge -> ReconnectMCP Bridge -> Run Diagnostics
Reconnect is the fastest fix when the server was restarted after EasyEDA Pro was already open.
Packaging Rules
These details matter if you change the extension package:
extension.jsonmust be at the package root- extension
namemust use lowercase-hyphen style uuidmust be exactly 32 lowercase alphanumeric characters- the browser bundle must use EasyEDA-compatible output
Current bundle settings:
esbuildformat=iifeglobalName=edaEsbuildExportName
Related Files
extension/src/index.tsextension/src/bridgeConfig.tsextension/extension.jsonscripts/package-extension.mjs