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 分