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.

已驗證STDIO僅桌面開發者工具資料與分析

概覽

AI 產生的概覽

面向 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 憑證。另提供桌面應用程式與本機網頁儀表板。
安裝前請注意
寫入模式與製造模式會修改設計並產生製造輸出,專案方聲明在打樣或組裝前必須由合格人員人工複核。模擬結果為粗略的閉式估算,不能取代正式簽核。遙測預設關閉但可選擇開啟。quickstart 指令會修改助理設定,修改前會先備份。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 KiCad MCP Pro,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

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

FieldValue
Canonical repositoryoaslananka/kicad-mcp-pro
PyPI packagekicad-mcp-pro
npm wrapperkicad-mcp-pro
MCP Registry nameio.github.oaslananka/kicad-mcp-pro
Version4.9.0
OSS maturity reportdocs/repo-maturity-report.md
OpenSSF evidencedocs/openssf-evidence.md

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

bash
uvx kicad-mcp-pro quickstartuvx kicad-mcp-pro trayuvx kicad-mcp-pro dashboard --openuvx kicad-mcp-pro --transport streamable-http --port 3334

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

bash
uvx kicad-mcp-pro dashboard --host 127.0.0.1 --port 3334 --open# http://127.0.0.1:3334/ui

Documentation

The documentation is organized from setup to operation:

  1. Installation
  2. Client configuration
  3. Runtime configuration
  4. Tool reference
  5. Workflows
  6. Release process
  7. Security and privacy
  8. KiCad capability parity — how much of KiCad's programmatic surface this server drives
  9. Error code catalog — stable error codes, retry classes, and recovery
  10. 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.

bash
uvx kicad-mcp-pro --transport streamable-http --host 127.0.0.1 --port 3334

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:

bash
uvx kicad-mcp-pro --helpnpx kicad-mcp-pro --help

Fresh source checkout on supported Linux hosts:

bash
./scripts/bootstrap-dev.shsource .dev-env.shpnpm run dev:doctor -- --ci

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:

bash
uvx kicad-mcp-pro quickstart

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.

FilePurpose
plugin.json, mcp.jsonGenerated portable plugin package with canonical skills and a version-pinned local MCP launcher.
.claude-plugin/plugin.jsonProduct-level plugin manifest for compatible agent runtimes and marketplace catalogs.
.mcp.jsonClaude Code project-local MCP server configuration.
.codex/config.example.tomlCodex CLI MCP configuration example.
.vscode/mcp.example.jsonVS Code / GitHub Copilot workspace MCP configuration example.
integrations/opencode/opencode.example.jsonOpenCode project MCP configuration example.
.opencode/skills/OpenCode-native mirrored skill definitions.
docs/agent-runtime-config.mdAgent runtime setup and validation matrix.
skills/kicad-design-review/SKILL.mdComprehensive KiCad design review skill.
skills/pcb-design/SKILL.mdPCB design, layout inspection, placement, routing, stackup, and board-quality workflow.
skills/drc-check/SKILL.mdERC/DRC execution, triage, waiver review, and revalidation workflow.
skills/fabrication-output/SKILL.mdManufacturing export, DFM, release evidence, and fabrication-package workflow.
skills/schematic-review/SKILL.mdSchematic inspection, ERC, connectivity, power, symbol, and readability workflow.

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:

bash
uvx kicad-mcp-pro --transport stdiouvx kicad-mcp-pro --transport streamable-http --host 127.0.0.1 --port 3334npx kicad-mcp-pro --help

For source checkouts, run the normal repository validation path before publishing plugin changes:

bash
corepack pnpm run metadata:checkpython3 -m json.tool .claude-plugin/plugin.json >/dev/null

Validation workflow

Before listing this plugin as active from agent-tools, verify at least one compatible agent runtime can:

  1. Discover .claude-plugin/plugin.json.
  2. Launch or connect to kicad-mcp-pro over stdio or Streamable HTTP.
  3. Call kicad_get_server_info or kicad_get_project_info.
  4. Load a skill from skills/ and follow the workflow without referencing missing tools.
  5. 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:

bash
task install     # Install all dependencies (pnpm + uv)task verify      # Run the local quality gate: lint → format → typecheck → test → buildtask test        # Run unit tests onlytask lint        # Run lint and metadata checkstask format      # Auto-format the codebasetask typecheck   # Run strict static type checkingtask build       # Build release artifactstask ci          # Run the local equivalent of the full CI pipelinetask hooks       # Install repository-pinned Lefthook git hooks

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):

bibtex
@software{aslan_kicad_mcp_pro,  author  = {Aslan, Osman},  title   = {KiCad MCP Pro},  license = {MIT},  url     = {https://github.com/oaslananka/kicad-mcp-pro},  doi     = {10.5281/zenodo.21283791}}

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
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

19
  1. v4.9.0最新Nov 7, 2026
  2. v4.8.0Nov 6, 2026
  3. v4.7.0Nov 4, 2026
  4. v4.6.1Nov 1, 2026
  5. v4.5.0Oct 30, 2026
  6. v4.4.0Oct 24, 2026
  7. v4.3.0Oct 11, 2026
  8. v4.2.0Oct 11, 2026
  9. v4.1.0Oct 9, 2026
  10. v4.0.2Oct 8, 2026
  11. v4.0.1Oct 6, 2026
  12. v4.0.0Oct 5, 2026
  13. v3.37.0Oct 2, 2026
  14. v3.36.0Oct 2, 2026
  15. v3.35.2Sep 29, 2026
  16. v3.35.1Sep 28, 2026
  17. v3.35.0Sep 24, 2026
  18. v3.34.8Sep 21, 2026
  19. v3.34.6Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分