Getting Started
Goal: get one MCP client talking to the EasyEDA Pro project you have open.
If you want the shortest beginner-friendly path, use Quick Start first.
This is the happy path. If a step fails, jump to Troubleshooting.
Prerequisites
You need:
- Node.js
20or newer npm- EasyEDA Pro installed
- permission to load a local EasyEDA Pro extension
- an MCP client such as Codex, Claude Desktop, Claude Code, or VS Code
1. Install Dependencies
Run from the repository root:
bash
npm install2. Build Everything
Run:
bash
npm run setup:localThis builds:
- the MCP server at
dist/index.js - the EasyEDA Pro extension bundle at
extension/dist/index.js - the packaged
.eextextension artifact
3. Connect Your MCP Client
Point your MCP client to:
bash
node /absolute/path/to/easyeda_mcp/dist/index.jsUse AI Client Setup for Codex, Claude, Claude Code, and VS Code examples.
4. Install the EasyEDA Pro Extension
In EasyEDA Pro:
- import or load the packaged extension
- enable external interaction permission
- open a schematic or PCB project
- use
MCP Bridge -> Reconnectif it does not auto-connect
Use EasyEDA Pro Extension Setup if you need the full extension flow.
5. Verify the Connection
In your MCP client, run:
text
Run easyeda_doctor and summarize whether the EasyEDA Pro bridge is healthy.Healthy output should show:
- extension connected
- protocol compatible
- active document available
Then run:
text
Run easyeda_get_context and tell me which EasyEDA Pro document is open.6. Try a Real Read
With a schematic open, run:
text
Run easyeda_schematic_snapshot and summarize the component and net counts.If that works, the setup is ready.
Daily Startup
After the first setup, the usual flow is:
- open your MCP client
- open EasyEDA Pro
- open the target project
- let the extension connect
- run
easyeda_doctor
Useful Commands
bash
npm run setup:local
npm test
npm run typecheckDefaults
The MCP server uses stdio for the MCP client and opens a local WebSocket bridge at:
text
ws://127.0.0.1:8765Optional overrides:
EASYEDA_MCP_WS_HOSTEASYEDA_MCP_WS_PORT