Installation & Configuration Guide
This guide outlines the system requirements and setup options for easyeda-mcp-pro.
1. System Requirements
- Node.js: Node.js 24.x; source builds and automation are pinned to
24.23.0. - pnpm: exactly
11.29.0for a source checkout and development workflows; pnpm is not required for an installed package, npx-only usage, or a production runtime. - EasyEDA Pro: use the exact-version compatibility evidence for live-tested desktop runtimes.
nvm install 24.23.0
nvm use 24.23.0
corepack enable
corepack prepare pnpm@11.29.0 --activate
node scripts/check-runtime.mjs --require-pnpm2. Interactive Auto-Setup (CLI)
The easiest way to set up the MCP server is using our built-in configuration utility. It automatically detects and modifies the settings files for your installed clients.
# Configure all detected MCP clients in your user directory
npx easyeda-mcp-pro setup all
# Or configure a specific client (e.g. Cursor or Claude Desktop)
npx easyeda-mcp-pro setup cursor
npx easyeda-mcp-pro setup claudeOptions:
--profile <name>: Restrict or expand the toolset. Options arecore(default),pro,full, ordev. E.g.npx easyeda-mcp-pro setup cursor --profile full
3. Manual Client Configurations
If you prefer to configure your client manually, append the following configurations to the respective settings files:
🟣 Claude Desktop
Config Path:
- Windows:
%APPDATA%\Claude\claude_desktop_config.json - macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Linux:
~/.config/Claude/claude_desktop_config.json
{
"mcpServers": {
"easyeda-mcp-pro": {
"command": "npx",
"args": ["-y", "easyeda-mcp-pro@latest"],
"env": {
"TOOL_PROFILE": "core"
}
}
}
}Claude Desktop may start independent stdio MCP processes for different conversations. Current easyeda-mcp-pro builds automatically share a single EasyEDA Pro bridge owner between those local processes through an authenticated, loopback-only follower relay. You should not need to kill the process serving another Claude conversation. Keep all concurrently running clients on the same current package version; mixed old/new processes can fall back to the explicit blocked_by_other_instance diagnostic.
🔵 Cursor IDE
Config Path: Project-specific .cursor/mcp.json or global settings.
{
"mcpServers": {
"easyeda-mcp-pro": {
"command": "npx",
"args": ["-y", "easyeda-mcp-pro@latest"],
"env": {
"TOOL_PROFILE": "pro"
}
}
}
}🟢 VS Code (GitHub Copilot)
Config Path: %APPDATA%\Code\User\mcp.json (Windows) or ~/Library/Application Support/Code/User/mcp.json (macOS).
{
"servers": {
"easyeda-mcp-pro": {
"command": "npx",
"args": ["-y", "easyeda-mcp-pro@latest"],
"env": {
"TOOL_PROFILE": "pro"
}
}
}
}4. EasyEDA Pro Extension Installation
To bridge the MCP server with the live EasyEDA Pro layout editor:
- Open your terminal and copy/open the extension directory:bashThis opens the folder containing
npx easyeda-mcp-pro extension --openeasyeda-bridge-extension.eext. - Open EasyEDA Pro.
- Go to Advanced → Extensions Manager… (EasyEDA Pro 3.2.209; older versions may use Settings → Extensions → Extension Manager).
- Click Import Extension and select the
easyeda-bridge-extension.eextfile. - In the Extension Manager, verify that Allow External Interaction is checked for the imported extension.
- Fully exit and restart EasyEDA Pro after installing or upgrading the .eext file. Installation success does not prove the previously running dispatcher was replaced. Reconnecting or toggling the extension alone may keep stale code active.
- Click MCP Bridge → Connect, then MCP Bridge → Status to see the build ID of the active dispatcher. When verifying an upgrade, compare that active identity and observable supported behavior with the intended build before allowing version-sensitive operations. The build ID in Status describes running code, not just the installed package.
5. Docker deployment modes
The production image deliberately defaults to HTTP_HOST=127.0.0.1. A normal Docker bridge gives the container its own loopback namespace, so publishing port 3000 alone does not make that default listener reachable from the host.
Local-only Docker
On Linux, host networking preserves a loopback-only endpoint without changing the safe defaults:
docker build -t easyeda-mcp-pro:local .
docker run --rm --network host easyeda-mcp-pro:local
curl http://127.0.0.1:3000/healthzThis mode is Linux-specific. On Docker Desktop, prefer a native local installation or the authenticated published-port mode below rather than weakening the bind policy.
Authenticated published-port Docker
For a reverse proxy, tunnel, or another host process to reach the container, bind the application to 0.0.0.0 and provide complete OAuth/JWKS and explicit origin configuration. The host publication can still be restricted to loopback:
docker run --rm \
-p 127.0.0.1:3000:3000 \
-e HTTP_HOST=0.0.0.0 \
-e ALLOWED_ORIGINS=https://client.example.com \
-e OAUTH_ENABLED=true \
-e OAUTH_ISSUER=https://auth.example.com \
-e OAUTH_AUDIENCE=https://mcp.example.com/mcp \
-e OAUTH_JWKS_URI=https://auth.example.com/.well-known/jwks.json \
easyeda-mcp-pro:localThe server fails closed when HTTP_HOST=0.0.0.0 is used without these controls. CORS, a published port, or a tunnel is never treated as authentication.