Troubleshooting
If your AI assistant is unable to communicate with EasyEDA Pro or throws errors, use this guide to identify and fix the issue.
1. Run Diagnostics
The first step is to check if the MCP server is correctly installed and built:
npx easyeda-mcp-pro --doctorThis diagnostic tool checks:
- Node.js runtime version compatibility.
- Whether it is running from a source checkout, installed package, or production runtime.
- Whether
dist/index.jsis non-empty and has the declared Node.js shebang. - Whether
easyeda-bridge-extension.eextmatches its bundled SHA-256 manifest. - Availability and reachability of local port
49620.
pnpm is required and version-checked only in a source checkout. pnpm is not required in an installed package or production runtime. If a runtime artifact is missing or corrupt, reinstall the package or container image instead of adding development tooling to production. The command exits with status 1 for these fatal runtime/configuration defects, while an offline bridge alone remains an informational result.
2. Bridge Connection Issues
If you receive errors like Bridge not connected during tool execution:
Possible Causes:
- EasyEDA Pro is closed: Open EasyEDA Pro and open a project.
- Bridge Extension is not installed: Follow the Getting Started Guide to import the
.eextfile. - Eklenti Devre Dışı / External Interaction is Off: Open the Extension Manager in EasyEDA Pro, select "MCP Pro Bridge", and make sure Allow External Interaction is checked. EasyEDA Pro v3 can block the bridge silently when this permission is off.
- Bridge is not Connected: In the menu bar of EasyEDA Pro, click MCP Bridge → Connect. You should see a toast message saying Bridge server connected.
- Port conflict or Firewall: The bridge binds to local port
49620by default. Ensure no other application is using this port and your firewall allows localhost WebSocket connections. - Another MCP process owns the bridge: Only one local
easyeda-mcp-proprocess owns the EasyEDA bridge listener at a time. If another client window or an orphaned MCP process owns it,easyeda_health_checkandeasyeda_bridge_statusreportblocked_by_other_instance: truewith the owner PID and listener port. Close the other MCP client, or terminate the reported stale process, then restart the blocked client.
3. Node.js Version Error
The MCP server supports Node.js 24.x. Repository automation is pinned to 24.18.0, and local pnpm workflows require exactly 11.5.1.
If you see compilation or runtime errors:
Run
node -vandpnpm --versionto check both runtimes.Restore the pinned toolchain:
bashnvm install 24.18.0 nvm use 24.18.0 corepack enable corepack prepare pnpm@11.5.1 --activate node scripts/check-runtime.mjs --require-pnpmUse
nvmor your platform package manager to update:bashnvm install 24.18.0 nvm use 24.18.0
