Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"jlceda": {
"env": {
"GATEWAY_WS_URL": "ws://127.0.0.1:18800/ws/bridge",
"ANTHROPIC_API_KEY": "sk-ant-..."
},
"args": [
"<path-to>/jlceda-mcp-server/dist/index.js"
],
"command": "node"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
嘉立创 EDA MCP Server — 让 AI 编程助手直接操控嘉立创 EDA 的 PCB 自动化工具集。
Run this in your terminal to verify the server starts. Then let us know if it worked — your result helps other developers.
npx -y 'npm' 2>&1 | head -1 && echo "✓ Server started successfully"
After testing, let us know if it worked:
Five weighted categories — click any category to see the underlying evidence.
Packing does not respect root-level ignore files in workspaces
### Impact `npm pack` ignores root-level `.gitignore` & `.npmignore` file exclusion directives when run in a workspace or with a workspace flag (ie. `--workspaces`, `--workspace=<name>`). Anyone who has run `npm pack` or `npm publish` with workspaces, as of [v7.9.0](https://github.com/npm/cli/releases/tag/v7.9.0) & [v7.13.0](https://github.com/npm/cli/releases/tag/v7.13.0) respectively, may be affected and have published files into the npm registry they did not intend to include. ### Patch - Up
Incorrect Permission Assignment for Critical Resource in NPM
An issue was discovered in an npm 5.7.0 2018-02-21 pre-release (marked as "next: 5.7.0" and therefore automatically installed by an "npm upgrade -g npm" command, and also announced in the vendor's blog without mention of pre-release status). It might allow local users to bypass intended filesystem access restrictions because ownerships of /etc and /usr directories are being changed unexpectedly, related to a "correctMkdir" issue.
Local Privilege Escalation in npm
Affected versions of `npm` use predictable temporary file names during archive unpacking. If an attacker can create a symbolic link at the location of one of these temporary file names, the attacker can arbitrarily write to any file that the user which owns the `npm` process has permission to write to, potentially resulting in local privilege escalation. ## Recommendation Update to version 1.3.3 or later.
npm CLI exposing sensitive information through logs
Versions of the npm CLI prior to 6.14.6 are vulnerable to an information exposure vulnerability through log files. The CLI supports URLs like `<protocol>://[<user>[:<password>]@]<hostname>[:<port>][:][/]<path>`. The password value is not redacted and is printed to stdout and also to any generated log files.
npm Vulnerable to Global node_modules Binary Overwrite
Versions of the npm CLI prior to 6.13.4 are vulnerable to a Global node_modules Binary Overwrite. It fails to prevent existing globally-installed binaries to be overwritten by other package installations. For example, if a package was installed globally and created a `serve` binary, any subsequent installs of packages that also create a `serve` binary would overwrite the first binary. This will not overwrite system binaries but only binaries put into the global node_modules directory. This b
Click any tool to inspect its schema.
Be the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in other
Pi Coding Agent extension (CLI-first) — routes bash/read/grep/find/ls through lean-ctx CLI for strong token savings. Optional MCP bridge can register advanced tools.
Compress tool outputs, logs, files, and RAG chunks before they reach the LLM. 60-95% fewer tokens, same answers. Library, proxy, MCP server.
97% token reduction for AI coding sessions — zero deps, 21 languages, MCP server
Autonomous spec-to-product coding-agent CLI with an MCP server exposing 34 tools over stdio.
MCP Security Weekly
Get CVE alerts and security updates for Jlcmcp and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
嘉立创 EDA MCP Server — 让 AI 编程助手直接操控嘉立创 EDA 的 PCB 自动化工具集。
通过 Model Context Protocol 暴露 39 个 PCB/原理图工具,在 Claude Code / Cursor / Windsurf 等 AI IDE 中直接执行元件移动、走线、铺铜、DRC 等操作。内置 PCB Agent 可自主编排多步操作完成复杂任务。
AI IDE ──stdio──> mcp-server ──WebSocket──> gateway ──> jlc-bridge 插件 ──> 嘉立创 EDA
MCP server 通过 stdio 与 AI IDE 通信,内部维护 WebSocket 连接到 gateway 的 /ws/bridge 端点,转发命令给 jlc-bridge 插件控制 EDA 编辑器。
本仓库包含两个组件:
src/ — MCP Server(Node.js,39 个 PCB/原理图工具 + Agent)jlc-bridge/ — 嘉立创 EDA 扩展插件(运行在 EDA 内部,执行实际操作)npm install
npm run build
在你的项目目录下创建 .mcp.json:
{
"mcpServers": {
"jlceda": {
"command": "node",
"args": ["<path-to>/jlceda-mcp-server/dist/index.js"],
"env": {
"GATEWAY_WS_URL": "ws://127.0.0.1:18800/ws/bridge",
"ANTHROPIC_API_KEY": "sk-ant-..."
}
}
}
}
配置完成后重启 AI IDE,即可在对话中使用所有工具。
| 变量 | 默认值 | 说明 |
|---|---|---|
GATEWAY_WS_URL | ws://127.0.0.1:18800/ws/bridge | Gateway WebSocket 地址 |
ANTHROPIC_API_KEY | — | Anthropic API Key(设置后启用 pcb_agent 工具) |
AGENT_MODEL | claude-sonnet-4-20250514 | Agent 使用的模型 |
| 工具 | 说明 |
|---|---|
pcb_get_state | 获取 PCB 完整状态(元件、网络、板框) |
pcb_screenshot | 截取编辑器截图(base64 PNG) |
pcb_run_drc | 运行 PCB 设计规则检查 |
pcb_get_tracks | 查询走线段,可按网络/层过滤 |
pcb_get_pads | 查询焊盘信息,可按位号过滤 |
pcb_get_net_primitives | 查询指定网络的所有图元 |
pcb_get_board_info | 获取工程信息 |
pcb_get_feature_support | 查询 bridge 支持的功能列表 |
pcb_ping | 检查 bridge 连接状态 |
| 工具 | 说明 |
|---|---|
pcb_move_component | 移动元件到指定坐标 |
pcb_relocate_component | 安全搬迁元件(自动断开走线) |
pcb_batch_move | 批量移动多个元件 |
pcb_select_component | 在编辑器中选中元件 |
pcb_delete_selected | 删除当前选中的对象 |
pcb_create_component | 从库中放置元件到 PCB |
| 工具 | 说明 |
|---|---|
pcb_route_track | 画走线(指定网络、路径点、层、线宽) |
pcb_create_via | 创建过孔 |
pcb_delete_tracks | 删除走线 |
pcb_delete_via | 删除过孔 |
| 工具 | 说明 |
|---|---|
pcb_create_copper_pour | 创建矩形铺铜区域 |
pcb_delete_pour | 删除铺铜 |
pcb_create_keepout | 创建矩形禁布区 |
pcb_delete_keepout | 删除禁布区 |
| 工具 | 说明 |
|---|---|
pcb_get_silkscreens | 查询所有丝印文字 |
pcb_move_silkscreen | 移动丝印 |
pcb_auto_silkscreen | 自动排列丝印(避免重叠) |
| 工具 | 说明 |
|---|---|
pcb_create_diff_pair | 创建差分对 |
pcb_list_diff_pairs | 列出所有差分对 |
pcb_delete_diff_pair | 删除差分对 |
pcb_create_equal_length | 创建等长组 |
pcb_list_equal_lengths | 列出所有等长组 |
pcb_delete_equal_length | 删除等长组 |
| 工具 | 说明 |
|---|---|
sch_get_state | 读取原理图状态 |
sch_get_netlist | 导出网表 |
sch_run_drc | 运行原理图 DRC |
pcb_open_document | 切换到指定文档(原理图或 PCB) |
| 工具 | 说明 |
|---|---|
pcb_agent | 智能 Agent — 给出高层任务,自主编排多步操作完成(需 ANTHROPIC_API_KEY) |
| 工具 | 说明 |
|---|---|
calc_impedance | 计算走线阻抗,或根据目标阻抗反算线宽(微带线/带状线/差分) |
calc_trace_width | 根据载流要求计算最小走线宽度 (IPC-2221) |
所有坐标参数单位为 mil(密耳),与嘉立创 EDA bridge 一致。
├── src/ # MCP Server 源码
│ ├── index.ts # MCP 入口(stdio transport)
│ ├── bridge-client.ts # WebSocket 客户端,连接 gateway bridge
│ ├── calculators.ts # 阻抗/线宽纯计算函数
│ ├── agent.ts # PCB Agent 核心(工具注册表 + tool-use 循环)
│ └── tools/
│ ├── state.ts # 状态查询 (7)
│ ├── components.ts # 元件操作 (3)
│ ├── routing.ts # 走线/过孔 (4)
│ ├── copper-keepout.ts # 铺铜/禁布区 (4)
│ ├── silkscreen.ts # 丝印 (3)
│ ├── advanced.ts # 差分对/等长组 (4)
│ ├── schematic.ts # 原理图 (3)
│ ├── calculators.ts # 阻抗/线宽计算工具 (2)
│ └── agent.t
... [View full README on GitHub](https://github.com/hyl64/jlcmcp#readme)