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 分