easyeda-mcp
Enables MCP clients like Claude Code to control a running EasyEDA Pro instance for PCB design automation, including DRC checks, project management, and script execution via a bridge server.
README
easyeda-mcp
MCP server that controls a running EasyEDA Pro instance from Claude Code (or any MCP client), via JLCEDA's easyeda-api-skill bridge and the run-api-gateway extension.
Version 0.2.0
How it works
MCP client ⇄ (stdio) ⇄ easyeda-mcp ⇄ (HTTP, port 49620-49629) ⇄ bridge server ⇄ (WebSocket) ⇄ EasyEDA Pro
The bridge server and the EasyEDA-side extension are JLCEDA's published artifacts — this server wraps them with fast discovery (cached port, parallel scan, single round trip per call) and high-level tools so common actions are one tool call instead of hand-written scripts.
Tools
| Tool | What it does |
|---|---|
easyeda_execute |
Run arbitrary JS inside EasyEDA (async function(eda){...} body) |
easyeda_health / easyeda_start_bridge / easyeda_stop_bridge |
Bridge lifecycle (auto-starts on demand) |
easyeda_list_windows / easyeda_select_window |
Multi-window targeting |
easyeda_drc_get_rules |
Current DRC rule configuration + net/region/net-by-net rules (mm) |
easyeda_drc_set_rules |
Patch DRC rules via deep merge (see caveat below) |
easyeda_drc_check |
Run DRC, return the violation list |
easyeda_drc_net_classes |
Net classes & differential pairs: list/create/delete/add/remove |
easyeda_get_state |
One-call orientation: project, board, PCB, schematic, DRC config |
easyeda_open_project |
Open a project by (partial) name |
easyeda_save |
Save open PCB/schematic documents |
Setup
- Install the easyeda-api-skill bridge and the
run-api-gateway.eextextension in EasyEDA Pro (enable its External Interactions permission). - Point this server at the bridge script if it's not at the default path:
EASYEDA_BRIDGE_SCRIPT=/path/to/bridge-server.mjs - Register with your MCP client, e.g. for Claude Code:
{
"mcpServers": {
"easyeda": { "command": "node", "args": ["/path/to/easyeda-mcp/index.mjs"] }
}
}
Known limitation: global DRC rule writes
EasyEDA Pro v2.2.47.x has an engine bug: the BETA overwriteCurrentRuleConfiguration() API deadlocks and saveRuleConfiguration() is non-functional. easyeda_drc_set_rules therefore fast-fails global config writes (~5s) with guidance, while per-net, region, and net-by-net rule writes work fully. If a newer EasyEDA build fixes the API, the fast-fail can be removed.
Development
npm run smoke # spawns the server, checks tool registration + health
node --test test/deep-merge.test.mjs # unit tests
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.