Atlas / MCP servers / productofamerica / mcp-server-kicad

mcp-server-kicadSAFE

mcp/productofamerica/mcp-server-kicad

KiCad MCP server: 100+ Model Context Protocol tools that let an AI assistant do schematic capture and PCB layout. Place parts, route traces, run ERC and DRC, export Gerbers, BOM, and 3D models.

Verdict
SAFE
Grade
B
Trust score
89 /100
Exposed tools
109 60r · 37w · 12d
Transport
stdio
License
MIT
Stars
12
01

Overview

From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.

Let an AI assistant edit real KiCad projects without corrupting them.

109 MCP tools covering schematic capture, PCB layout, symbol and footprint libraries, ERC and DRC, and manufacturing exports. No screenshots, no copy-paste, no hand-edited s-expressions: the model calls tools, KiCad files change on disk.

[](https://pypi.org/project/mcp-server-kicad/) [](https://pypi.org/project/mcp-server-kicad/) [](https://www.kicad.org/) [](https://github.com/ProductOfAmerica/mcp-server-kicad/actions/workflows/ci.yml) [](LICENSE)

Quick start • What you get • Configuration • Tool reference • Requirements • Contributing

What it looks like

"Add a 100 nF decoupling cap on U1's VCC pin, then check ERC."

get_pin_positions            locate U1's VCC and GND pins
auto_place_decoupling_cap    place C3 and wire both pins to their nets
run_erc                      report what the change broke

"Now push the netlist to the board and route it."

update_pcb_from_schematic    sync footprints and pad nets onto the PCB
autoroute
Read from source at commit 71dc34ad36d4OBSERVED · 2026-10-10
02

Connect

Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control.

claude-code (pypi)
claude mcp add mcp-server-kicad -- uvx mcp-server-kicad==0.20.1
03

Exposed tools (109)

60 read · 37 write · 12 destructive. Blast radius: 12 tools can delete or overwrite — an agent that can be talked into calling a tool can be talked into calling this one.

ToolRiskDescription
add_copper_zonewriteCreate an unfilled copper zone: a ground plane, power plane, or any
add_global_labelwriteAdd a global net label (visible across all sheets).
add_hierarchical_labelwriteAdd a hierarchical label to a sub-sheet schematic.
add_hierarchical_sheetwriteAdd a hierarchical sheet to a parent schematic with matching labels in the child.
add_junctionswriteAdd multiple junctions. Each point dict has keys: x, y.
add_keepout_zonewriteCreate a keep-out zone that restricts placement of specified items.
add_labelwriteAdd a net label at a position.
add_lib_symbolwriteLoad a symbol definition from a .kicad_sym library into the schematic.
add_pcb_linewriteAdd a graphic line to the PCB (edge cuts, silkscreen, etc.).
add_pcb_textwriteAdd text to the PCB (silkscreen, fab layer, etc.).
add_power_symbolwritePlace a power symbol (VCC, GND, +3V3, etc.).
add_sheet_pinwriteAdd a pin to an existing hierarchical sheet block.
add_symbolwriteAdd a new symbol definition to a .kicad_sym library.
add_textwriteAdd a text annotation to the schematic.
add_thermal_viaswriteAdd a grid of thermal vias under a footprint pad.
add_tracewriteAdd a trace segment between two points.
add_viawriteAdd a via at a position.
add_wireswriteAdd multiple wires at once. Each wire dict has keys: x1, y1, x2, y2.
annotate_schematicreadAuto-assign reference designators to unannotated components.
auto_place_decoupling_capreadPlace a decoupling capacitor and wire it to power/ground nets.
autoroute_pcbreadAutoroute PCB traces using the Freerouting autorouter.
check_placementreadCheck if placing/moving a footprint to (x, y) would violate constraints.
connect_pinsreadConnect two component pins with Manhattan (L-shaped) wire routing.
create_projectwriteCreate a KiCad 9 project (.kicad_pro + .kicad_prl + .kicad_sch).
create_schematicwriteCreate a valid empty KiCad 9 schematic file.
create_sym_lib_tablewriteCreate a sym-lib-table file in the given directory.
create_symbol_librarywriteCreate a valid empty KiCad 9 symbol library.
duplicate_sheetreadDuplicate a hierarchical sheet, copying the child file with new UUIDs.
export_3dreadExport PCB 3D model or render 3D view to image.
export_bomreadExport Bill of Materials (BOM) as CSV.
export_footprint_svgreadExport footprint to SVG.
export_gerbersreadExport Gerber files for manufacturing.
export_hierarchical_netlistreadExport a netlist from the root schematic, including hierarchy info.
export_ipc2581readExport PCB in IPC-2581 format for manufacturing data exchange.
export_netlistreadExport a schematic netlist.
export_pcbreadExport PCB to PDF, SVG, or DXF format.
export_positionsreadExport component position file (pick and place).
export_schematicreadExport schematic to PDF, SVG, or DXF format.
export_symbol_svgreadExport symbol library to SVG images.
fill_zonesreadFill all copper zones on the board using pcbnew
flatten_hierarchyreadFlatten a hierarchical schematic into a single sheet.
get_board_inforeadGet board summary: footprint count, trace count, net count, thickness.
get_footprint_boundsreadGet the board-coordinate bounding box of a placed footprint.
get_footprint_inforeadGet pad and outline details for a footprint .kicad_mod file.
get_footprint_padsreadGet pad info for a placed footprint on the PCB.
get_net_connectionsreadFind all component pins connected to a net label.
get_pin_positionsreadGet absolute pin positions for a placed component (accounts for rotation/mirror).
get_schematic_summaryreadGet schematic page info and item counts.
get_sheet_inforeadGet detailed info about a hierarchical sheet including pin/label matching.
get_symbol_inforeadGet detailed pin and property info for a symbol in a library.
get_symbol_instancesreadList all symbol instances from a root schematic
get_symbol_pinsreadGet pin info for a symbol in the schematic
get_versionreadGet KiCad version information including build details and library versions.
is_root_schematicreadCheck if a schematic is the root or a sub-sheet.
list_cross_sheet_netsreadList all nets that cross sheet boundaries (hierarchical pins and global labels).
list_hierarchyreadList the full sheet hierarchy starting from a root schematic.
list_lib_footprintsreadList all footprints in a .pretty library directory.
list_lib_symbolsreadList all symbols in a .kicad_sym library file.
list_pcb_footprintsreadList all footprints on the PCB.
list_pcb_graphic_itemsreadList all graphic items (lines, text, etc.) on the PCB.
list_pcb_layersreadList all layers defined in the PCB stackup: copper, silkscreen,
list_pcb_netsreadList all named nets on the PCB.
list_pcb_tracesreadList all trace segments and vias on the PCB.
list_pcb_zonesreadList all zones (copper and keepout) on the PCB.
list_schematic_bus_entriesreadList all bus entries in the schematic.
list_schematic_componentsreadList all placed components in the schematic.
list_schematic_global_labelsreadList all global labels in the schematic.
list_schematic_hierarchical_labelsreadList all hierarchical labels in the schematic.
list_schematic_junctionsreadList all junctions in the schematic.
list_schematic_labelsreadList all net labels in the schematic.
list_schematic_no_connectsreadList all no-connect flags in the schematic.
list_schematic_sheetsreadList all hierarchical sheets in the schematic.
list_schematic_wiresreadList all wire segments in the schematic.
list_unconnected_pinsreadList unconnected pins by running ERC and filtering results.
modify_hierarchical_labelwriteModify an existing hierarchical label.
modify_hierarchical_sheetwriteModify properties of an existing hierarchical sheet block.
move_componentwriteMove a placed component to a new position.
move_footprintwriteMove a footprint to a new position.
move_hierarchical_sheetwriteMove a hierarchical sheet block to a new position, including all pins.
no_connect_pinreadPlace a no-connect flag on a component pin.
place_componentreadPlace a schematic symbol: resistor, capacitor, inductor, diode, LED,
place_footprintreadPlace a footprint on the PCB.
remove_componentdestructiveRemove a component by reference designator.
remove_dangling_tracksdestructiveDetect and remove trace segments with unconnected endpoints.
remove_footprintdestructiveRemove a footprint by reference designator.
remove_hierarchical_labeldestructiveRemove a hierarchical label by name or UUID.
remove_hierarchical_sheetdestructiveRemove a hierarchical sheet block from a parent schematic.
remove_junctiondestructiveRemove a junction at the given coordinates.
remove_labeldestructiveRemove net label(s) or global label(s) by text, optionally filtered by position.
remove_no_connectdestructiveRemove no-connect flag(s) from a component pin.
remove_sheet_pindestructiveRemove a pin from a hierarchical sheet block.
remove_textdestructiveRemove text annotation(s) by content, optionally filtered by position.
remove_tracesdestructiveRemove trace segments matching the given filters. Does not remove vias.
remove_wiredestructiveRemove a wire segment by its endpoint coordinates.
reorder_sheet_pageswriteReorder hierarchical sheets by specifying the desired UUID order.
run_drcwriteRun Design Rules Check (DRC) on a PCB.
run_ercwriteRun Electrical Rules Check (ERC) on a schematic.
run_jobsetwriteRun a KiCad jobset file.
set_component_propertywriteSet any property on a placed component, or rename it. Creates the
set_net_classwriteCreate or update a net class with design rules and assign nets.
set_page_sizewriteSet the schematic page/sheet size.
set_trace_widthwriteChange the width of existing traces matching the given filters.
trace_hierarchical_netreadTrace a net across the hierarchy, following hierarchical pins and labels.
update_pcb_from_schematicwriteUpdate the PCB from the schematic (headless Tools -> Update PCB from Schematic).
upgrade_footprint_libreadUpgrade a footprint library to current KiCad format.
upgrade_symbol_libreadUpgrade a symbol library to current KiCad format.
validate_boardreadValidate all footprint placements against keep-out zones and board edge.
validate_hierarchyreadValidate hierarchical schematic for common issues.
wire_pins_to_netwritePut each listed pin on the net named label_text, or refuse and write nothing.
04

Trust audit

SAFEgrade B · trust 89/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.

LayerWhat it checksResult
L0Provenance & inventoryPASS
L1Static analysis of the codePASS
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfaceWARN
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
declared (4 observation(s))
Network
declared (7 observation(s))
Shell
none-observed
Dependencies
pinned
Secrets in source
none-found

Findings (7)

MEDIUMFilesystem / path · mcp.destructive_tools · CWE-22, CWE-59
remove_component, remove_dangling_tracks, remove_footprint, remove_hierarchical_label, remove_hierarchical_sheet, remove_junction, remove_label, remove_no_connect, remove_sheet_pin, remove_text, remov
Why it matters. 12 tool(s) can delete or overwrite
Fix. prefer a read-only mode or scoped tokens; the page states the blast radius
LOWInventory / provenance · inv.hidden_file · CWE-1104
.coderabbit.yaml
.coderabbit.yaml
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWInventory / provenance · inv.hidden_file · CWE-1104
.pre-commit-config.yaml
.pre-commit-config.yaml
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWInventory / provenance · inv.hidden_file · CWE-1104
mcpb/.mcpbignore
.mcpbignore
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWObfuscation / stealth · obf.decode_call · CWE-506, CWE-94
tests/test_netlist_import.py:682
documents = Path(base64.b64decode(out.stdout.strip()).decode("utf-8"))
LOWObfuscation / stealth · obf.decode_then_exec · CWE-506, CWE-94
tests/test_netlist_import.py:682
b64decode( ... subprocess.
Why it matters. decodes a payload and executes it
INFOPrompt injection · prompt.authority_framing · CWE-94, CWE-1427
agents/code-reviewer.md:10
You are a Senior Code Reviewer for the mcp-server-kicad project, a Python MCP

Gates applied: no_behavioural_pass.

Audited 2026-10-10 · audit v0.4.1 · source sha 71dc34ad36d4full audit observations/trust-audit/mcp-server/productofamerica__mcp-server-kicad.json · Report an issue / request a re-scan
05

Audit history

Every audit this server has had. A grade with a past is a grade somebody is still checking.

DateSourceVerdictGradeScoreChange
2026-10-1071dc34ad36d4SAFEB89first audit
06

Questions

What is the mcp-server-kicad MCP server?

KiCad MCP server: 100+ Model Context Protocol tools that let an AI assistant do schematic capture and PCB layout. Place parts, route traces, run ERC and DRC, export Gerbers, BOM, and 3D models.

What tools does mcp-server-kicad expose?

109 in total: 60 read-only, 37 that write, and 12 that can delete or overwrite (remove_component, remove_dangling_tracks, remove_footprint, remove_hierarchical_label, remove_hierarchical_sheet). Every one is listed on this page with its risk.

Is mcp-server-kicad safe to connect to an agent?

The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean server reads B. Separately from the audit: 12 of its tools can destroy data, so scope the token you give it to what you actually need.

What credentials does mcp-server-kicad need?

No credential environment variables were found in its source, so it appears to need none.

How does mcp-server-kicad run?

It speaks stdio, so it runs as a local process your client starts. It is published on PyPI as mcp-server-kicad.

How current is this page?

The grade is for one exact copy of the source (71dc34ad36d4), read on 2026-10-10. The repository is watched and re-audited when it changes.

Advertisement