codex-kicad-mcp

v0.2.1
codex-kicad-mcp Checked 1 day ago Published 2 months ago

A 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.

ParameterTypeDescription
project *string

project_summary

Return safe metadata from a KiCad project JSON and related files.

ParameterTypeDescription
project *string

read_schematic

Read schematic symbol instances, labels, wires, and sheet metadata.

ParameterTypeDescription
project *string

read_hierarchy

Read the schematic sheet hierarchy, sheet pins, and labels.

ParameterTypeDescription
project *string

read_buses

Read bus geometry, range labels, and bus entry endpoints.

ParameterTypeDescription
project *string

read_netlist

Export a structured KiCad netlist through kicad-cli and parse it.

ParameterTypeDescription
project *string

read_bom

Export a BOM through kicad-cli and return normalized rows.

ParameterTypeDescription
project *string

read_pcb

Read PCB layers, nets, footprints, tracks, and board outline metadata.

ParameterTypeDescription
project *string

read_board_metrics

Read board size, copper totals, and object counts from the PCB.

ParameterTypeDescription
project *string

read_layer_stackup

Read the embedded stackup or derive a layer list when absent.

ParameterTypeDescription
project *string

read_zones

Read copper zones, their polygons, areas, and nets.

ParameterTypeDescription
project *string

read_vias

Read vias with position, drill, layers, and net metadata.

ParameterTypeDescription
project *string

run_kicad_cli_check

Run a read-only KiCad CLI ERC/DRC check for a project.

ParameterTypeDescription
project *string
checkstring

analyze_power_rails

Analyze supply-rail source, consumer, conflict, and ground-short risks.

ParameterTypeDescription
project *string
rails

check_decoupling

Check capacitor connectivity, placement, sharing, and bulk coverage.

ParameterTypeDescription
project *string
near_pin_mmnumber

cross_probe

Correlate one reference, value, net, or label across schematic and PCB.

ParameterTypeDescription
project *string
query *string

compare_schematic_pcb

Compare netlist components, pins, and nets with the PCB.

ParameterTypeDescription
project *string

run_design_review

Run the selected power, parity, SI, manufacturing, and layout reviews.

ParameterTypeDescription
project *string
checks
minimum_track_width_mm
near_pin_mmnumber
rails

analyze_signal_integrity

Analyze PCB routes for uncontrolled layer changes and dangling stubs.

ParameterTypeDescription
project *string

analyze_board_density

Measure object occupancy on a caller-configurable board grid.

ParameterTypeDescription
project *string
cell_size_mmnumber
high_density_rationumber

check_fabrication_readiness

Check board geometry, courtyards, drills, and footprint assignments.

ParameterTypeDescription
project *string

preview_write

Dry-run a controlled edit and return diffs plus a confirm token.

ParameterTypeDescription
op *string
project *string
params

confirm_write

Execute a previewed write under lock, snapshot, and validation.

ParameterTypeDescription
confirm_token *string
plan_hash *string
project *string
snapshot_id *string

rollback_snapshot

Restore every file captured in a write snapshot.

ParameterTypeDescription
project *string
snapshot_id *string

list_snapshots

List write snapshots, newest first, optionally per project.

ParameterTypeDescription
project

get_write_audit

Read the append-only write audit log (optionally per project).

ParameterTypeDescription
limitinteger
project