MCP Client Setup
Use this page when your client supports MCP but is not listed in AI Client Setup.
What the Client Must Run
Build first:
npm run setup:localThen configure your client to run:
node /absolute/path/to/easyeda_mcp/dist/index.jsThe path must point to the compiled dist/index.js file.
Generic JSON Shape
Many MCP clients use a config similar to this:
{
"mcpServers": {
"easyeda-pro": {
"command": "node",
"args": ["/absolute/path/to/easyeda_mcp/dist/index.js"]
}
}
}On Windows, use an absolute path such as:
{
"mcpServers": {
"easyeda-pro": {
"command": "node",
"args": ["C:\\Users\\you\\Documents\\easyeda_mcp\\dist\\index.js"]
}
}
}Startup Order
Use this order to avoid connection confusion:
- start the MCP client
- let it launch the MCP server
- open EasyEDA Pro
- open your schematic or PCB
- load or reconnect the extension
- run
easyeda_doctor
What Happens at Runtime
The MCP client talks to the server over stdio.
The server opens a local WebSocket bridge for the EasyEDA Pro extension:
ws://127.0.0.1:8765The extension connects to that bridge and calls EasyEDA Pro APIs on behalf of MCP tools.
Optional Bridge Endpoint
Defaults:
- host:
127.0.0.1 - port:
8765
Optional environment variables:
EASYEDA_MCP_WS_HOSTEASYEDA_MCP_WS_PORT
Only change these if you also update the extension bridge target.
Verify
Ask your MCP client:
Run easyeda_live_status.Then:
Run easyeda_doctor.If the client can see the tools but the extension is disconnected, go to Troubleshooting.
After Tool Changes
If you add or rename MCP tools:
- rebuild with
npm run setup:local - restart the MCP client session
- reconnect the EasyEDA Pro extension
Most MCP clients cache tool catalogs for the life of a session.