codex-kicad-mcp
v0.2.1A safe, read-first MCP server for KiCad workflows in Codex.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
kicad_cli_version
Return the installed kicad-cli version without touching project files.
list_kicad_projects
List KiCad project files under the configured workspace.
inspect_project
Return a read-only inventory of a KiCad project's related files.
| Parameter | Type | Description |
|---|---|---|
project * | string |
project_summary
Return safe metadata from a KiCad project JSON and related files.
| Parameter | Type | Description |
|---|---|---|
project * | string |
read_schematic
Read schematic symbol instances, labels, wires, and sheet metadata.
| Parameter | Type | Description |
|---|---|---|
project * | string |
read_hierarchy
Read the schematic sheet hierarchy, sheet pins, and labels.
| Parameter | Type | Description |
|---|---|---|
project * | string |
read_buses
Read bus geometry, range labels, and bus entry endpoints.
| Parameter | Type | Description |
|---|---|---|
project * | string |
read_netlist
Export a structured KiCad netlist through kicad-cli and parse it.
| Parameter | Type | Description |
|---|---|---|
project * | string |
read_bom
Export a BOM through kicad-cli and return normalized rows.
| Parameter | Type | Description |
|---|---|---|
project * | string |
read_pcb
Read PCB layers, nets, footprints, tracks, and board outline metadata.
| Parameter | Type | Description |
|---|---|---|
project * | string |
read_board_metrics
Read board size, copper totals, and object counts from the PCB.
| Parameter | Type | Description |
|---|---|---|
project * | string |
read_layer_stackup
Read the embedded stackup or derive a layer list when absent.
| Parameter | Type | Description |
|---|---|---|
project * | string |
read_zones
Read copper zones, their polygons, areas, and nets.
| Parameter | Type | Description |
|---|---|---|
project * | string |
read_vias
Read vias with position, drill, layers, and net metadata.
| Parameter | Type | Description |
|---|---|---|
project * | string |
run_kicad_cli_check
Run a read-only KiCad CLI ERC/DRC check for a project.
| Parameter | Type | Description |
|---|---|---|
project * | string | |
check | string |
analyze_power_rails
Analyze supply-rail source, consumer, conflict, and ground-short risks.
| Parameter | Type | Description |
|---|---|---|
project * | string | |
rails |
check_decoupling
Check capacitor connectivity, placement, sharing, and bulk coverage.
| Parameter | Type | Description |
|---|---|---|
project * | string | |
near_pin_mm | number |
cross_probe
Correlate one reference, value, net, or label across schematic and PCB.
| Parameter | Type | Description |
|---|---|---|
project * | string | |
query * | string |
compare_schematic_pcb
Compare netlist components, pins, and nets with the PCB.
| Parameter | Type | Description |
|---|---|---|
project * | string |
run_design_review
Run the selected power, parity, SI, manufacturing, and layout reviews.
| Parameter | Type | Description |
|---|---|---|
project * | string | |
checks | ||
minimum_track_width_mm | ||
near_pin_mm | number | |
rails |
analyze_signal_integrity
Analyze PCB routes for uncontrolled layer changes and dangling stubs.
| Parameter | Type | Description |
|---|---|---|
project * | string |
analyze_board_density
Measure object occupancy on a caller-configurable board grid.
| Parameter | Type | Description |
|---|---|---|
project * | string | |
cell_size_mm | number | |
high_density_ratio | number |
check_fabrication_readiness
Check board geometry, courtyards, drills, and footprint assignments.
| Parameter | Type | Description |
|---|---|---|
project * | string |
preview_write
Dry-run a controlled edit and return diffs plus a confirm token.
| Parameter | Type | Description |
|---|---|---|
op * | string | |
project * | string | |
params |
confirm_write
Execute a previewed write under lock, snapshot, and validation.
| Parameter | Type | Description |
|---|---|---|
confirm_token * | string | |
plan_hash * | string | |
project * | string | |
snapshot_id * | string |
rollback_snapshot
Restore every file captured in a write snapshot.
| Parameter | Type | Description |
|---|---|---|
project * | string | |
snapshot_id * | string |
list_snapshots
List write snapshots, newest first, optionally per project.
| Parameter | Type | Description |
|---|---|---|
project |
get_write_audit
Read the append-only write audit log (optionally per project).
| Parameter | Type | Description |
|---|---|---|
limit | integer | |
project |