Skip to content

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:

bash
npx easyeda-mcp-pro --doctor

This diagnostic tool checks:

  • Node.js runtime version compatibility.
  • Whether it is running from a source checkout, installed package, or production runtime.
  • Whether dist/index.js is non-empty and has the declared Node.js shebang.
  • Whether easyeda-bridge-extension.eext matches 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:

  1. EasyEDA Pro is closed: Open EasyEDA Pro and open a project.
  2. Bridge Extension is not installed: Follow the Getting Started Guide to import the .eext file.
  3. 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.
  4. Bridge is not Connected: In the menu bar of EasyEDA Pro, click MCP BridgeConnect. You should see a toast message saying Bridge server connected.
  5. Port conflict or Firewall: The bridge binds to local port 49620 by default. Ensure no other application is using this port and your firewall allows localhost WebSocket connections.
  6. Another MCP process owns the bridge: Only one local easyeda-mcp-pro process owns the EasyEDA bridge listener at a time. If another client window or an orphaned MCP process owns it, easyeda_health_check and easyeda_bridge_status report blocked_by_other_instance: true with 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:

  1. Run node -v and pnpm --version to check both runtimes.

  2. Restore the pinned toolchain:

    bash
    nvm install 24.18.0
    nvm use 24.18.0
    corepack enable
    corepack prepare pnpm@11.5.1 --activate
    node scripts/check-runtime.mjs --require-pnpm
  3. Use nvm or your platform package manager to update:

    bash
    nvm install 24.18.0
    nvm use 24.18.0

Source-available under PolyForm Noncommercial 1.0.0.