Files
Clément SAILLANT c2addfd81d feat(hw): add schops tool for schematic operations and kicad-cli integration
- Introduced `kicad_cli.sh` for local and Docker-based kicad-cli execution.
- Created `schops.py` for schematic operations including ERC, BOM, netlist exports, and bulk edits.
- Added README.md for schops with installation and usage instructions.
- Included requirements.txt for necessary Python packages.
- Implemented rules engine for applying field defaults and renaming nets.
- Added tests for rules engine functionality.
- Introduced scope guard script to enforce file modification policies based on PR labels.
- Created watch script to monitor KiCad files and trigger hardware gate on changes.
2026-02-18 23:47:56 +01:00

36 lines
808 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# MCP setup (KiCad)
## Option A — Schematic MCP (recommended)
`kicad-sch-api` inclut un serveur MCP : `kicad-sch-mcp`. citeturn0search9
Installation :
```bash
pip install kicad-sch-api
# ou via uv
# uv tool install kicad-sch-mcp
```
Lancer le serveur (dans le repo) :
```bash
kicad-sch-mcp
```
Exemple (Claude Desktop) — à adapter selon ton OS :
```json
{
"mcpServers": {
"kicad_schematic": {
"command": "kicad-sch-mcp",
"args": []
}
}
}
```
## Option B — KiCad “live/PCB” MCP (expérimental)
Il existe des serveurs MCP orientés PCB / IPC API (dépend de ta version KiCad et du serveur choisi). citeturn0search1turn0search16
Dans ce repo, lapproche “robuste” reste :
- bulk edits schéma via `kicad-sch-api`
- exports/DRC via `kicad-cli`