AI Client Setup
All MCP clients launch the same local Node.js server over stdio via @vlabsoftware/easyeda-pro-mcp — no repository clone or manual build required.
Automatic Setup (All Clients)
Run one command in your terminal (requires Node.js >= 20):
npx -y @vlabsoftware/easyeda-pro-mcp setupsetup safely merges easyeda-pro into every detected AI client on your machine (preserving your existing MCP servers) and exports easyeda_mcp_bridge.eext to ~/Downloads (or your current folder).
Useful CLI options:
# Preview changes without modifying any files
npx -y @vlabsoftware/easyeda-pro-mcp setup --dry-run
# Configure specific clients explicitly
npx -y @vlabsoftware/easyeda-pro-mcp setup --client cursor,vscode,claude-desktop
# Copy only easyeda_mcp_bridge.eext to the current folder
npx -y @vlabsoftware/easyeda-pro-mcp export-extension .Standard MCP Configuration & 1-Click Links
Most MCP clients use this standard JSON configuration:
{
"mcpServers": {
"easyeda-pro": {
"command": "npx",
"args": ["-y", "@vlabsoftware/easyeda-pro-mcp"]
}
}
}{
"mcpServers": {
"easyeda-pro": {
"command": "cmd",
"args": ["/c", "npx", "-y", "@vlabsoftware/easyeda-pro-mcp"]
}
}
}| Client | 1-Click / CLI Shortcut | Configuration Location |
|---|---|---|
| Cursor | Install in Cursor | ~/.cursor/mcp.json or .cursor/mcp.json |
| VS Code | Install in VS Code | User Code/User/mcp.json or .vscode/mcp.json (servers schema) |
| Claude Desktop | Download .mcpb Bundle | claude_desktop_config.json |
| Claude Code CLI | claude mcp add | ~/.claude.json or project .mcp.json |
| Codex CLI | codex mcp add | ~/.codex/config.toml |
| Antigravity | npx -y @vlabsoftware/easyeda-pro-mcp setup -c antigravity | ~/.gemini/config/mcp_config.json |
| Windsurf / Cline / Zed | npx -y @vlabsoftware/easyeda-pro-mcp setup -c windsurf | Standard mcpServers stdio configuration |
Paired EasyEDA Pro Extension
If you install via a 1-click link or manual JSON config, remember to also import easyeda_mcp_bridge.eext (or run npx -y @vlabsoftware/easyeda-pro-mcp export-extension .) in EasyEDA Pro. See EasyEDA Pro Extension.
Claude Code CLI
Use the Claude Code CLI to register the server:
claude mcp add --scope user easyeda-pro -- npx -y @vlabsoftware/easyeda-pro-mcp
claude mcp listclaude mcp add --scope user easyeda-pro -- cmd /c npx -y @vlabsoftware/easyeda-pro-mcp
claude mcp listAlternatively, commit .mcp.json at the root of your project:
{
"mcpServers": {
"easyeda-pro": {
"type": "stdio",
"command": "npx",
"args": ["-y", "@vlabsoftware/easyeda-pro-mcp"]
}
}
}Codex CLI
Register the server with the OpenAI Codex CLI:
codex mcp add easyeda-pro -- npx -y @vlabsoftware/easyeda-pro-mcp
codex mcp listcodex mcp add easyeda-pro -- cmd /c npx -y @vlabsoftware/easyeda-pro-mcp
codex mcp listOr add it directly to ~/.codex/config.toml:
[mcp_servers.easyeda-pro]
command = "npx"
args = ["-y", "@vlabsoftware/easyeda-pro-mcp"]Claude Desktop
Option A: 1-Click .mcpb Bundle (No JSON Editing)
- Download
easyeda-pro-mcp.mcpbfrom the latest GitHub Release. - Double-click
easyeda-pro-mcp.mcpb(or drag it into Claude Desktop -> Settings -> Extensions) and confirm installation.
Option B: claude_desktop_config.json
Add easyeda-pro to claude_desktop_config.json, then fully quit and reopen Claude Desktop:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json - Linux:
~/.config/Claude/claude_desktop_config.json
{
"mcpServers": {
"easyeda-pro": {
"command": "npx",
"args": ["-y", "@vlabsoftware/easyeda-pro-mcp"]
}
}
}{
"mcpServers": {
"easyeda-pro": {
"command": "cmd",
"args": ["/c", "npx", "-y", "@vlabsoftware/easyeda-pro-mcp"]
}
}
}Cursor
Click Install in Cursor, or add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project), then click Refresh in Cursor Settings -> MCP:
{
"mcpServers": {
"easyeda-pro": {
"command": "npx",
"args": ["-y", "@vlabsoftware/easyeda-pro-mcp"]
}
}
}{
"mcpServers": {
"easyeda-pro": {
"command": "cmd",
"args": ["/c", "npx", "-y", "@vlabsoftware/easyeda-pro-mcp"]
}
}
}VS Code
Click Install in VS Code, or create .vscode/mcp.json in your workspace (or run MCP: Open User Configuration from the Command Palette) and open GitHub Copilot Chat in Agent mode:
{
"servers": {
"easyeda-pro": {
"type": "stdio",
"command": "npx",
"args": ["-y", "@vlabsoftware/easyeda-pro-mcp"]
}
}
}{
"servers": {
"easyeda-pro": {
"type": "stdio",
"command": "cmd",
"args": ["/c", "npx", "-y", "@vlabsoftware/easyeda-pro-mcp"]
}
}
}Antigravity
Run npx -y @vlabsoftware/easyeda-pro-mcp setup --client antigravity, or add easyeda-pro to ~/.gemini/config/mcp_config.json, then click Refresh in Additional Options (...) -> MCP Servers:
{
"mcpServers": {
"easyeda-pro": {
"command": "npx",
"args": ["-y", "@vlabsoftware/easyeda-pro-mcp"]
}
}
}{
"mcpServers": {
"easyeda-pro": {
"command": "cmd",
"args": ["/c", "npx", "-y", "@vlabsoftware/easyeda-pro-mcp"]
}
}
}Generic MCP Clients
Any client that supports local stdio MCP servers (Windsurf, Cline, Zed, Gemini CLI, JetBrains AI Assistant, etc.) can launch npx -y @vlabsoftware/easyeda-pro-mcp (or cmd /c npx -y @vlabsoftware/easyeda-pro-mcp on Windows).
- Windsurf:
~/.codeium/windsurf/mcp_config.json(supported natively bynpx -y @vlabsoftware/easyeda-pro-mcp setup --client windsurf). - Local repository build (contributors): Run
npm install && npm run setup:local && npm run setup:clientsfrom a cloned checkout to configure clients withnode /absolute/path/to/easyeda_mcp/dist/index.js.
Environment Variables
The WebSocket bridge binds to 127.0.0.1:8765 by default. Change these variables only if you also update extension/src/bridgeConfig.ts and rebuild the .eext package:
| Variable | Default | Description |
|---|---|---|
EASYEDA_MCP_WS_HOST | 127.0.0.1 | Local WebSocket bind address for the extension bridge |
EASYEDA_MCP_WS_PORT | 8765 | Local WebSocket port for the extension bridge |
Verify Connection
With your AI client running and the EasyEDA Pro Extension connected to an open schematic or PCB:
Run easyeda_doctor and summarize the bridge status.
Run easyeda_get_context and tell me which document is open.If tools do not appear or connected is false, see Troubleshooting.