Jlcmcp

Agent frameworks and SDKs

嘉立创 EDA MCP Server(官方栈版), 59 个工具:PCB/原理图自动化 + 自动布局/布线/DRC自修复/设计健康报告 等高级功能,基于官方 Run API Gateway + easyeda-api-skill.

Your AI app calls the Jlcmcp MCP server, which does the agent frameworks and SDKs work and sends the result back to the chat.

About Jlcmcp

Jlcmcp is a community MCP server from hyl64, filed in our directory under agent frameworks and sdks. 嘉立创 EDA MCP Server(官方栈版), 59 个工具:PCB/原理图自动化 + 自动布局/布线/DRC自修复/设计健康报告 等高级功能,基于官方 Run API Gateway + easyeda-api-skill.

At a glance

Publisher
hyl64 (community)
Runs
See the README for setup
Written in
TypeScript
License
MIT
GitHub stars
293

How to set up Jlcmcp

  1. Follow the install steps in the Jlcmcp README; it is written in TypeScript, so have that toolchain ready.
  2. Check the Jlcmcp README for keys or settings; the registry lists none that Jlcmcp requires.
  3. Add Jlcmcp to Claude Code, Claude Desktop, VS Code or Cursor with the config in the setup box on this page.
  4. Restart the app or reload its MCP servers, then ask it to list the Jlcmcp tools to confirm the connection.
  5. Run one read-only task with Jlcmcp first, and keep your app asking before each tool call until the results look right.

Jlcmcp compared with similar servers

  • Freecad Addon Robust by spkane has fewer GitHub stars than Jlcmcp (282 against 293); both are community servers, and both run locally.
  • 1flowbase by taichuy has more GitHub stars than Jlcmcp (294 against 293); both are community servers, and both run locally.
  • Speakeasy Platform by speakeasy-api has fewer GitHub stars than Jlcmcp (282 against 293); both are community servers, and Speakeasy Platform runs as a remote server and Jlcmcp runs on your own machine.

Before you connect Jlcmcp

  • Give Jlcmcp its own API key or account with the smallest permissions the job needs, never an admin key.
  • Keep your AI app asking before each Jlcmcp tool call until you trust what it does with them.
  • Treat text that Jlcmcp fetches as data. Pages, files and messages can hold instructions written to steer an AI.
  • Read the open issues for Jlcmcp on GitHub to see what breaks and how fast the maintainers reply.

Marketing use cases for Jlcmcp

How marketing and sales teams put Jlcmcp to work, by company size. Pick the size closest to yours and start Jlcmcp on one use case.

Small business

  • A small business with a developer can use Jlcmcp to build one focused agent, such as lead follow-up, without a big platform.
  • Technical founders can prototype marketing agents with Jlcmcp and keep what works as a small, owned tool.
  • Jlcmcp runs on your own computer, which keeps data local; it needs a little setup, so a small team should plan an hour for it.

Mid-market

  • Growth engineering teams can use Jlcmcp to build agents that combine CRM, analytics and content tools behind one workflow.
  • Marketing ops can standardize on Jlcmcp so every agent they ship has the same logging, approvals and error handling.
  • Start Jlcmcp on one workflow with one owner, measure the time it saves, then roll it out to the wider team.

Enterprise

  • Enterprises can build on Jlcmcp with their own identity, policy and evaluation layers, so agents meet the same bar as other software.
  • Platform teams can use Jlcmcp to give business units a governed way to ship agents without each one starting from scratch.
  • Jlcmcp is a community server, so have security review the code and pin a version before Jlcmcp touches company data.

Need help becoming an AI-forward company?

We connect MCP servers and AI agents to your CRM, content and data, with the guardrails your team needs.

Contact us

Jlcmcp README

From hyl64/jlcmcp on GitHub, shared under its MIT license. Images are left out; the original has them.

README.md

jlceda-mcp-server(官方栈迁移版)

嘉立创 EDA MCP Server, 让 AI 编程助手直接操控嘉立创 EDA 专业版的 PCB/原理图自动化工具集。

v1.0 已完整迁移到官方 JLC AI 栈:不再依赖自研 WebSocket 协议与自研插件,改为 Run API Gateway 扩展(EDA 侧)

  • easyeda-api-skill Bridge Server(协议侧)。 MCP Server 把每个工具动作编译成 eda.* 官方 API 代码,通过官方 Bridge Server 在 EDA 内执行。

架构

AI IDE ──stdio(MCP)──> mcp-server ──HTTP /execute──> 官方 Bridge Server(49620-49629)
                                                        │ WS /eda(握手 easyeda-bridge)
                                                        ▼
                                               Run API Gateway 扩展 ──> 嘉立创EDA专业版
  • MCP server(本仓库)通过 stdio 与 AI IDE 通信;
  • 官方 Bridge Server(scripts/bridge-server.mjs,来自 easyeda-api-skill)自动发现/拉起, 监听端口 49620-49629,单例运行;
  • Run API Gateway 扩展在嘉立创EDA专业版内自动扫描端口并连接(需在扩展管理器中勾选 允许外部交互),接收 execute 消息以 new AsyncFunction('eda', code) 执行。

前置条件

安装 & 构建

npm install
npm run build        # tsc 编译
npm run port         # (可选)从 legacy-jlc-bridge 重新生成代码模板
npm run start:bridge # (可选)手动启动官方 Bridge Server;MCP server 也会自动拉起
npm run test:bridge  # 端到端协议冒烟测试(无需真实 EDA,内置 mock)

配置

在项目目录创建 .mcp.json:

{
  "mcpServers": {
    "jlceda": {
      "command": "node",
      "args": ["<path-to>/jlceda-mcp-server/dist/index.js"],
      "env": {
        "ANTHROPIC_API_KEY": "sk-ant-..."
      }
    }
  }
}

首次使用时先启动 Bridge Server(或让 MCP server 自动拉起),并在嘉立创EDA中确认 Run API Gateway 扩展已连接(顶部菜单出现 API Gateway)。

环境变量

变量 默认值 说明
GATEWAY_BASE_URL 自动扫描 显式指定官方 Bridge Server 地址(如 http://127.0.0.1:49620)
AUTO_SPAWN_BRIDGE true 未发现 Bridge Server 时自动拉起 scripts/bridge-server.mjs
BRIDGE_SERVER_PATH scripts/bridge-server.mjs 自定义 Bridge Server 路径
KILL_BRIDGE_ON_EXIT 0 退出时是否结束自拉起的 Bridge Server(官方单例共享,默认不结束)
ANTHROPIC_API_KEY , Anthropic API Key(设置后启用 pcb_agent 工具)
AGENT_MODEL claude-sonnet-4-20250514 Agent 使用的模型

工具清单(59 个)

状态查询 (9)

pcb_get_state / pcb_screenshot / pcb_run_drc / pcb_get_tracks / pcb_get_pads pcb_get_net_primitives / pcb_get_board_info / pcb_get_feature_support / pcb_ping

元件操作 (6)

pcb_move_component / pcb_relocate_component / pcb_batch_move / pcb_select_component pcb_delete_selected / pcb_create_component

走线 / 过孔 (4)

pcb_route_track / pcb_create_via / pcb_delete_tracks / pcb_delete_via

铺铜 / 禁布区 (4)

pcb_create_copper_pour / pcb_delete_pour / pcb_create_keepout / pcb_delete_keepout

丝印 (3)

pcb_get_silkscreens / pcb_move_silkscreen / pcb_auto_silkscreen

高级约束 (6)

pcb_create_diff_pair / pcb_list_diff_pairs / pcb_delete_diff_pair pcb_create_equal_length / pcb_list_equal_lengths / pcb_delete_equal_length

原理图 / 文档 (4)

sch_get_state / sch_get_netlist / sch_run_drc / pcb_open_document

PCB Agent (1,需 ANTHROPIC_API_KEY)

pcb_agent, 智能 Agent,自主编排多步操作完成复杂任务

计算工具 (2)

calc_impedance / calc_trace_width

官方 Bridge 运维 (4,v1.0 新增)

pcb_bridge_status, Bridge Server 健康状态(EDA 连接数/活动窗口) pcb_list_eda_windows, 列出所有已连接 EDA 窗口 pcb_select_eda_window, 选择活动 EDA 窗口(多开时指定目标) pcb_execute_code, 在 EDA 内直接执行任意 eda.* 官方 API 代码(高级/调试)

坐标单位均为 mil。pcb_execute_code 与官方 easyeda-api-skill 用法一致: 代码以 return await eda.dmt_Project.getCurrentProjectInfo(); 形式返回结果。

高级功能 (6,v1.1 新增)

pcb_bom_export, 导出 PCB BOM(JSON + CSV,按元件名聚合数量/位号/网络) pcb_net_connectivity_check, 网络连通性检查(标记未布线/单焊盘网络) pcb_current_density_report, 各网络载流能力估算(IPC-2221),标记偏低网络 pcb_fanout_component, 为指定元件所有焊盘创建扇出过孔 pcb_auto_route_nets, 基础自动布线(L 型两层:顶层水平+底层垂直+过孔,需 DRC 复查) pcb_drc_autofix, DRC 自修复(当前支持丝印冲突自动排列),返回修复前后对比

高级功能 v2 (4,v1.2 新增)

pcb_component_clearance_check, 元件两两间距检查,标记低于阈值的违规对 pcb_route_differential_pairs, 差分对自动布线(正/负网络平行 L 型,报告等长偏差) pcb_design_health_report, 一键设计健康报告(BOM+连通性+载流+DRC+间距,READY/NEEDS_WORK/POOR 评分) pcb_auto_fanout_and_route, 流水线:全部元件扇出 → 全部网络自动布线 → DRC → 丝印自修复

高级功能 v3 (4,v1.3 新增)

pcb_auto_place_components, 自动布局:元件移动到焊盘质心(一阶优化) pcb_netlist_report, 从 PCB 焊盘生成网表报告(元件→引脚→网络 / 网络→元件) pcb_design_snapshot / pcb_design_diff, 设计快照与差异对比(新增/移除/移动) pcb_auto_route_nets 升级, 单层障碍规避布线(绕开焊盘+clearance)或两层 L 型(useVias) pcb_bom_export 升级, 支持 lcscCodes 料号映射(LCSC API 受保护无法自动查询)

高级功能 v4 (3,v1.4 新增)

sch_generate_from_netlist, 通过官方 sch_Netlist.setNetlist 导入网表生成原理图(EasyEDA/JLCEDA/Protel2/PADS/Allegro/DISA/DSNET) sch_generate_from_pcb, 一键:PCB 网表报告 → Protel2 网表 → 导入原理图生成 pcb_eprj3_project_info, .eprj3 工程检查器(目录/文件:索引、原理图/PCB/面板清单、源文件记录统计)

项目结构

├── src/
│   ├── index.ts            # MCP 入口(stdio)
│   ├── gateway-client.ts   # 官方 Bridge Server HTTP 客户端(发现/拉起/execute)
│   ├── bridge-client.ts    # 工具层接口(command(action, params)),基于 gateway-client
│   ├── codegen.ts          # 动作 → eda 代码编译(含 ping/select/delete 内联实现)
│   ├── codegen/generated.ts# 自动生成:32 个经典动作的代码模板(npm run port)
│   ├── agent.ts            # pcb_agent(Anthropic tool-use 循环)
│   ├── calculators.ts      # 阻抗/线宽计算
│   └── tools/              # 工具注册(state/components/routing/copper/silkscreen/advanced/schematic/gateway...)
├── scripts/
│   ├── bridge-server.mjs   # 官方 Bridge Server(vendored from easyeda/easyeda-api-skill)
│   ├── port-plugin.mjs     # legacy 插件 → codegen 模板移植工具
│   └── smoke-bridge.mjs    # 端到端协议冒烟测试(mock EDA,无需真实 EDA)
├── legacy-jlc-bridge/      # v0.1 自研插件(已弃用,仅存档)
└── package.json

验证

npm run build
npm run test:bridge   # 75 项协议级断言(无需 EDA)

迁移说明(v0.1 → v1.0)

  • EDA 侧:自研 jlc-bridge 插件 → 官方 Run API Gateway 扩展(无需维护插件代码)
  • 协议侧:自研 ws://127.0.0.1:18800/ws/bridge → 官方 Bridge Server(49620-49629,握手校验)
  • 工具侧:35 个动作处理器原样移植为官方 eda.* 代码模板(scripts/port-plugin.mjs 生成), MCP 工具接口与 v0.1 完全兼容
  • 新增:pcb_bridge_status / pcb_list_eda_windows / pcb_select_eda_window / pcb_execute_code

License

MIT

Questions about Jlcmcp

What is the Jlcmcp MCP server?

嘉立创 EDA MCP Server(官方栈版), 59 个工具:PCB/原理图自动化 + 自动布局/布线/DRC自修复/设计健康报告 等高级功能,基于官方 Run API Gateway + easyeda-api-skill. Jlcmcp is maintained by hyl64 on GitHub at hyl64/jlcmcp, and works with AI apps that support the Model Context Protocol, such as Claude, Cursor and VS Code.

How do I install the Jlcmcp MCP server?

Jlcmcp doesn't publish a one-line install in the MCP registry, so follow the setup steps in its README on GitHub (hyl64/jlcmcp). Like most servers, Jlcmcp ends with a command or URL you paste into your AI app's MCP config.

Does Jlcmcp need an API key?

The registry lists no required keys for Jlcmcp. Check the Jlcmcp README for optional settings, and expect a remote server to ask you to sign in the first time you connect.

Is Jlcmcp an official MCP server?

No. Jlcmcp is a community server maintained by hyl64. Community servers can be excellent; read the code and the open issues before you give Jlcmcp access to company data.

What license is Jlcmcp under?

Jlcmcp is released under the MIT license, according to its GitHub repository. The license covers the code of Jlcmcp; the service it connects to has its own terms.