@vlabsoft/easyeda-pro-mcp
v1.0.2
Published
MCP server and EasyEDA Pro extension bridge for live project assistance.
Readme
EasyEDA Pro MCP Bridge
Live MCP integration for EasyEDA Pro through an EasyEDA extension.
The MCP server runs locally over stdio for MCP clients and also starts a WebSocket bridge at ws://127.0.0.1:8765. The EasyEDA Pro extension connects to that local bridge and executes read, navigation, export, and explicitly confirmed actions inside the active editor session.
Features
- Live status and editor context from the active EasyEDA Pro instance.
- Component and net lookup using EasyEDA Pro extension APIs.
- Generic schematic analysis: components, pins, nets, wires, labels, unconnected pins, and validation findings.
- Navigation helpers for components, coordinates, regions, and board outline zoom.
- BOM, netlist, Gerber, and PDF export via EasyEDA Pro manufacture APIs.
- Mutating actions routed through
easyeda_confirmed_actionand blocked unless the confirmation text is explicit. - No offline
.eproparsing in this version.
Build and Test
npm install
npm run build
npm run build:extension
npm testMCP Client Configuration
Build first, then point your MCP client at the compiled server:
{
"mcpServers": {
"easyeda-pro": {
"command": "node",
"args": ["C:\\Users\\vlabsoft\\Documents\\easyeda_mcp\\dist\\index.js"]
}
}
}Optional environment variables:
EASYEDA_MCP_WS_HOST: defaults to127.0.0.1.EASYEDA_MCP_WS_PORT: defaults to8765.
EasyEDA Pro Extension Setup
- Run
npm run build:extension. - Load the
extensionfolder as a local EasyEDA Pro extension. - Enable external interaction permission for the extension; EasyEDA Pro requires this for
SYS_WebSocket. - Keep the MCP server running.
- Use the EasyEDA Pro menu
MCP Bridge -> Connect to MCPif it does not connect automatically. - Call
easyeda_live_statusfrom your MCP client and check thatconnectedistrue.
The extension entry is extension/dist/index.js, and the manifest is extension/extension.json.
Tools
easyeda_live_statuseasyeda_get_contexteasyeda_find_componenteasyeda_find_neteasyeda_schematic_snapshoteasyeda_list_schematic_componentseasyeda_get_component_pinseasyeda_trace_neteasyeda_trace_componenteasyeda_find_unconnected_pinseasyeda_validate_schematic_areaeasyeda_navigate_componenteasyeda_navigate_regioneasyeda_zoom_boardeasyeda_export_bomeasyeda_export_netlisteasyeda_export_gerbereasyeda_export_pdfeasyeda_confirmed_action
Safety
Inspection, navigation, and export tools run directly. Project-changing operations are limited to easyeda_confirmed_action, and the confirmation field must contain an explicit phrase such as confirma salvar or I confirm.
Commercial/order operations are intentionally not implemented.
