KiCad MCP Pro
io.github.oaslananka由 GitHub 账号 oaslananka 发布v4.9.0更新于 Nov 7, 2026
Production-grade MCP server for KiCad EDA—PCB design, DRC, simulation, BOM, DFM, and manufacturing.
概览
面向 KiCad EDA 的 MCP 服务器,让助手检查原理图与 PCB、运行 ERC/DRC、做 DFM 检查并导出制造文件。
- 可以做什么
- 检查原理图与 PCB:读取项目与服务器信息,审阅连接性、符号、布局、布线与叠层
- 验证设计:调用 KiCad 自带的 ERC 与 DRC,分类结果并复核豁免项
- 性能估算:提供一阶的信号完整性、电源完整性、EMC 与热分析计算
- 准备制造:DFM 检查、制造导出与发布证据
- 查找元件:默认查询 JLCPCB 公开目录,配置凭据后可用 Nexar、DigiKey 与 Mouser
- 按工作流领域报告对 KiCad 可编程接口的覆盖情况
- 适用场景
- 适合让 AI 助手参与 KiCad 电子设计工作:首轮原理图与布局评审、ERC/DRC 结果分类、DFM 检查或整理制造文件包。默认以只读评审配置启动,也适合只做评审的谨慎场景。
- 运行要求
- 以 stdio 本地进程运行,可通过 uvx、npx 或 Docker 启动,并需要本机安装 KiCad 以调用其引擎。可选环境变量包括 KICAD_MCP_LOG_LEVEL 与 KICAD_MCP_PRO_PYPI_VERSION;从 Nexar、DigiKey 或 Mouser 采购元件需配置各自的 API 凭据。另提供桌面应用与本地网页仪表盘。
安装
在 SourceWeft 中
- 打开 控制台中的 KiCad MCP Pro,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
KiCad MCP Pro
Drive KiCad schematic, PCB, DRC/ERC, DFM, and manufacturing review from any MCP-capable AI agent.
Documentation · Installation · Quick Start · Tool Reference · AI Agent Setup · AI discovery · Ask DeepWiki
[PyPI Version] [npm Version] [Python Version] [MIT License] [DOI] [GitGem]
[CI] [GUI CI] [CodeQL] [OpenSSF Scorecard] [OpenSSF Best Practices: Passing]
KiCad MCP Pro is a Model Context Protocol server for KiCad EDA workflows. It exposes tools, resources, and prompts for schematic, PCB, validation, DFM, and manufacturing export automation.
The server now starts with the bounded default profile: 24 read-only review tools instead of the complete expert catalog. Use build with write mode for controlled edits, release with manufacturing mode for human-gated handoff, or expert/full only for advanced trusted clients. Current catalog counts and context-size estimates come from docs/evidence/progressive-disclosure-profile-snapshot.json; see docs/agents/progressive-disclosure.md.
Telemetry and error reporting are disabled by default. Opt-in OpenTelemetry
configuration is documented in
docs/configuration.md, and privacy rules
are documented in docs/privacy.md.
Scope and honesty
KiCad MCP Pro is a professional first-pass design and review assistant, not an
automated sign-off authority. ERC/DRC and the export pipeline drive KiCad's own
engines. The signal-integrity, power-integrity, EMC, and thermal tools are
first-order, closed-form estimates (typically ~5–10% accuracy) — fast first-pass
review, not a substitute for a 2D/3D field solver, EM/FEA simulation, or formal
sign-off. Live component sourcing uses the JLCPCB public catalog by default; Nexar,
DigiKey, and Mouser are available only when their API credentials are configured. What
fraction of KiCad's programmatic surface the server drives is tracked openly in the
capability-parity matrix. Raw tool count and
capability coverage are inventory metrics, not the headline product-quality measure. End-to-end
task outcome, mutation recovery, corruption, required DRC execution, and manufacturing
reproducibility are the outcome KPIs. The committed
native-live example evidence
intentionally reports insufficient_evidence; representative-corpus target attainment remains
separate until the qualification work in #730 is complete.
Project identity
Quick Start
Desktop App
Download the latest installer from the
GitHub releases page.
The Tauri desktop app starts the Python dashboard server automatically and opens
the GUI at http://127.0.0.1:3334/ui. Desktop releases launch the matching exact
backend version and verify its desktop compatibility handshake before use; see
Installation.
CLI
KiCad PCB Editor Companion (development preview)
The existing KiCad PCM Companion is being upgraded to a KiCad 10 IPC toolbar plugin in packages/kicad-plugin/. It reads the active PCB and links to the existing local dashboard. The IPC upgrade is read-only; live desktop acceptance and release are pending.
Web Dashboard
Documentation
The documentation is organized from setup to operation:
- Installation
- Client configuration
- Runtime configuration
- Tool reference
- Workflows
- Release process
- Security and privacy
- KiCad capability parity — how much of KiCad's programmatic surface this server drives
- Error code catalog — stable error codes, retry classes, and recovery
- Work-order audit — current status of the hardening work order
The kicad_capability_parity() tool reports, per workflow domain, what fraction of
KiCad's programmatically reachable surface this server can drive (currently 76.6%),
keeping genuine gaps distinct from gui-only-no-api items that KiCad exposes no
headless API for.
The published documentation site is available at https://oaslananka.github.io/kicad-mcp-pro/.
Transports
KiCad MCP Pro supports stdio and Streamable HTTP. Streamable HTTP is served at
/mcp by default and can be moved with KICAD_MCP_MOUNT_PATH.
Streamable HTTP clients must send Accept: application/json, text/event-stream and
Content-Type: application/json. The primary public MCP contract is
2026-07-28: modern clients send MCP-Protocol-Version: 2026-07-28, the
method/name transport headers required by the final protocol, and the per-request
client metadata envelope.
Backward-compatible 2025-11-25 clients remain supported through the SDK's
legacy initialize negotiation. Those clients echo the negotiated protocol
version on follow-up requests and, when KICAD_MCP_STATEFUL_HTTP=1, also echo
MCP-Session-Id. Final 2026-07-28 traffic is stateless and does not create MCP
sessions.
The deprecated HTTP+SSE fallback routes are disabled by default. Set
KICAD_MCP_LEGACY_SSE=1 only for older clients that cannot use Streamable HTTP.
Install
Published packages:
Fresh source checkout on supported Linux hosts:
The repository bootstrap installs checksum-pinned Python, uv/uvx, Node.js,
pnpm, Task, and Rust tooling into ignored checkout-local roots and performs
frozen dependency installation. It does not modify global tool directories.
See the reproducible bootstrap guide
for --core-only, --check, cleanup, upgrade, and KiCad capability modes.
Package metadata
The canonical metadata inputs are pyproject.toml for package version and repository identity, and compatibility.yaml for KiCad and MCP support policy. server.json is the generated registry manifest. pnpm run metadata:sync renders the public surfaces, and pnpm run metadata:check verifies them in CI and release validation.
Fast local setup
Open a terminal in a KiCad project directory and run:
This detects a supported local agent, configures its MCP entry in read-only mode, installs bundled skills where supported, backs up existing settings, and verifies the saved launch command over stdio. Cloud login is optional and is not required for local use. See the installation guide for details and explicit agent selection.
Usage
Use kicad-mcp-pro --help to inspect CLI commands and
docs/client-configuration.md to configure an
MCP client. The generated tool catalog is available in
docs/tools-reference.generated.md.
Agent plugin and skills
This repository owns the product-level agent plugin and KiCad-specific skills for
KiCad MCP Pro. The central agent-tools
repository should catalog this plugin, but the manifest and workflow instructions live
here so they stay synchronized with the actual MCP server tools.
Agent setup
KiCad MCP Pro can be launched with the published Python package, npm wrapper, or the
container metadata declared in server.json. Common local starts are:
For source checkouts, run the normal repository validation path before publishing plugin changes:
Validation workflow
Before listing this plugin as active from agent-tools, verify at least one compatible
agent runtime can:
- Discover
.claude-plugin/plugin.json. - Launch or connect to
kicad-mcp-prooverstdioor Streamable HTTP. - Call
kicad_get_server_infoorkicad_get_project_info. - Load a skill from
skills/and follow the workflow without referencing missing tools. - Report ERC, DRC, DFM, export artifacts, assumptions, and human-review requirements separately.
KiCad MCP Pro is an engineering assistant, not an autonomous manufacturing sign-off authority. Generated PCB and fabrication outputs require qualified human review before fabrication or assembly.
Development
New contributors should start with ARCHITECTURE.md, which maps
the five layers (transport → MCP protocol → orchestration → KiCad adapter seam →
pure domain) and shows exactly how to add a new tool. The runtime model and
quality-gate stack are documented in
docs/development/architecture.md.
The project uses a Taskfile.yml for common development commands. After
cloning the repository:
All changes must pass task verify before opening a pull request.
Contributing
Read CONTRIBUTING.md before opening a pull request. All
changes must pass the repository's format, lint, type-check, test, workflow,
security, and package metadata gates.
Independent industry coverage
- JLCPCB (October 14, 2026) — KiCad MCP: How to Design a PCB with Claude Code documents a hands-on KiCad MCP Pro workflow for an XL4015/LM358 buck-converter design, including checks and limitations. The board was not fabricated or bench-tested. This is independent coverage, not a JLCPCB endorsement or partnership; reported issues are being evaluated in #1314.
Cite this software
If you use KiCad MCP Pro in research or a technical publication, cite the
archived release via its DOI (see CITATION.cff for full
metadata):
Every GitHub release is archived on Zenodo under this concept DOI, which always resolves to the most recent version.
License
KiCad MCP Pro is available under the MIT License.
来源:README.md,提交 b1693de
工具
0版本历史
19- v4.9.0最新Nov 7, 2026
- v4.8.0Nov 6, 2026
- v4.7.0Nov 4, 2026
- v4.6.1Nov 1, 2026
- v4.5.0Oct 30, 2026
- v4.4.0Oct 24, 2026
- v4.3.0Oct 11, 2026
- v4.2.0Oct 11, 2026
- v4.1.0Oct 9, 2026
- v4.0.2Oct 8, 2026
- v4.0.1Oct 6, 2026
- v4.0.0Oct 5, 2026
- v3.37.0Oct 2, 2026
- v3.36.0Oct 2, 2026
- v3.35.2Sep 29, 2026
- v3.35.1Sep 28, 2026
- v3.35.0Sep 24, 2026
- v3.34.8Sep 21, 2026
- v3.34.6Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分