mixelpixx/KiCAD-MCP-Server
KiCAD MCP is a Model Context Protocol (MCP) implementation that enables Large Language Models (LLMs) like Claude to directly interact with KiCAD for printed circuit board design.
7f72fb46177akicad-mcp2.9.0 in package.jsonPaths from tool input into commands, SQL, files and URLs
How much power the tools give an agent over the machine
Hidden instructions and poisoning in text for the model
Known vulnerabilities in the packages the server uses
How the server reads credentials and where they can go
Whether the tools do only what their descriptions say
How far the analysis went
The scanner traces each tool from its input to the operations its code performs, and here it could not follow every path. Code Safety is shown as partly traced instead of a score: no finding there is not a clean result. The score of Capability Exposure counts only what it could follow.
- In 272 places a tool's input is handed to a function whose name matches several definitions in the code; the scanner could not tell which one runs, so it stopped there
- 5 places in the code register tools whose names are computed at run time; how many tools that makes cannot be read from the code
Top risks in plain words
- HIGH3 production dependencies have known vulnerabilities (worst: high).
How to use it safely
Practical steps from what we found in this server. They lower the risk; they do not replace a review of the code.
- Give it a narrowly scoped token
Its code reads credentials or environment variables. Use a key limited to what this server needs, not your main one.
- Update its vulnerable packages
Use
@hono/node-server2.1.6 or later,hono4.13.16 or later,zod4.6.6 or later. - Keep confirmations on
Leave your MCP client's confirmation prompt on for tools that change files, run commands or send data.
What its tools can do on your machine
The server offers 276 tools, 23 resources, 20 prompts. When an AI agent calls them, this is what their code can do on the machine where the server runs, as traced in the source. Tools that call code the scanner could not follow may do more.
close_toolbox, download_registry_part, list_toolboxes, open_toolboxdownload_registry_part, get_registry_part, search_parts_registrydownload_registry_part, get_registry_part, search_parts_registryNo tool was seen to: start other programs on the machine; read passwords, tokens or keys; touch sensitive locations.
Where its requests and secrets go
Read from the names along each tool's calls, not from a run: what the code says, not every address it may reach at run time.
The literal addresses the tools' requests name.
- None: no request names a fixed host.
Constants or settings that start an address; the value comes from configuration.
- None seen.
Credential-like environment variables. Give the server a key with the least access it needs.
- None: no credential-like variable is read by the tools.
3 request addresses could not be settled from the code (built at run time).
Text it brings in from outside
Text that reaches the model from outside: an instruction hidden in it can steer the agent (prompt injection). Treat what these tools return as data, not as orders.
- web or API responses3 tools · download_registry_part, get_registry_part, search_parts_registry
- files2 tools · close_toolbox, open_toolbox
Tool annotations
No tool declares MCP annotations (readOnlyHint, destructiveHint and the rest). Clients use them to decide what to confirm; directories such as Anthropic's and OpenAI's ask for them.
Tools, prompts and resources (319: 276 tools, 23 resources, 20 prompts)
Open a row for its full description. Chips show what its code can reach, and which risky capability its own description declares.
component_placement_strategyprompt
No description.
component_replacement_analysisprompt
No description.
component_selectionprompt
No description.
component_selection_guidanceprompt
No description.
component_sourcing_propertiesprompt
No description.
component_troubleshootingprompt
No description.
component_value_calculationprompt
No description.
create_footprint_guideprompt
No description.
design_rule_developmentprompt
No description.
differential_pair_routingprompt
No description.
emc_shield_reviewprompt
No description.
footprint_ipc_checklistprompt
No description.
high_speed_routingprompt
No description.
layer_stackup_planningprompt
No description.
pcb_design_optimizationprompt
No description.
pcb_layout_reviewprompt
No description.
pdn_dc_reviewprompt
No description.
power_distributionprompt
No description.
routing_strategyprompt
No description.
via_usageprompt
No description.
board_2d_viewresource
No description.
board_3d_viewresource
No description.
board_extentsresource
No description.
board_inforesource
No description.
board_statisticsresource
No description.
component_3d_modelresource
No description.
component_connectionsresource
No description.
component_detailsresource
No description.
component_footprintresource
No description.
component_groupsresource
No description.
component_libraryresource
No description.
component_listresource
No description.
component_placementresource
No description.
component_symbolresource
No description.
component_visualizationresource
No description.
layer_listresource
No description.
library_component_detailsresource
No description.
library_listresource
No description.
project_filesresource
No description.
project_inforesource
No description.
project_propertiesresource
No description.
project_statusresource
No description.
project_summaryresource
No description.
(name computed at run time)tool
No description.
(name computed at run time)tool
No description.
(name computed at run time)tool
No description.
(name computed at run time)tool
No description.
(name computed at run time)tool
No description.
add_board_outlinetool Add a board outline to the PCB
Add a board outline to the PCB
add_board_outlinetool Draw the PCB board outline (Edge.Cuts layer) as a rectangle, rounded rectangle, circle or polygon.
Draw the PCB board outline (Edge.Cuts layer) as a rectangle, rounded rectangle, circle or polygon.
add_board_texttool Add a text label to a PCB layer (e.g. silkscreen, fab, courtyard).
Add a text label to a PCB layer (e.g. silkscreen, fab, courtyard).
add_component_3d_modeltool
No description.
add_copper_keepouttool
No description.
add_copper_pourtool Add a copper pour (ground/power plane) to the PCB
Add a copper pour (ground/power plane) to the PCB
add_footprint_3d_modeltool
No description.
add_gnd_stitching_viastool Drop GND stitching vias across the board with collision checking against every non-GND segment, via, and pad on every copper layer (PTH vias penetrate the full
Drop GND stitching vias across the board with collision checking against every non-GND segment, via, and pad on every copper layer (PTH vias penetrate the full stackup, so missing any one layer is the classic silent-short failure mode). Three combinable strategies: `grid` (regular grid across the interior), `around_refs` (densify around named ICs), and `in_zones` (only place vias inside an actual GND copper zone). Supports `dryRun` to preview placements without writing.
add_hierarchical_sheettool Insert a hierarchical-sheet reference block into a parent schematic, pointing at an existing sub-sheet file. Adds the sheet box, name/file fields, a sheet_insta
Insert a hierarchical-sheet reference block into a parent schematic, pointing at an existing sub-sheet file. Adds the sheet box, name/file fields, a sheet_instances path entry on the next page number, and fixes sub-sheet component instance paths so ERC resolves references.
add_layertool Add a new copper or technical layer to the PCB stackup.
Add a new copper or technical layer to the PCB stackup.
add_library_symbol_propertytool Add or update a custom property (Manufacturer, MPN, LCSC, etc.) on a symbol definition in the lib_symbols section. This makes the property available to all inst
Add or update a custom property (Manufacturer, MPN, LCSC, etc.) on a symbol definition in the lib_symbols section. This makes the property available to all instances of that symbol in the schematic.
add_mounting_holetool Place a mounting hole (NPTH or PTH) at the specified position on the PCB.
Place a mounting hole (NPTH or PTH) at the specified position on the PCB.
add_nettool Create a new net on the PCB
Create a new net on the PCB
add_no_connecttool
No description.
add_schematic_componenttool Add a component to a KiCAD schematic
Add a component to a KiCAD schematic
add_schematic_componenttool Add a component to the schematic. Symbol format is 'Library:SymbolName' (e.g., 'Device:R', 'EDA-MCP:ESP32-C3')
Add a component to the schematic. Symbol format is 'Library:SymbolName' (e.g., 'Device:R', 'EDA-MCP:ESP32-C3')
add_schematic_hierarchical_labeltool
No description.
add_schematic_net_labeltool
No description.
add_schematic_texttool
No description.
add_schematic_wiretool Add a wire connection to a KiCAD schematic
Add a wire connection to a KiCAD schematic
add_schematic_wiretool Draws a wire on the schematic between two or more coordinate points. Always call get_schematic_pin_locations first to get the approximate pin coordinates, then
Draws a wire on the schematic between two or more coordinate points. Always call get_schematic_pin_locations first to get the approximate pin coordinates, then pass them as the first and last waypoints. snapToPins (on by default) will correct any float imprecision by snapping endpoints to the exact nearest pin coordinate. To route around components, add intermediate waypoints between the start and end: e.g. [[x1,y1], [xMid,y1], [xMid,y2], [x2,y2]] routes horizontally then vertically. Intermediate waypoints are never snapped. The response says, for the start and end points, whether they snapped and how far the nearest pin is, and warns when an endpoint is outside snapTolerance of every pin: such a wire is floating.
add_sheet_pintool
No description.
add_symbol_propertytool
No description.
add_viatool Add a via to the PCB
Add a via to the PCB
add_zonetool Create a copper fill zone (pour) on a PCB layer for a specified net.
Create a copper fill zone (pour) on a PCB layer for a specified net.
align_componentstool Align multiple PCB components horizontally, vertically or on a grid with optional spacing.
Align multiple PCB components horizontally, vertically or on a grid with optional spacing.
annotate_schematictool
No description.
assign_net_to_classtool Assign a net to an existing net class to apply its specific design rules.
Assign a net to an existing net class to apply its specific design rules.
audit_via_netstool Compare every via's net in the saved board with a reference board (a .kicad_pcb file or a git revision such as HEAD) and list vias whose net changed, plus vias
Compare every via's net in the saved board with a reference board (a .kicad_pcb file or a git revision such as HEAD) and list vias whose net changed, plus vias added, removed or moved. KiCad can silently change a via's net on save (e.g. to a surrounding zone's net, or after an autorouter import), and DRC does not flag it because the board stays self-consistent. Run after saving, autorouting or importing a session.
autoplace_schematic_fieldstool Automatically reposition every component's Reference and Value field so they sit horizontally outside the component body AND outside any net labels attached to
Automatically reposition every component's Reference and Value field so they sit horizontally outside the component body AND outside any net labels attached to its pins, avoiding collisions with other components and already-placed fields (rotation-aware for 90°/270° symbols). Like KiCAD's built-in field auto-placement but net-label aware. Optionally limit to specific references.
autoroutetool Run Freerouting autorouter on the current PCB. Exports to Specctra DSN, runs Freerouting CLI, and imports the routed SES result. Requires freerouting.jar and th
Run Freerouting autorouter on the current PCB. Exports to Specctra DSN, runs Freerouting CLI, and imports the routed SES result. Requires freerouting.jar and the Java version it was built for (21+; Freerouting 2.4.x needs 25), or Docker/Podman (see check_freerouting). Set `attempts` > 1 to run best-of-N: Freerouting is invoked multiple times with varied `--max-passes`, each result is scored by (nets_routed * 1000 + segments, +50000 bonus when every `targetNets` entry routed), and the winning SES is imported. Single-attempt behaviour is unchanged when `attempts` is omitted.
backannotate_footprintstool
No description.
batch_add_and_connecttool Place multiple components AND wire their nets in a single call — the fewest-round-trip way to build a subcircuit. Each component is like batch_add_components pl
Place multiple components AND wire their nets in a single call — the fewest-round-trip way to build a subcircuit. Each component is like batch_add_components plus an optional 'nets' map {pin: netName}. Components are placed first, then nets are connected via batch_connect. labelType selects 'label' (sheet-local, default) or 'global_label' (cross-sheet by name) for all the nets wired in this call.batch_add_componentstool Add multiple components to a schematic in one call (far fewer round-trips than add_schematic_component). Each component: {symbol:'Library:Name', reference, valu
Add multiple components to a schematic in one call (far fewer round-trips than add_schematic_component). Each component: {symbol:'Library:Name', reference, value?, footprint?, position:{x,y}, rotation?, includePins?, unit?}. Multi-unit parts are placed one entry per unit, sharing a reference. Reference/Value fields are auto-positioned outside the body (disable with auto_position_fields=false). Returns per-component snapped position, field positions, body_bbox, and an overall placement_bbox.batch_add_no_connectstool Add no-connect (X) flags to multiple pins in one call, to mark intentionally unconnected pins and silence ERC. 'pins' is a list of {componentRef, pinName}.
Add no-connect (X) flags to multiple pins in one call, to mark intentionally unconnected pins and silence ERC. 'pins' is a list of {componentRef, pinName}.batch_connecttool Place net labels on multiple pins in one call to wire nets quickly. 'connections' is a map {reference: {pin: netName}} where pin is a number or name. labelType
Place net labels on multiple pins in one call to wire nets quickly. 'connections' is a map {reference: {pin: netName}} where pin is a number or name. labelType selects 'label' (sheet-local, the default) or 'global_label' (connects across all sheets by name — use this for power rails and any net that spans sheets). For local labels, if a facing label for the same net is nearby a wire is drawn instead of a duplicate label; global labels are placed one-per-pin since they join their net by name. Set replace=true to clear any existing label at a pin first. Warns about power nets that have no PWR_FLAG, saying what a flag does and that one belongs only where the rail is supplied from off the sheet (a connector or a battery).batch_edit_schematic_componentstool Edit multiple existing components in one call. 'components' is a map {reference: {value?, footprint?, newReference?, ...}}; each entry is applied via the single
Edit multiple existing components in one call. 'components' is a map {reference: {value?, footprint?, newReference?, ...}}; each entry is applied via the single-component editor. Returns per-reference updated/errors.batch_list_symbol_pinstool Return pin names, numbers, types, and symbol-local coordinates for multiple symbols in a single call. Use instead of calling list_symbol_pins repeatedly when pl
Return pin names, numbers, types, and symbol-local coordinates for multiple symbols in a single call. Use instead of calling list_symbol_pins repeatedly when placing a subcircuit — saves 5–10 round-trips. Each result includes pins (with x/y/angle in symbol-local coords, Y-up per KiCAD lib convention) and body_bbox (bounding box of pin envelope ±1.27mm, symbol-local coords). IMPORTANT: coordinates are symbol-local (Y-up, pre-rotation); after placement use get_schematic_pin_locations for post-rotation schematic coordinates. Set compact=true for simple 2-pin passives (Device:R/C/L) to get just pin_count, body_bbox, and is_symmetric.
batch_move_componentstool Move multiple PCB components transactionally. If one reference/spec is invalid, no components are moved. Saves by default unless save=false.
Move multiple PCB components transactionally. If one reference/spec is invalid, no components are moved. Saves by default unless save=false.
batch_set_schematic_property_positionstool
No description.
check_clearancetool Check the actual clearance between two PCB items (track, via, pad, zone or component) and report whether it meets the design rules.
Check the actual clearance between two PCB items (track, via, pad, zone or component) and report whether it meets the design rules.
check_courtyard_overlapstool Detect courtyard overlaps between footprints and (optionally) flag courtyards that extend past the board outline. Accepts a `positions` dict of hypothetical pla
Detect courtyard overlaps between footprints and (optionally) flag courtyards that extend past the board outline. Accepts a `positions` dict of hypothetical placements so an AI can validate a proposed move_component / place_component before committing it. Returns overlap pairs with intersection extents (mm) and per-component boundary violations.
check_freeroutingtool Check if Java and Freerouting JAR are available on the system. Run this before autoroute to verify prerequisites.
Check if Java and Freerouting JAR are available on the system. Run this before autoroute to verify prerequisites.
check_kicad_uitool Check if KiCAD UI is currently running
Check if KiCAD UI is currently running
check_placement_clearancetool Classify placement conflicts as body overlap, courtyard overlap, keepout violation, silk/text overlap or pad clearance.
Classify placement conflicts as body overlap, courtyard overlap, keepout violation, silk/text overlap or pad clearance.
check_schematic_legibilitytool Checks whether a person can read a schematic sheet: what ERC and a netlist cannot see. Boxes every symbol body, visible reference/value, label and free text and
Checks whether a person can read a schematic sheet: what ERC and a netlist cannot see. Boxes every symbol body, visible reference/value, label and free text and reports text over text (a symbol's own fields included), text over another symbol's body, a symbol's own field across a drawn line of its body (inside an IC's rectangle or beside a capacitor's plates is fine), body over body, a wire through a text (a label's own wire only touches its edge), items on the title block or outside the frame, and a field stored upside down. Each problem comes with its box in sheet mm; look at it with get_schematic_view_region.
clear_board_outlinetool Delete all Edge.Cuts graphics from the current PCB board.
Delete all Edge.Cuts graphics from the current PCB board.
close_projecttool Close the currently loaded KiCAD project: optionally save, then drop the in-memory board and clear session state. Use this to hand control back so the user (or
Close the currently loaded KiCAD project: optionally save, then drop the in-memory board and clear session state. Use this to hand control back so the user (or the agent) can edit project files directly without the MCP later clobbering those changes on save.
close_toolboxtool Close one or more toolboxes to remove their tools from your tool list and free context. The core tools stay.Filesoutside text
Close one or more toolboxes to remove their tools from your tool list and free context. The core tools stay.
connect_passthroughtool Connects all pins of a source connector (e.g. J1) to matching pins of a target connector (e.g. J2) via shared net labels — pin N gets net '{netPrefix}_{N}'. Use
Connects all pins of a source connector (e.g. J1) to matching pins of a target connector (e.g. J2) via shared net labels — pin N gets net '{netPrefix}_{N}'. Use this for FFC/ribbon cable passthrough adapters instead of calling connect_to_net for every pin.connect_to_nettool
No description.
copy_routing_patterntool Copy routing pattern (traces and vias) from a group of source components to a matching group of target components. The offset is calculated automatically from t
Copy routing pattern (traces and vias) from a group of source components to a matching group of target components. The offset is calculated automatically from the position difference between the first source and first target component. Useful for replicating routing between identical circuit blocks.
create_board_from_schematictool Create a new .kicad_pcb file from a schematic, then update the PCB from that schematic so footprints and nets are present.
Create a new .kicad_pcb file from a schematic, then update the PCB from that schematic so footprints and nets are present.
create_footprinttool
No description.
create_hierarchical_subsheettool Create a new sub-sheet .kicad_sch file and link it into a parent schematic in a single call (create_schematic + add_hierarchical_sheet). The fastest way to grow
Create a new sub-sheet .kicad_sch file and link it into a parent schematic in a single call (create_schematic + add_hierarchical_sheet). The fastest way to grow a hierarchical design.
create_netclasstool Create a new net class with custom design rules, optionally assigning nets to it immediately.
Create a new net class with custom design rules, optionally assigning nets to it immediately.
create_projecttool Create a new KiCAD project
Create a new KiCAD project
create_schematictool Create a new schematic
Create a new schematic
create_symboltool
No description.
create_varianttool Register a named assembly variant in a KiCad project.
Register a named assembly variant in a KiCad project.
delete_componenttool Remove a component from the PCB by its reference designator.
Remove a component from the PCB by its reference designator.
delete_graphictool Delete a PCB graphic/drawing item by UUID.
Delete a PCB graphic/drawing item by UUID.
delete_schematic_componenttool Remove a placed symbol from a KiCAD schematic (.kicad_sch).
Remove a placed symbol from a KiCAD schematic (.kicad_sch). This removes the symbol instance (the placed component) from the schematic. It does NOT remove the symbol definition from lib_symbols. With deleteAttachedLabels, net labels sitting exactly on the deleted component's pin positions are removed too — unless a label is still attached to a wire or another component's pin. Recommended when permanently removing a wired part, since orphaned labels otherwise produce label_dangling ERC errors. Default false for backward compatibility (delete-then-re-add workflows rely on labels surviving). Note: This tool operates on schematic files (.kicad_sch). To remove a footprint from a PCB, use delete_component instead.
delete_schematic_net_labeltool Remove a net label from the schematic.
Remove a net label from the schematic.
delete_schematic_wiretool
No description.
delete_symboltool Remove a symbol from a .kicad_sym library file.
Remove a symbol from a .kicad_sym library file.
delete_tracetool Delete traces from the PCB. Can delete by UUID, position, or bulk-delete all traces on a net.
Delete traces from the PCB. Can delete by UUID, position, or bulk-delete all traces on a net.
digikey_check_library_availabilitytool
No description.
digikey_search_partstool
No description.
digikey_test_connectiontool
No description.
discard_or_reloadtool Discard the current in-memory PCB state and reload the board from disk.
Discard the current in-memory PCB state and reload the board from disk.
download_jlcpcb_databasetool Download the JLCPCB parts catalog to a local SQLite database for fast offline search.
Download the JLCPCB parts catalog to a local SQLite database for fast offline search.
Sources (no API credentials required by default):
- cdfer (default): in-stock subset (~480k parts, ~400 MB download). Single file,
no extra tools — the most reliable path, especially on Windows.
- yaqwsx: the FULL catalog (all parts incl. out-of-stock, ~2.9M parts, ~230 MB download).
Use source="yaqwsx" if you specifically want everything. Requires a 7z CLI.
- official: official JLCPCB API, used only if JLCPCB_APP_ID/JLCPCB_API_KEY/
JLCPCB_API_SECRET are set.
One-time setup; downloads resume automatically if interrupted. Re-run with
force=true to refresh.download_registry_parttool Download a registry part's KiCAD file to a local directory:FilesNetworkEnv varsoutside text
Download a registry part's KiCAD file to a local directory: - format="kicad_mod" -> footprint (.kicad_mod text) - format="kicad_sym" -> symbol (.kicad_sym text) - format="step" -> 3D model (.step / .glb, downloaded from the asset host) Files are written to dest_dir with a sensible filename; returns the saved path(s).
duplicate_componenttool Duplicate an existing PCB component at an offset position, optionally with a new reference designator.
Duplicate an existing PCB component at an offset position, optionally with a new reference designator.
edit_componenttool Edit properties of an existing PCB component (reference, value, footprint).
Edit properties of an existing PCB component (reference, value, footprint).
edit_footprint_padtool
No description.
edit_schematic_componenttool Update properties of a placed symbol in a KiCAD schematic (.kicad_sch) in-place.
Update properties of a placed symbol in a KiCAD schematic (.kicad_sch) in-place.
Use this tool to:
• assign or update the footprint, value, or reference designator,
• reposition field labels (Reference / Value text),
• add, update, or remove ARBITRARY CUSTOM PROPERTIES used by BOM and sourcing
workflows: MPN, Manufacturer, Manufacturer_PN, Distributor, DigiKey, DigiKey_PN,
Mouser_PN, LCSC, JLCPCB_PN, Voltage, Tolerance, Power, Dielectric, etc.
Custom properties are first-class — they survive ERC, are exported by export_bom,
and are picked up by the JLCPCB / Digi-Key BOM tooling. Newly-added properties
default to hidden so they do not clutter the schematic canvas.
Multiple updates can be batched in a single call: pass any combination of
`footprint`, `value`, `newReference`, `fieldPositions`, `properties`,
and `removeProperties` together.
This is more efficient than delete + re-add because it preserves the component's
position and UUID. Operates on .kicad_sch files only — to modify a PCB footprint
use edit_component instead.enrich_datasheetstool Fill in missing Datasheet URLs in a KiCAD schematic using LCSC part numbers.
Fill in missing Datasheet URLs in a KiCAD schematic using LCSC part numbers. For every placed symbol that has: • (property "LCSC" "C123456") set • (property "Datasheet" "~") or empty Sets the Datasheet field to: https://www.lcsc.com/datasheet/C123456.pdf The URL is then visible in KiCAD's footprint browser, symbol properties dialog, and any tool that reads the standard KiCAD Datasheet field. No API key or internet lookup required – the URL is constructed directly. Use dry_run=true to preview changes without writing.
estimate_airwire_lengthstool Alias for get_ratsnest: estimate airwire segments and lengths by net.
Alias for get_ratsnest: estimate airwire segments and lengths by net.
export_3dtool Export the PCB as a 3D model (STEP, STL, VRML or OBJ) including optional copper, solder mask, silkscreen and component 3D models.
Export the PCB as a 3D model (STEP, STL, VRML or OBJ) including optional copper, solder mask, silkscreen and component 3D models.
export_3d_clitool Export a 3D model of the PCB via kicad-cli. The `format` param selects the subcommand (step, glb, stl, ply, brep, xao, vrml); only flags valid for that subcomma
Export a 3D model of the PCB via kicad-cli. The `format` param selects the subcommand (step, glb, stl, ply, brep, xao, vrml); only flags valid for that subcommand are forwarded. STEP/glb/stl/ply/brep/xao share the geometry/include flag set (no-board-body, include-tracks/pads/zones/inner-copper/silkscreen/soldermask, fuse-shapes, fill-all-vias, component/net filters, min-distance, etc.; no-optimize-step is STEP-only); vrml uses units + models-dir/models-relative instead. Rich CLI sibling of export_3d and export_vrml. Reads the last SAVED state of the .kicad_pcb.
export_bomtool Export a Bill of Materials (BOM) from the PCB in CSV, XML, HTML or JSON format.
Export a Bill of Materials (BOM) from the PCB in CSV, XML, HTML or JSON format.
export_drilltool Generate drill files for a PCB via kicad-cli, exposing the full Excellon/Gerber drill option set (format, drill origin, zero suppression, oval format, units, mi
Generate drill files for a PCB via kicad-cli, exposing the full Excellon/Gerber drill option set (format, drill origin, zero suppression, oval format, units, mirror-Y, minimal header, separate PTH/NPTH files, drill map + map format). Reads the last SAVED state of the .kicad_pcb.
export_dsntool Export the current PCB to Specctra DSN format. Useful for manual Freerouting workflow or external autorouters.
Export the current PCB to Specctra DSN format. Useful for manual Freerouting workflow or external autorouters.
export_gencadtool Export the PCB in GenCAD format via kicad-cli. Assembly/test interchange format. Exposes padstack flip, unique pin/footprint shape generation, drill-file origin
Export the PCB in GenCAD format via kicad-cli. Assembly/test interchange format. Exposes padstack flip, unique pin/footprint shape generation, drill-file origin, and store-origin-coordinate options. Reads the last SAVED state of the .kicad_pcb.
export_gerbertool Export PCB Gerber manufacturing files to a directory. Optionally include drill files, map files and choose layer subset.
Export PCB Gerber manufacturing files to a directory. Optionally include drill files, map files and choose layer subset.
export_gerber_singletool Plot the given layers to a SINGLE Gerber file via kicad-cli (`pcb export gerber`). Singular sibling of export_gerbers. Exposes the full single-file Plot option
Plot the given layers to a SINGLE Gerber file via kicad-cli (`pcb export gerber`). Singular sibling of export_gerbers. Exposes the full single-file Plot option set (X2, netlist attributes, DNP fab-layer modes, soldermask subtraction, aperture macros, drill-file origin, precision, Protel extension). Reads the last SAVED state of the .kicad_pcb.
export_gerberstool Plot Gerber files for a PCB via kicad-cli, exposing the full Plot-dialog option set (X2, netlist attributes, DNP handling, soldermask subtraction, precision, dr
Plot Gerber files for a PCB via kicad-cli, exposing the full Plot-dialog option set (X2, netlist attributes, DNP handling, soldermask subtraction, precision, drill-file origin, stored board plot settings, etc). Reads the board from disk, so it reflects the last SAVED state of the .kicad_pcb.
export_ipc2581tool Export the PCB in IPC-2581 format via kicad-cli. Single-file MES/CAD interchange carrying placement, nets and BOM part data inline. The bomCol* params map schem
Export the PCB in IPC-2581 format via kicad-cli. Single-file MES/CAD interchange carrying placement, nets and BOM part data inline. The bomCol* params map schematic fields to the embedded BOM columns (e.g. internal P/N, manufacturer P/N) — useful for assembly/MES imports. Reads the last SAVED state of the .kicad_pcb.
export_ipcd356tool Generate an IPC-D-356 bare-board electrical-test netlist via kicad-cli. Consumed by flying-probe and bed-of-nails testers. Reads the last SAVED state of the .ki
Generate an IPC-D-356 bare-board electrical-test netlist via kicad-cli. Consumed by flying-probe and bed-of-nails testers. Reads the last SAVED state of the .kicad_pcb.
export_netlisttool Export the schematic netlist to a file using kicad-cli. Supports KiCad XML (default), Spice (for simulation), Cadstar, and OrcadPCB2 formats. Use this when you
Export the schematic netlist to a file using kicad-cli. Supports KiCad XML (default), Spice (for simulation), Cadstar, and OrcadPCB2 formats. Use this when you need to write a netlist file to disk — for example to produce a SPICE file for simulation or to diff against a reference. To get net/component data inline without writing a file, use generate_netlist instead.
export_odbtool Export the PCB in ODB++ format via kicad-cli. Single job archive (copper, drill, placement, components, nets, outline) widely used by CAM/MES/assembly. Reads th
Export the PCB in ODB++ format via kicad-cli. Single job archive (copper, drill, placement, components, nets, outline) widely used by CAM/MES/assembly. Reads the last SAVED state of the .kicad_pcb.
export_pcb_dxftool Plot the PCB layout to DXF via kicad-cli, exposing the full layer-plot option set (layer + common-layer lists, refdes/value exclusion, soldermask subtraction, u
Plot the PCB layout to DXF via kicad-cli, exposing the full layer-plot option set (layer + common-layer lists, refdes/value exclusion, soldermask subtraction, use-contours, use-drill-origin, border+title, output units, DNP fab-layer modes, drill shape, single/multi output modes). Reads the last SAVED state of the .kicad_pcb.
export_pcb_pdftool Plot the PCB layout to PDF via kicad-cli, exposing the full layer-plot option set (layer + common-layer lists, mirror, refdes/value exclusion, border+title, sol
Plot the PCB layout to PDF via kicad-cli, exposing the full layer-plot option set (layer + common-layer lists, mirror, refdes/value exclusion, border+title, soldermask subtraction, DNP fab-layer modes, negative, black-and-white, theme, drill shape, and single/separate/multipage output modes). Rich CLI sibling of export_pdf. Reads the last SAVED state of the .kicad_pcb.
export_pcb_svgtool Plot the PCB layout to SVG via kicad-cli, exposing the full layer-plot option set (layer + common-layer lists, mirror, soldermask subtraction, negative, black-a
Plot the PCB layout to SVG via kicad-cli, exposing the full layer-plot option set (layer + common-layer lists, mirror, soldermask subtraction, negative, black-and-white, theme, DNP fab-layer modes, page-size mode, fit-page-to-board, exclude-drawing-sheet, drill shape, single/multi output modes). Rich CLI sibling of export_svg. Reads the last SAVED state of the .kicad_pcb.
export_pdftool Export the PCB layout as a PDF document, optionally selecting layers, page size and colour mode.
Export the PCB layout as a PDF document, optionally selecting layers, page size and colour mode.
export_postool Generate a component placement (position / pick-and-place) file via kicad-cli, exposing the full CLI option set (side, format, units, bottom-negate-X, drill-fil
Generate a component placement (position / pick-and-place) file via kicad-cli, exposing the full CLI option set (side, format, units, bottom-negate-X, drill-file origin, SMD-only, exclude through-hole / DNP, gerber board edge). Rich CLI sibling of export_position_file. Reads the last SAVED state of the .kicad_pcb.
export_position_filetool Export a component placement/position file (pick-and-place) for PCB assembly in CSV or ASCII format.
Export a component placement/position file (pick-and-place) for PCB assembly in CSV or ASCII format.
export_sch_bomtool Generate a Bill of Materials from a schematic via kicad-cli (`sch export bom`), exposing the full option set (presets, field/label lists, grouping, sorting, fil
Generate a Bill of Materials from a schematic via kicad-cli (`sch export bom`), exposing the full option set (presets, field/label lists, grouping, sorting, filtering, DNP/excluded-from-BOM handling, and field/string/ref delimiters). schematicPath is REQUIRED.
export_sch_dxftool Export a schematic to DXF via kicad-cli (`sch export dxf`), one DXF per page into a directory. Exposes drawing-sheet override, theme, black-and-white, exclude-d
Export a schematic to DXF via kicad-cli (`sch export dxf`), one DXF per page into a directory. Exposes drawing-sheet override, theme, black-and-white, exclude-drawing-sheet, default-font, and page selection. schematicPath is REQUIRED.
export_sch_hpgltool Export a schematic to HPGL via kicad-cli (`sch export hpgl`), one plot per page into a directory. Exposes drawing-sheet override, exclude-drawing-sheet, default
Export a schematic to HPGL via kicad-cli (`sch export hpgl`), one plot per page into a directory. Exposes drawing-sheet override, exclude-drawing-sheet, default-font, page selection, pen size, and the origin/scale mode. schematicPath is REQUIRED.
export_sch_pdftool Export a schematic to PDF via kicad-cli (`sch export pdf`), exposing the full option set (drawing-sheet override, theme, black-and-white, exclude-drawing-sheet,
Export a schematic to PDF via kicad-cli (`sch export pdf`), exposing the full option set (drawing-sheet override, theme, black-and-white, exclude-drawing-sheet, default-font, the PDF property-popup / hierarchical-link / metadata excludes, no-background-color, and page selection). schematicPath is REQUIRED.
export_sch_pstool Export a schematic to PostScript via kicad-cli (`sch export ps`), one PS per page into a directory. Exposes drawing-sheet override, theme, black-and-white, excl
Export a schematic to PostScript via kicad-cli (`sch export ps`), one PS per page into a directory. Exposes drawing-sheet override, theme, black-and-white, exclude-drawing-sheet, default-font, no-background-color, and page selection. schematicPath is REQUIRED.
export_sch_python_bomtool Export the legacy Python-BOM intermediate XML from a schematic via kicad-cli (`sch export python-bom`). This is the XML netlist consumed by the schematic editor
Export the legacy Python-BOM intermediate XML from a schematic via kicad-cli (`sch export python-bom`). This is the XML netlist consumed by the schematic editor's Python BOM scripts. Minimal option set (output + input only). schematicPath is REQUIRED.
export_sch_svgtool Export a schematic to SVG via kicad-cli (`sch export svg`), one SVG per page into a directory. Exposes drawing-sheet override, theme, black-and-white, exclude-d
Export a schematic to SVG via kicad-cli (`sch export svg`), one SVG per page into a directory. Exposes drawing-sheet override, theme, black-and-white, exclude-drawing-sheet, default-font, no-background-color, and page selection. schematicPath is REQUIRED.
export_schematic_pdftool Export a KiCAD schematic to PDF
Export a KiCAD schematic to PDF
export_schematic_pdftool Export schematic to PDF format using kicad-cli.
Export schematic to PDF format using kicad-cli.
export_schematic_svgtool Export schematic to SVG format using kicad-cli.
Export schematic to SVG format using kicad-cli.
export_svgtool Export the PCB layout as an SVG vector image, optionally selecting layers and colour mode.
Export the PCB layout as an SVG vector image, optionally selecting layers and colour mode.
export_symboltool Extract a single symbol from a .kicad_sym library into a standalone .kicad_sym file.
Extract a single symbol from a .kicad_sym library into a standalone .kicad_sym file.
export_variant_bomtool Export the bill of materials for a named assembly variant.
Export the bill of materials for a named assembly variant.
export_vrmltool Export the PCB as a VRML 3D model for use in web viewers or simulation tools.
Export the PCB as a VRML 3D model for use in web viewers or simulation tools.
find_componenttool Search for a PCB component by reference designator or value and return its position and properties.
Search for a PCB component by reference designator or value and return its position and properties.
find_duplicate_symbolstool
No description.
find_orphaned_wirestool
No description.
find_overlapping_elementstool Detect spatially overlapping symbols, wires, and labels in the schematic. Finds duplicate power symbols at the same position, collinear overlapping wires, and l
Detect spatially overlapping symbols, wires, and labels in the schematic. Finds duplicate power symbols at the same position, collinear overlapping wires, and labels stacked on top of each other.
find_wires_crossing_symbolstool
No description.
generate_netlisttool Return a structured JSON netlist from the schematic — component list (reference, value, footprint) and net list (net name with all connected component/pin pairs
Return a structured JSON netlist from the schematic — component list (reference, value, footprint) and net list (net name with all connected component/pin pairs). Use this to inspect or verify connectivity within the conversation. Does not write any file. To export a netlist file in Spice, KiCad XML, Cadstar, or OrcadPCB2 format, use export_netlist instead.
get_backend_statetool Return the active backend, realtime status, loaded project/board paths, and dirty state.
Return the active backend, realtime status, loaded project/board paths, and dirty state.
get_board_2d_viewtool
No description.
get_board_extentstool Return the bounding box (min/max X and Y) of all objects on the current PCB board.
Return the bounding box (min/max X and Y) of all objects on the current PCB board.
get_board_infotool Retrieve general information about the current PCB board (dimensions, layer count, DRC status).
Retrieve general information about the current PCB board (dimensions, layer count, DRC status).
get_board_origintool Read back the auxiliary (drill/place) origin and grid origin of a .kicad_pcb in mm.
Read back the auxiliary (drill/place) origin and grid origin of a .kicad_pcb in mm.
get_category_toolstool Return all tools available in a specific category. Use list_tool_categories first to find valid category names.
Return all tools available in a specific category. Use list_tool_categories first to find valid category names.
get_component_geometrytool Return separated footprint geometry bboxes: body, pads, courtyard, keepout, fab, silk and text.
Return separated footprint geometry bboxes: body, pads, courtyard, keepout, fab, silk and text.
get_component_listtool Return a list of all components on the PCB, optionally filtered by layer or bounding box region. matchPadCenter also keeps a footprint when any pad centre is in
Return a list of all components on the PCB, optionally filtered by layer or bounding box region. matchPadCenter also keeps a footprint when any pad centre is inside the box. includePads adds each pad's number, net, and position.
get_component_padstool Return all pads of a PCB component with their positions, net assignments and sizes.
Return all pads of a PCB component with their positions, net assignments and sizes.
get_component_propertiestool Return all properties of a PCB component (position, rotation, layer, value, footprint).
Return all properties of a PCB component (position, rotation, layer, value, footprint).
get_component_varianttool Read a component's DNP and field overrides for an assembly variant.
Read a component's DNP and field overrides for an assembly variant.
get_datasheet_urltool Get the LCSC datasheet URL for a component by LCSC number.
Get the LCSC datasheet URL for a component by LCSC number.
Returns the direct PDF URL and product page URL.
No network request – URL is constructed from the LCSC number alone.
Example: get_datasheet_url("C179739")
→ https://www.lcsc.com/datasheet/C179739.pdfget_design_rulestool Return the current PCB design rules (clearance, track width, via sizes, courtyard settings).
Return the current PCB design rules (clearance, track width, via sizes, courtyard settings).
get_drc_violationstool Return the list of current DRC violations on the PCB, optionally filtered by severity (error, warning).
Return the list of current DRC violations on the PCB, optionally filtered by severity (error, warning).
get_elements_in_regiontool List all symbols, wires, and labels within a rectangular region of the schematic. Useful for understanding what is in a specific area before modifying it.
List all symbols, wires, and labels within a rectangular region of the schematic. Useful for understanding what is in a specific area before modifying it.
get_footprint_infotool Get detailed information about a specific footprint
Get detailed information about a specific footprint
get_jlcpcb_database_statstool Get statistics about the local JLCPCB parts database
Get statistics about the local JLCPCB parts database
get_jlcpcb_parttool Get detailed information about a specific JLCPCB part by LCSC number.
Get detailed information about a specific JLCPCB part by LCSC number.
When JLCPCB Open Platform credentials are configured (JLCPCB_APP_ID / JLCPCB_API_KEY /
JLCPCB_API_SECRET, e.g. in a project-root .env), this performs a REAL-TIME lookup — live
stock, tiered pricing, parameters and library type — and falls back to the local snapshot
database if the API call fails or no credentials are set. The response reports which backend
answered via "source" ("live-api" vs "local-db").get_layer_listtool Return the list of all layers defined in the current PCB board.
Return the list of all layers defined in the current PCB board.
get_net_at_pointtool
No description.
get_net_connectionstool Get all connections for a named net
Get all connections for a named net
get_net_padstool Return every PCB pad attached to a net name or net code.
Return every PCB pad attached to a net name or net code.
get_nets_listtool Get a list of all nets in the PCB with optional statistics.
Get a list of all nets in the PCB with optional statistics.
get_pad_positiontool Return the exact XY position of a specific pad on a PCB component. Use this before routing to get accurate start/end coordinates.
Return the exact XY position of a specific pad on a PCB component. Use this before routing to get accurate start/end coordinates.
get_padstool Return pads for one PCB component, selected refs, or all components, including XY, layer, size and net.
Return pads for one PCB component, selected refs, or all components, including XY, layer, size and net.
get_project_infotool Get information about the current project
Get information about the current project
get_project_infotool Get information about the current KiCAD project
Get information about the current KiCAD project
get_ratsnesttool Estimate ratsnest/airwire segments and lengths from current pad positions grouped by net.
Estimate ratsnest/airwire segments and lengths from current pad positions grouped by net.
get_registry_parttool Get full details for one registry part by id: description, downloadable filesNetworkEnv varsoutside text
Get full details for one registry part by id: description, downloadable files (footprint/symbol/3D), datasheet, license, and provenance. Use the id returned by search_parts_registry.
get_schematic_componenttool
No description.
get_schematic_pin_locationstool Returns the exact x/y coordinates of every pin on a schematic component. Use this before add_schematic_net_label to place labels correctly on pin endpoints.
Returns the exact x/y coordinates of every pin on a schematic component. Use this before add_schematic_net_label to place labels correctly on pin endpoints.
get_schematic_viewtool Return a rasterized image of the schematic (PNG by default, or SVG). Uses kicad-cli to export SVG, then converts to PNG via cairosvg. Use this for visual feedba
Return a rasterized image of the schematic (PNG by default, or SVG). Uses kicad-cli to export SVG, then converts to PNG via cairosvg. Use this for visual feedback after placing or wiring components.
get_schematic_view_regiontool Export a cropped region of the schematic as an image (PNG or SVG). Specify bounding box coordinates in schematic mm. Useful for zooming into a specific area to
Export a cropped region of the schematic as an image (PNG or SVG). Specify bounding box coordinates in schematic mm. Useful for zooming into a specific area to inspect wiring or layout.
get_sheet_propertiestool List hierarchical sheets in a schematic with their name, file, uuid, position, and full property map (built-ins plus custom properties set via set_sheet_propert
List hierarchical sheets in a schematic with their name, file, uuid, position, and full property map (built-ins plus custom properties set via set_sheet_property). With sheetName or sheetPath, returns just that sheet.
get_stackuptool Read the stackup from the saved board file, not the board open in memory. Returns each copper, dielectric, mask, and silk entry with its thickness in millimetre
Read the stackup from the saved board file, not the board open in memory. Returns each copper, dielectric, mask, and silk entry with its thickness in millimetres. A thickness the stackup editor has locked is returned as thicknessMm plus thicknessLocked. Layer names are the names stored on the board, so a renamed layer such as 'Top Side' is returned beside the canonical F.Cu name. If an earlier save was refused, the file can be older than the session. Pass expected to compare those rows with a recipe in the same call; thicknessToleranceMm defaults to 0.001 mm and epsilonTolerance defaults to 0.01.
get_symbol_infotool Get detailed information about a specific symbol (global or project-scope when projectPath is supplied or a project has been opened).
Get detailed information about a specific symbol (global or project-scope when projectPath is supplied or a project has been opened).
get_wire_connectionstool
No description.
group_componentstool Group multiple PCB components together by name for easier selection and manipulation.
Group multiple PCB components together by name for easier selection and manipulation.
hierarchical_placetool Cluster a board's footprints by their schematic-sheet hierarchy (the HierPlace algorithm). After sync_schematic_to_board piles every footprint at the origin, th
Cluster a board's footprints by their schematic-sheet hierarchy (the HierPlace algorithm). After sync_schematic_to_board piles every footprint at the origin, this packs each functional block together as a starting point for manual placement. File-based: reads and rewrites the .kicad_pcb on disk, so save any in-memory board edits first. Locked footprints are left in place.
import_3d_modeltool
No description.
import_eagle_projecttool
No description.
import_pcbtool
No description.
import_sestool Import a Specctra SES (session) file into the current PCB. Use after running Freerouting externally.
Import a Specctra SES (session) file into the current PCB. Use after running Freerouting externally.
import_svg_logotool Imports an SVG file as filled graphic polygons onto a KiCAD PCB layer (default F.SilkS / front silkscreen). Curves are linearised automatically. Ideal for placi
Imports an SVG file as filled graphic polygons onto a KiCAD PCB layer (default F.SilkS / front silkscreen). Curves are linearised automatically. Ideal for placing a company or project logo on the board.
import_symboltool
No description.
install_gui_drivertool Deploy the in-KiCad GUI-driver helper plugin into the user's KiCad plugin tree (opt-in). The connect path no longer installs it as a side effect. After install,
Deploy the in-KiCad GUI-driver helper plugin into the user's KiCad plugin tree (opt-in). The connect path no longer installs it as a side effect. After install, set KICAD_GUI_DRIVER_ENABLE=1 in KiCad's environment and restart (or Refresh Plugins) to open the token-gated control channel.
is_dirtytool Return whether the MCP knows the loaded board has unsaved memory changes or external disk changes.
Return whether the MCP knows the loaded board has unsaved memory changes or external disk changes.
kicad_gui_clicktool Activate a menu item or AUI toolbar tool by name (as shown by kicad_gui_tree). Executes immediately — no gating.
Activate a menu item or AUI toolbar tool by name (as shown by kicad_gui_tree). Executes immediately — no gating.
kicad_gui_click_atspitool Backend B: activate the first accessible node matching `name` (and optional role) via do_action.
Backend B: activate the first accessible node matching `name` (and optional role) via do_action.
kicad_gui_screenshottool Capture the driven frame's screen rectangle to a PNG and return its path.
Capture the driven frame's screen rectangle to a PNG and return its path.
kicad_gui_treetool Enumerate the live KiCad GUI via the in-process helper: menus/submenus (name + wx id) and AUI toolbars (id + tooltip). Destructive names carry a '⚠ ' prefix.
Enumerate the live KiCad GUI via the in-process helper: menus/submenus (name + wx id) and AUI toolbars (id + tooltip). Destructive names carry a '⚠ ' prefix.
kicad_gui_tree_atspitool Backend B: dump KiCad's accessible widget tree (role + name) from the Linux a11y bus — zero in-KiCad code.
Backend B: dump KiCad's accessible widget tree (role + name) from the Linux a11y bus — zero in-KiCad code.
kicad_gui_wait_fortool Poll until a shown top-level window whose title contains `title` exists (or timeout).
Poll until a shown top-level window whose title contains `title` exists (or timeout).
kicad_pcb_snapshottool GUI playbook: trigger Zoom to Fit, wait for the repaint, screenshot the frame.
GUI playbook: trigger Zoom to Fit, wait for the repaint, screenshot the frame.
kicad_reload_and_open_plugintool GUI playbook (plugin dev/test loop): trigger Refresh Plugins, then open the named External-Plugins entry.
GUI playbook (plugin dev/test loop): trigger Refresh Plugins, then open the named External-Plugins entry.
kicad_run_action_plugintool Find the Tools > External Plugins submenu entry with the given name (e.g. 'Open kiHarness') and trigger it.
Find the Tools > External Plugins submenu entry with the given name (e.g. 'Open kiHarness') and trigger it.
kicad_run_drctool GUI playbook: open the Design Rules Checker dialog, click 'Run DRC', then scrape the violations grid into structured results.
GUI playbook: open the Design Rules Checker dialog, click 'Run DRC', then scrape the violations grid into structured results.
launch_kicad_uitool Launch KiCAD UI, optionally with a project file
Launch KiCAD UI, optionally with a project file
lint_offgridtool
No description.
lint_schematic_cosmetictool
No description.
list_floating_labelstool
No description.
list_footprint_librariestool
No description.
list_graphicstool List PCB graphic/drawing items such as gr_line, gr_arc, gr_rect, gr_text and dimensions.
List PCB graphic/drawing items such as gr_line, gr_arc, gr_rect, gr_text and dimensions.
list_librariestool List all available KiCAD footprint libraries
List all available KiCAD footprint libraries
list_library_footprintstool List footprints in a KiCAD library, sorted by name; returns the first 100 unless `limit` is set
List footprints in a KiCAD library, sorted by name; returns the first 100 unless `limit` is set
list_library_symbolstool List all symbols in a specific KiCAD symbol library (global or project-scope when projectPath is supplied or a project has been opened).
List all symbols in a specific KiCAD symbol library (global or project-scope when projectPath is supplied or a project has been opened).
list_library_tabletool
No description.
list_schematic_componentstool List all components in a schematic with their references, values, positions, and pins. Essential for inspecting what's on the schematic before making edits.
List all components in a schematic with their references, values, positions, and pins. Essential for inspecting what's on the schematic before making edits.
list_schematic_labelstool
No description.
list_schematic_librariestool List available KiCAD symbol libraries
List available KiCAD symbol libraries
list_schematic_netstool List all nets in the schematic with their connections.
List all nets in the schematic with their connections.
list_schematic_rectanglestool
No description.
list_schematic_textstool
No description.
list_schematic_wirestool List all wires in the schematic with start/end coordinates.
List all wires in the schematic with start/end coordinates.
list_symbol_librariestool List all available KiCAD symbol libraries from global sym-lib-table, plus the project's sym-lib-table when projectPath (or any related file) is supplied or a pr
List all available KiCAD symbol libraries from global sym-lib-table, plus the project's sym-lib-table when projectPath (or any related file) is supplied or a project has been opened.
list_symbol_pinstool Return pin names, numbers, and types for a symbol directly from the library — no schematic required. Use this before add_schematic_component to discover pins fo
Return pin names, numbers, and types for a symbol directly from the library — no schematic required. Use this before add_schematic_component to discover pins for connect_to_net calls. Each pin has 'number' (e.g. '1', 'A5') and 'name' (e.g. 'FB', 'GND') — connect_to_net accepts either. Pass schematicPath to resolve project-local symbols. Returns close-match suggestions if the symbol name is slightly wrong.
list_symbols_in_librarytool List all symbol names in a .kicad_sym library file.
List all symbol names in a .kicad_sym library file.
list_tool_categoriestool List all available KiCAD tool categories with their descriptions and tool counts. Use this to discover which tools exist; every tool can then be called directly
List all available KiCAD tool categories with their descriptions and tool counts. Use this to discover which tools exist; every tool can then be called directly by name.
list_toolboxestool List the toolboxes: groups of related KiCad tools, each with a description, its tools, and whether it is open. Your tool list holds the core tools plus the toolFiles
List the toolboxes: groups of related KiCad tools, each with a description, its tools, and whether it is open. Your tool list holds the core tools plus the tools of open toolboxes; open a toolbox with open_toolbox to add its tools.
list_variantstool List the assembly variants registered in a KiCad project.
List the assembly variants registered in a KiCad project.
load_schematictool Load an existing KiCAD schematic
Load an existing KiCAD schematic
modify_tracetool Modify an existing trace (change width, layer, or net).
Modify an existing trace (change width, layer, or net).
move_componenttool Move a PCB component to a new position. Optionally update rotation or flip to a different copper layer.
Move a PCB component to a new position. Optionally update rotation or flip to a different copper layer.
move_footprint_texttool Move or update a footprint Reference/Value/user text field without moving the footprint.
Move or update a footprint Reference/Value/user text field without moving the footprint.
move_schematic_componenttool Move a placed symbol to a new position in the schematic. By default (preserveWires=true) wire endpoints touching the component's pins are stretched to follow th
Move a placed symbol to a new position in the schematic. By default (preserveWires=true) wire endpoints touching the component's pins are stretched to follow the new position, no-connect flags and net labels on those pins come along, and bends left diagonal by the stretch are squared up again. For a multi-unit part pass unit to say which placement to move.
move_schematic_net_labeltool Move a net label (local, global, or hierarchical) to a new position in the schematic. Use currentPosition to disambiguate when multiple labels share the same na
Move a net label (local, global, or hierarchical) to a new position in the schematic. Use currentPosition to disambiguate when multiple labels share the same name.
open_boardtool Open a specific .kicad_pcb board file and refresh the MCP in-memory board state.
Open a specific .kicad_pcb board file and refresh the MCP in-memory board state.
open_projecttool Open an existing KiCAD project
Open an existing KiCAD project
open_projecttool Open an existing KiCAD project
Open an existing KiCAD project
open_toolboxtool Open one or more toolboxes (see list_toolboxes) to add their tools to your tool list. In most clients the new tools can be called from the user's next message, Filesoutside text
Open one or more toolboxes (see list_toolboxes) to add their tools to your tool list. In most clients the new tools can be called from the user's next message, not in the current turn, so open what a task needs before starting it.
place_componenttool Place a footprint component onto the PCB at the specified position. Optionally set reference, value, footprint, rotation and layer.
Place a footprint component onto the PCB at the specified position. Optionally set reference, value, footprint, rotation and layer.
place_component_arraytool Place a rectangular grid array of identical components on the PCB with configurable row/column spacing.
Place a rectangular grid array of identical components on the PCB with configurable row/column spacing.
query_tracestool Query traces on the board with optional filters by net, layer, or bounding box.
Query traces on the board with optional filters by net, layer, or bounding box.
query_zonestool Query copper zones (filled pours) on the board with optional filters by net, layer, or bounding box. Returns zone net, layers, priority, fill state, and boundin
Query copper zones (filled pours) on the board with optional filters by net, layer, or bounding box. Returns zone net, layers, priority, fill state, and bounding box. Useful for auditing power planes and GND pours that query_traces does not include.
refill_zonestool Refill all copper zones on the board. WARNING: SWIG path has known segfault risk (see KNOWN_ISSUES.md). Prefer using IPC backend (KiCAD open) or triggering zone
Refill all copper zones on the board. WARNING: SWIG path has known segfault risk (see KNOWN_ISSUES.md). Prefer using IPC backend (KiCAD open) or triggering zone fill via KiCAD UI instead.
register_footprint_librarytool
No description.
register_symbol_librarytool
No description.
reload_boardtool Reload the current or specified .kicad_pcb from disk, discarding stale in-memory board state.
Reload the current or specified .kicad_pcb from disk, discarding stale in-memory board state.
remove_hierarchical_sheettool Remove a hierarchical-sheet reference from a parent schematic (the reverse of add_hierarchical_sheet). Identify the sheet by sheetName (matches the sheet's name
Remove a hierarchical-sheet reference from a parent schematic (the reverse of add_hierarchical_sheet). Identify the sheet by sheetName (matches the sheet's name property) or by subsheetPath (matched by basename against the sheet's file property). Deletes the (sheet ...) block and any matching (sheet_instances) page entry. Does NOT delete the sub-sheet .kicad_sch file on disk.
remove_library_table_entrytool
No description.
remove_schematic_component_propertytool Remove a single custom property from a placed schematic symbol.
Remove a single custom property from a placed schematic symbol. Built-in fields (Reference, Value, Footprint, Datasheet) cannot be removed — KiCad requires them on every symbol. To clear a built-in field, use edit_schematic_component and set its value to an empty string.
rename_symboltool
No description.
repair_flat_symbolstool Repair "flat" vendor symbols so schematic tools can parse the file.
Repair "flat" vendor symbols so schematic tools can parse the file. SnapEDA/SamacSys .kicad_sym captures often put pins and graphics directly under the top-level (symbol "NAME" ...) with no _1_1 sub-unit. KiCad and kicad-cli tolerate this, but the kicad-skip parser used by the schematic edit/inspect tools (list_schematic_components, batch_connect, ...) crashes on it — for any sheet that uses, or embeds a snapshot of, such a symbol. This tool wraps the drawable/pin children in a proper (symbol "NAME_1_1") sub-unit via pure text insertion (formatting preserved, render-neutral). Works on standalone .kicad_sym libraries and on the embedded (lib_symbols) block of a .kicad_sch. Idempotent; already-wrapped and extends-derived symbols are skipped. Dry-run by default — files are edited in place, so keep them under version control before repairing.
replace_board_outlinetool Replace the current Edge.Cuts board outline with a rectangle, rounded rectangle, circle or polygon.
Replace the current Edge.Cuts board outline with a rectangle, rounded rectangle, circle or polygon.
replace_componenttool Alias of edit_component: swap a placed PCB component's footprint and optionally its value. The new footprint is newFootprint, or newComponentId when it is in Li
Alias of edit_component: swap a placed PCB component's footprint and optionally its value. The new footprint is newFootprint, or newComponentId when it is in Library:Footprint form.
replace_instance_lib_idstool Replace lib_id references in schematic symbol instances per an explicit old-to-new mapping — the mechanical layer of a library migration (e.g. eagle_import symb
Replace lib_id references in schematic symbol instances per an explicit old-to-new mapping — the mechanical layer of a library migration (e.g. eagle_import symbols to curated library symbols). Mirror-variant suffixes (__m0/__m90/__m180/__m270) get automatic angle correction; each needs its own mapping entry. Only instances are rewritten; lib_symbols is preserved (use update_symbol_from_library to refresh definitions afterwards).
replace_schematic_componenttool Replace a placed component's symbol with a different one (e.g. Device:R -> Device:R_Potentiometer), preserving its position, rotation, and field values (Value/F
Replace a placed component's symbol with a different one (e.g. Device:R -> Device:R_Potentiometer), preserving its position, rotation, and field values (Value/Footprint/custom). Optionally override rotation with newRotation. Returns the new pin positions.
rotate_componenttool Rotate a PCB component to an absolute angle in degrees.
Rotate a PCB component to an absolute angle in degrees.
rotate_schematic_componenttool Rotate a placed symbol in the schematic. For a multi-unit part pass unit to say which placement to rotate.
Rotate a placed symbol in the schematic. For a multi-unit part pass unit to say which placement to rotate.
route_arc_tracetool Route a copper arc trace defined by start/mid/end points. Uses true PCB arc primitives when available.
Route a copper arc trace defined by start/mid/end points. Uses true PCB arc primitives when available.
route_differential_pairtool Route a differential pair as two parallel straight segments. startPos and endPos are the pair's centreline; looking from start to end on the board (y down), the
Route a differential pair as two parallel straight segments. startPos and endPos are the pair's centreline; looking from start to end on the board (y down), the positive trace runs on the right and the negative on the left, each offset by (gap + width) / 2.
route_pad_to_padtool PREFERRED tool for pad-to-pad routing. Looks up pad positions automatically, detects the net from the pad, and — critically — if the two pads are on different c
PREFERRED tool for pad-to-pad routing. Looks up pad positions automatically, detects the net from the pad, and — critically — if the two pads are on different copper layers (e.g. J1 on F.Cu and J2 on B.Cu) automatically inserts a via at the midpoint so the connection is complete. Always use this instead of route_trace when routing between named component pads.
route_tracetool Route a trace between two points or pads
Route a trace between two points or pads
route_tracetool Route a trace segment between two XY points on a fixed layer. WARNING: Does NOT handle layer changes — if start and end are on different copper layers, use rout
Route a trace segment between two XY points on a fixed layer. WARNING: Does NOT handle layer changes — if start and end are on different copper layers, use route_pad_to_pad instead, which automatically inserts a via.
run_drctool Run the KiCAD Design Rule Check (DRC) on the current PCB and return violations, including unconnected items (unrouted connections) and, on request, schematic-pa
Run the KiCAD Design Rule Check (DRC) on the current PCB and return violations, including unconnected items (unrouted connections) and, on request, schematic-parity issues. Each violation in the saved file lists the items it names (description, uuid, position). Zones are refilled first by default, as in KiCad's DRC dialog. Optionally save the report to a file.
run_erctool Runs the KiCAD Electrical Rules Check (ERC) on a schematic and returns all violations. Use after wiring to verify the schematic before generating a netlist.
Runs the KiCAD Electrical Rules Check (ERC) on a schematic and returns all violations. Use after wiring to verify the schematic before generating a netlist.
save_astool Save the current PCB board to a new .kicad_pcb path.
Save the current PCB board to a new .kicad_pcb path.
save_boardtool Save the current PCB board. Refuses to overwrite external disk edits unless force=true.
Save the current PCB board. Refuses to overwrite external disk edits unless force=true.
save_projecttool Save the current KiCAD project
Save the current KiCAD project
save_projecttool
No description.
search_footprintstool Search for footprints matching a pattern across all libraries
Search for footprints matching a pattern across all libraries
search_jlcpcb_partstool Search JLCPCB parts catalog by specifications.
Search JLCPCB parts catalog by specifications. Searches the local JLCPCB database (must be downloaded first with download_jlcpcb_database). Provides real pricing, stock info, and library type (Basic parts = free assembly). Use this to find components with exact specifications and cost optimization. For a verified, ready-to-use KiCAD footprint/symbol/3D bundle (rather than sourcing/stock data), use search_parts_registry instead.
search_parts_registrytool Search an open, gate-verified parts registry for existing KiCAD parts BEFORENetworkEnv varsoutside text
Search an open, gate-verified parts registry for existing KiCAD parts BEFORE generating a custom footprint/symbol from scratch. Complements search_jlcpcb_parts: use that tool for JLCPCB sourcing data (price, stock, assembly tier); use this one to fetch a verified existing footprint/symbol/3D bundle. Default registry: PartReel (https://partreel.com) — 18k+ verified parts, no auth. Override with the PARTREEL_API_BASE environment variable to point at any compatible registry. Matches are case-insensitive substrings over the part name, keywords, family, and manufacturer.
search_symbolstool Search for symbols in local KiCAD symbol libraries.
Search for symbols in local KiCAD symbol libraries. Searches by: symbol name, LCSC ID, description, manufacturer, MPN, category. Use this to find components already in your local libraries (e.g., JLCPCB-KiCad-Library). Returns symbol references that can be used directly in schematics.
search_toolstool Search all available KiCAD tools by keyword. Returns matching tool names and their categories.
Search all available KiCAD tools by keyword. Returns matching tool names and their categories.
set_active_layertool Set the currently active PCB layer by name (e.g. F.Cu, B.Cu).
Set the currently active PCB layer by name (e.g. F.Cu, B.Cu).
set_board_origintool
No description.
set_board_sizetool Set the PCB board dimensions (width and height) in the specified unit.
Set the PCB board dimensions (width and height) in the specified unit.
set_component_varianttool Set or remove a component's DNP and field overrides for an assembly variant.
Set or remove a component's DNP and field overrides for an assembly variant.
set_design_rulestool Configure PCB design rules: clearance, track width, via dimensions and courtyard requirements.
Configure PCB design rules: clearance, track width, via dimensions and courtyard requirements.
set_footprint_typetool Set the placement type (through_hole / smd / unspecified) and optional exclusion flags on a placed PCB footprint. The placement type controls whether the footpr
Set the placement type (through_hole / smd / unspecified) and optional exclusion flags on a placed PCB footprint. The placement type controls whether the footprint is included in pick-and-place (.pos) output files. Use exclude_from_pos_files to suppress a footprint from .pos exports without changing its type.
set_layer_constraintstool Set per-layer design rule constraints (minimum track width, clearance and via dimensions).
Set per-layer design rule constraints (minimum track width, clearance and via dimensions).
set_library_table_uritool
No description.
set_net_colortool
No description.
set_schematic_component_propertytool Add or update a single custom property on a placed schematic symbol.
Add or update a single custom property on a placed schematic symbol. This is a focused convenience wrapper around edit_schematic_component for the very common case of attaching one BOM / sourcing field at a time. The property is created if it does not already exist on the component. Typical custom properties: • MPN, Manufacturer, Manufacturer_PN — manufacturer part number metadata • DigiKey, DigiKey_PN, Mouser_PN, LCSC, JLCPCB_PN — distributor part numbers • Voltage, Tolerance, Power, Dielectric, Temperature_Coefficient — passive parameters • Description, Notes — free-form documentation • Any custom field your BOM exporter expects. These properties are written into the .kicad_sch file as standard KiCad property records, are exported by export_bom, and are picked up by the JLCPCB and Digi-Key sourcing tools. Newly-created properties default to hidden — set hide=false to display the value on the schematic canvas. For batch updates of multiple properties at once, use edit_schematic_component with the `properties` parameter instead.
set_schematic_property_positiontool
No description.
set_schematic_rectangletool
No description.
set_sheet_propertytool Add or update a custom property on a hierarchical sheet's (sheet ...) block — e.g. cell identity or generator parameters carried as sheet metadata. Identify the
Add or update a custom property on a hierarchical sheet's (sheet ...) block — e.g. cell identity or generator parameters carried as sheet metadata. Identify the sheet by sheetName or sheetPath (basename match against the sheet's file property). The property is created hidden if absent, otherwise its value is updated in place; the file's formatting is preserved. The built-in 'Sheet name'/'Sheet file' properties cannot be set here — use add/remove_hierarchical_sheet to manage the sheet link.
set_stackup_layertool Set the thickness of one stackup row in the board file, and for a dielectric its material, relative permittivity, and loss tangent. Identify the row by index fr
Set the thickness of one stackup row in the board file, and for a dielectric its material, relative permittivity, and loss tangent. Identify the row by index from get_stackup or by a layer name such as F.Cu or the name stored on the board. Only the fields you pass are changed. sublayer selects a dielectric piece and defaults to 0.
set_symbol_pin_typetool
No description.
set_voltage_clearance_rulestool Write clearance and creepage rules graded by the working voltage between net classes, as a managed block in the board's .kicad_dru.
Write clearance and creepage rules graded by the working voltage between net classes, as a managed block in the board's .kicad_dru. Give each net class its potential against one shared reference: a single number for a node that stays at one potential, or [min, max] for a node that swings (a half-bridge switch node going 0 to 800 V is [0, 800]). The working voltage between two classes is the largest difference their ranges can show, max(|maxA - minB|, |maxB - minA|), which is |Va - Vb| for two fixed nodes. A swinging node given only its maximum is under-spaced against the bus it swings to (800 vs 800 reads as 0 V), so use the range. Use 'pairs' to set the working voltage of one pair directly, for classes in separate domains, for example across an isolation barrier. 'spacing' maps working voltage to the required clearance and (optionally) creepage. Choose its values from your standard (e.g. IPC-2221 or IEC 60664) and your coating or potting; the tool does not supply them. Under IEC 60664-1 clearance follows from the impulse/peak voltage and creepage from the RMS working voltage, so the voltage you key the table by must suit both columns. Once a row gives a creepage, every higher row must too. One rule is written per pair of classes, plus one per class against all other nets (at otherNetsVoltage, default 0 V). A re-run replaces the block and leaves other rules alone. The write is refused if the rest of the .kicad_dru does not parse, because KiCad silently ignores every rule in a file it cannot parse. Classes not defined in the project are reported in warnings. Rules apply from the next DRC run. Needs KiCad 9 or newer (creepage constraint, hasNetclass); on KiCad 8 the tool refuses and writes nothing.
snap_to_gridtool
No description.
snapshot_projecttool Save a named checkpoint snapshot of the current project state (renders board to PDF and records step label). Call after completing each major step — e.g. after
Save a named checkpoint snapshot of the current project state (renders board to PDF and records step label). Call after completing each major step — e.g. after Step 1 (schematic_ok) and Step 2 (layout_ok). Required by the demo workflow before waiting for user confirmation.
suggest_jlcpcb_alternativestool Suggest alternative JLCPCB parts for a given component.
Suggest alternative JLCPCB parts for a given component. Finds similar parts that may be cheaper, have more stock, or are Basic library type. Useful for cost optimization and finding alternatives when parts are out of stock.
suggest_placementtool Propose an optimized PCB footprint placement that shortens net length, orients parts toward their partners, and removes courtyard overlaps. Force-directed clust
Propose an optimized PCB footprint placement that shortens net length, orients parts toward their partners, and removes courtyard overlaps. Force-directed clustering pulls connected parts together (a converter's feedback divider and decoupling caps end up hugging its IC), power/high-current nets are weighted short & direct, and each part is rotated (0/90/180/270) to face neighbours so airwires stop crossing. PCB ONLY — does not touch the schematic. DRY RUN by default: returns proposals {ref:[x,y,rot]} plus a score (HPWL before/after, overlap counts) without modifying the board. Validate via check_courtyard_overlaps(positions=proposals), then re-run with apply=true before autoroute.suggest_schematic_decluttertool Re-orient overlapping net/global labels so their text lands in free space and becomes readable. Each label's (at x,y) anchor is its electrical connection point,
Re-orient overlapping net/global labels so their text lands in free space and becomes readable. Each label's (at x,y) anchor is its electrical connection point, so it is held FIXED — only the orientation (0/90/180/270) and justification change, throwing the text away from component bodies and other labels. Connectivity is never altered. DRY RUN by default: returns proposals [{name, at, from_angle, to_angle}] plus an overlap score (before/after) WITHOUT modifying the schematic. Set apply=true to rewrite the label orientations. (Phase 1: labels only; symbol spreading + wire reroute is a separate future capability.)summarize_net_coppertool Summarize one net's copper without listing every track, via, and zone. Returns the three counts, the layers involved, the bounding box, and a shape: vias_only,
Summarize one net's copper without listing every track, via, and zone. Returns the three counts, the layers involved, the bounding box, and a shape: vias_only, tracks_only, zones_only, empty, or mixed. vias_only means the net has vias and neither tracks nor zones. An unknown net is an error, not an empty shape.
summarize_viastool Count vias on the board without listing them. Returns the via count, how many run from F.Cu to B.Cu, a drill histogram, and the layer spans. Filter by net, rect
Count vias on the board without listing them. Returns the via count, how many run from F.Cu to B.Cu, a drill histogram, and the layer spans. Filter by net, rectangle, drill, or layer name. A stitched ground net can hold thousands of vias; this summary is the census a PDN review needs.
sync_schematic_to_boardtool Import the schematic netlist into the PCB board — equivalent to pressing F8 in KiCAD (Tools → Update PCB from Schematic). MUST be called after the schematic is
Import the schematic netlist into the PCB board — equivalent to pressing F8 in KiCAD (Tools → Update PCB from Schematic). MUST be called after the schematic is complete and before placing or routing components on the PCB. Without this step, the board has no footprints and no net assignments — place_component and route_pad_to_pad will produce an empty, unroutable board.
update_graphictool Update common properties of a PCB graphic/drawing item by UUID.
Update common properties of a PCB graphic/drawing item by UUID.
update_symbol_from_librarytool Refresh embedded lib_symbols cache entries from a KiCad symbol library (equivalent to KiCad's Update Symbol from Library). Skips mirror-cache entries (__m0, __m
Refresh embedded lib_symbols cache entries from a KiCad symbol library (equivalent to KiCad's Update Symbol from Library). Skips mirror-cache entries (__m0, __m90, …). Flattens (power) symbols for schematic format. Pass projectsDir to update all schematics in a folder, or schematicPath for one file.
validate_schematictool
No description.
validate_symbol_librarytool
No description.
Text the model reads (319)
Every tool, prompt and resource description as written in the code: the model sees all of it, the user usually does not.
(name computed at run time) tool
open_project tool
Open an existing KiCAD project
save_project tool
Save the current KiCAD project
get_project_info tool
Get information about the current project
(name computed at run time) tool
add_board_outline tool
Add a board outline to the PCB
(name computed at run time) tool
(name computed at run time) tool
route_trace tool
Route a trace between two points or pads
(name computed at run time) tool
load_schematic tool
Load an existing KiCAD schematic
add_schematic_component tool
Add a component to a KiCAD schematic
add_schematic_wire tool
Add a wire connection to a KiCAD schematic
list_schematic_libraries tool
List available KiCAD symbol libraries
export_schematic_pdf tool
Export a KiCAD schematic to PDF
set_board_size tool
Set the PCB board dimensions (width and height) in the specified unit.
set_board_origin tool
get_board_origin tool
Read back the auxiliary (drill/place) origin and grid origin of a .kicad_pcb in mm.
add_layer tool
Add a new copper or technical layer to the PCB stackup.
set_active_layer tool
Set the currently active PCB layer by name (e.g. F.Cu, B.Cu).
get_board_info tool
Retrieve general information about the current PCB board (dimensions, layer count, DRC status).
get_layer_list tool
Return the list of all layers defined in the current PCB board.
get_stackup tool
Read the stackup from the saved board file, not the board open in memory. Returns each copper, dielectric, mask, and silk entry with its thickness in millimetres. A thickness the stackup editor has locked is returned as thicknessMm plus thicknessLocked. Layer names are the names stored on the board, so a renamed layer such as 'Top Side' is returned beside the canonical F.Cu name. If an earlier save was refused, the file can be older than the session. Pass expected to compare those rows with a recipe in the same call; thicknessToleranceMm defaults to 0.001 mm and epsilonTolerance defaults to 0.01.
set_stackup_layer tool
Set the thickness of one stackup row in the board file, and for a dielectric its material, relative permittivity, and loss tangent. Identify the row by index from get_stackup or by a layer name such as F.Cu or the name stored on the board. Only the fields you pass are changed. sublayer selects a dielectric piece and defaults to 0.
add_board_outline tool
Draw the PCB board outline (Edge.Cuts layer) as a rectangle, rounded rectangle, circle or polygon.
clear_board_outline tool
Delete all Edge.Cuts graphics from the current PCB board.
replace_board_outline tool
Replace the current Edge.Cuts board outline with a rectangle, rounded rectangle, circle or polygon.
list_graphics tool
List PCB graphic/drawing items such as gr_line, gr_arc, gr_rect, gr_text and dimensions.
delete_graphic tool
Delete a PCB graphic/drawing item by UUID.
update_graphic tool
Update common properties of a PCB graphic/drawing item by UUID.
add_mounting_hole tool
Place a mounting hole (NPTH or PTH) at the specified position on the PCB.
add_board_text tool
Add a text label to a PCB layer (e.g. silkscreen, fab, courtyard).
add_zone tool
Create a copper fill zone (pour) on a PCB layer for a specified net.
add_copper_keepout tool
get_board_extents tool
Return the bounding box (min/max X and Y) of all objects on the current PCB board.
get_board_2d_view tool
import_svg_logo tool
Imports an SVG file as filled graphic polygons onto a KiCAD PCB layer (default F.SilkS / front silkscreen). Curves are linearised automatically. Ideal for placing a company or project logo on the board.
place_component tool
Place a footprint component onto the PCB at the specified position. Optionally set reference, value, footprint, rotation and layer.
move_component tool
Move a PCB component to a new position. Optionally update rotation or flip to a different copper layer.
batch_move_components tool
Move multiple PCB components transactionally. If one reference/spec is invalid, no components are moved. Saves by default unless save=false.
rotate_component tool
Rotate a PCB component to an absolute angle in degrees.
delete_component tool
Remove a component from the PCB by its reference designator.
edit_component tool
Edit properties of an existing PCB component (reference, value, footprint).
set_footprint_type tool
Set the placement type (through_hole / smd / unspecified) and optional exclusion flags on a placed PCB footprint. The placement type controls whether the footprint is included in pick-and-place (.pos) output files. Use exclude_from_pos_files to suppress a footprint from .pos exports without changing its type.
find_component tool
Search for a PCB component by reference designator or value and return its position and properties.
get_component_properties tool
Return all properties of a PCB component (position, rotation, layer, value, footprint).
group_components tool
Group multiple PCB components together by name for easier selection and manipulation.
replace_component tool
Alias of edit_component: swap a placed PCB component's footprint and optionally its value. The new footprint is newFootprint, or newComponentId when it is in Library:Footprint form.
get_component_pads tool
Return all pads of a PCB component with their positions, net assignments and sizes.
get_pads tool
Return pads for one PCB component, selected refs, or all components, including XY, layer, size and net.
get_net_pads tool
Return every PCB pad attached to a net name or net code.
get_component_geometry tool
Return separated footprint geometry bboxes: body, pads, courtyard, keepout, fab, silk and text.
get_component_list tool
Return a list of all components on the PCB, optionally filtered by layer or bounding box region. matchPadCenter also keeps a footprint when any pad centre is inside the box. includePads adds each pad's number, net, and position.
get_pad_position tool
Return the exact XY position of a specific pad on a PCB component. Use this before routing to get accurate start/end coordinates.
get_ratsnest tool
Estimate ratsnest/airwire segments and lengths from current pad positions grouped by net.
estimate_airwire_lengths tool
Alias for get_ratsnest: estimate airwire segments and lengths by net.
check_placement_clearance tool
Classify placement conflicts as body overlap, courtyard overlap, keepout violation, silk/text overlap or pad clearance.
move_footprint_text tool
Move or update a footprint Reference/Value/user text field without moving the footprint.
place_component_array tool
Place a rectangular grid array of identical components on the PCB with configurable row/column spacing.
align_components tool
Align multiple PCB components horizontally, vertically or on a grid with optional spacing.
check_courtyard_overlaps tool
Detect courtyard overlaps between footprints and (optionally) flag courtyards that extend past the board outline. Accepts a `positions` dict of hypothetical placements so an AI can validate a proposed move_component / place_component before committing it. Returns overlap pairs with intersection extents (mm) and per-component boundary violations.
suggest_placement tool
Propose an optimized PCB footprint placement that shortens net length, orients parts toward their partners, and removes courtyard overlaps. Force-directed clustering pulls connected parts together (a converter's feedback divider and decoupling caps end up hugging its IC), power/high-current nets are weighted short & direct, and each part is rotated (0/90/180/270) to face neighbours so airwires stop crossing. PCB ONLY — does not touch the schematic. DRY RUN by default: returns proposals {ref:[x,y,rot]} plus a score (HPWL before/after, overlap counts) without modifying the board. Validate via check_courtyard_overlaps(positions=proposals), then re-run with apply=true before autoroute.duplicate_component tool
Duplicate an existing PCB component at an offset position, optionally with a new reference designator.
hierarchical_place tool
Cluster a board's footprints by their schematic-sheet hierarchy (the HierPlace algorithm). After sync_schematic_to_board piles every footprint at the origin, this packs each functional block together as a starting point for manual placement. File-based: reads and rewrites the .kicad_pcb on disk, so save any in-memory board edits first. Locked footprints are left in place.
enrich_datasheets tool
Fill in missing Datasheet URLs in a KiCAD schematic using LCSC part numbers. For every placed symbol that has: • (property "LCSC" "C123456") set • (property "Datasheet" "~") or empty Sets the Datasheet field to: https://www.lcsc.com/datasheet/C123456.pdf The URL is then visible in KiCAD's footprint browser, symbol properties dialog, and any tool that reads the standard KiCAD Datasheet field. No API key or internet lookup required – the URL is constructed directly. Use dry_run=true to preview changes without writing.
get_datasheet_url tool
Get the LCSC datasheet URL for a component by LCSC number.
Returns the direct PDF URL and product page URL.
No network request – URL is constructed from the LCSC number alone.
Example: get_datasheet_url("C179739")
→ https://www.lcsc.com/datasheet/C179739.pdfset_design_rules tool
Configure PCB design rules: clearance, track width, via dimensions and courtyard requirements.
get_design_rules tool
Return the current PCB design rules (clearance, track width, via sizes, courtyard settings).
run_drc tool
Run the KiCAD Design Rule Check (DRC) on the current PCB and return violations, including unconnected items (unrouted connections) and, on request, schematic-parity issues. Each violation in the saved file lists the items it names (description, uuid, position). Zones are refilled first by default, as in KiCad's DRC dialog. Optionally save the report to a file.
assign_net_to_class tool
Assign a net to an existing net class to apply its specific design rules.
set_layer_constraints tool
Set per-layer design rule constraints (minimum track width, clearance and via dimensions).
set_voltage_clearance_rules tool
Write clearance and creepage rules graded by the working voltage between net classes, as a managed block in the board's .kicad_dru. Give each net class its potential against one shared reference: a single number for a node that stays at one potential, or [min, max] for a node that swings (a half-bridge switch node going 0 to 800 V is [0, 800]). The working voltage between two classes is the largest difference their ranges can show, max(|maxA - minB|, |maxB - minA|), which is |Va - Vb| for two fixed nodes. A swinging node given only its maximum is under-spaced against the bus it swings to (800 vs 800 reads as 0 V), so use the range. Use 'pairs' to set the working voltage of one pair directly, for classes in separate domains, for example across an isolation barrier. 'spacing' maps working voltage to the required clearance and (optionally) creepage. Choose its values from your standard (e.g. IPC-2221 or IEC 60664) and your coating or potting; the tool does not supply them. Under IEC 60664-1 clearance follows from the impulse/peak voltage and creepage from the RMS working voltage, so the voltage you key the table by must suit both columns. Once a row gives a creepage, every higher row must too. One rule is written per pair of classes, plus one per class against all other nets (at otherNetsVoltage, default 0 V). A re-run replaces the block and leaves other rules alone. The write is refused if the rest of the .kicad_dru does not parse, because KiCad silently ignores every rule in a file it cannot parse. Classes not defined in the project are reported in warnings. Rules apply from the next DRC run. Needs KiCad 9 or newer (creepage constraint, hasNetclass); on KiCad 8 the tool refuses and writes nothing.
check_clearance tool
Check the actual clearance between two PCB items (track, via, pad, zone or component) and report whether it meets the design rules.
audit_via_nets tool
Compare every via's net in the saved board with a reference board (a .kicad_pcb file or a git revision such as HEAD) and list vias whose net changed, plus vias added, removed or moved. KiCad can silently change a via's net on save (e.g. to a surrounding zone's net, or after an autorouter import), and DRC does not flag it because the board stays self-consistent. Run after saving, autorouting or importing a session.
get_drc_violations tool
Return the list of current DRC violations on the PCB, optionally filtered by severity (error, warning).
digikey_test_connection tool
digikey_search_parts tool
digikey_check_library_availability tool
import_eagle_project tool
export_gerber tool
Export PCB Gerber manufacturing files to a directory. Optionally include drill files, map files and choose layer subset.
export_pdf tool
Export the PCB layout as a PDF document, optionally selecting layers, page size and colour mode.
export_svg tool
Export the PCB layout as an SVG vector image, optionally selecting layers and colour mode.
export_3d tool
Export the PCB as a 3D model (STEP, STL, VRML or OBJ) including optional copper, solder mask, silkscreen and component 3D models.
export_bom tool
Export a Bill of Materials (BOM) from the PCB in CSV, XML, HTML or JSON format.
export_netlist tool
Export the schematic netlist to a file using kicad-cli. Supports KiCad XML (default), Spice (for simulation), Cadstar, and OrcadPCB2 formats. Use this when you need to write a netlist file to disk — for example to produce a SPICE file for simulation or to diff against a reference. To get net/component data inline without writing a file, use generate_netlist instead.
export_position_file tool
Export a component placement/position file (pick-and-place) for PCB assembly in CSV or ASCII format.
export_vrml tool
Export the PCB as a VRML 3D model for use in web viewers or simulation tools.
export_gerbers tool
Plot Gerber files for a PCB via kicad-cli, exposing the full Plot-dialog option set (X2, netlist attributes, DNP handling, soldermask subtraction, precision, drill-file origin, stored board plot settings, etc). Reads the board from disk, so it reflects the last SAVED state of the .kicad_pcb.
export_drill tool
Generate drill files for a PCB via kicad-cli, exposing the full Excellon/Gerber drill option set (format, drill origin, zero suppression, oval format, units, mirror-Y, minimal header, separate PTH/NPTH files, drill map + map format). Reads the last SAVED state of the .kicad_pcb.
export_ipc2581 tool
Export the PCB in IPC-2581 format via kicad-cli. Single-file MES/CAD interchange carrying placement, nets and BOM part data inline. The bomCol* params map schematic fields to the embedded BOM columns (e.g. internal P/N, manufacturer P/N) — useful for assembly/MES imports. Reads the last SAVED state of the .kicad_pcb.
export_odb tool
Export the PCB in ODB++ format via kicad-cli. Single job archive (copper, drill, placement, components, nets, outline) widely used by CAM/MES/assembly. Reads the last SAVED state of the .kicad_pcb.
export_ipcd356 tool
Generate an IPC-D-356 bare-board electrical-test netlist via kicad-cli. Consumed by flying-probe and bed-of-nails testers. Reads the last SAVED state of the .kicad_pcb.
export_gencad tool
Export the PCB in GenCAD format via kicad-cli. Assembly/test interchange format. Exposes padstack flip, unique pin/footprint shape generation, drill-file origin, and store-origin-coordinate options. Reads the last SAVED state of the .kicad_pcb.
export_pos tool
Generate a component placement (position / pick-and-place) file via kicad-cli, exposing the full CLI option set (side, format, units, bottom-negate-X, drill-file origin, SMD-only, exclude through-hole / DNP, gerber board edge). Rich CLI sibling of export_position_file. Reads the last SAVED state of the .kicad_pcb.
export_pcb_pdf tool
Plot the PCB layout to PDF via kicad-cli, exposing the full layer-plot option set (layer + common-layer lists, mirror, refdes/value exclusion, border+title, soldermask subtraction, DNP fab-layer modes, negative, black-and-white, theme, drill shape, and single/separate/multipage output modes). Rich CLI sibling of export_pdf. Reads the last SAVED state of the .kicad_pcb.
export_pcb_svg tool
Plot the PCB layout to SVG via kicad-cli, exposing the full layer-plot option set (layer + common-layer lists, mirror, soldermask subtraction, negative, black-and-white, theme, DNP fab-layer modes, page-size mode, fit-page-to-board, exclude-drawing-sheet, drill shape, single/multi output modes). Rich CLI sibling of export_svg. Reads the last SAVED state of the .kicad_pcb.
export_pcb_dxf tool
Plot the PCB layout to DXF via kicad-cli, exposing the full layer-plot option set (layer + common-layer lists, refdes/value exclusion, soldermask subtraction, use-contours, use-drill-origin, border+title, output units, DNP fab-layer modes, drill shape, single/multi output modes). Reads the last SAVED state of the .kicad_pcb.
export_gerber_single tool
Plot the given layers to a SINGLE Gerber file via kicad-cli (`pcb export gerber`). Singular sibling of export_gerbers. Exposes the full single-file Plot option set (X2, netlist attributes, DNP fab-layer modes, soldermask subtraction, aperture macros, drill-file origin, precision, Protel extension). Reads the last SAVED state of the .kicad_pcb.
export_3d_cli tool
Export a 3D model of the PCB via kicad-cli. The `format` param selects the subcommand (step, glb, stl, ply, brep, xao, vrml); only flags valid for that subcommand are forwarded. STEP/glb/stl/ply/brep/xao share the geometry/include flag set (no-board-body, include-tracks/pads/zones/inner-copper/silkscreen/soldermask, fuse-shapes, fill-all-vias, component/net filters, min-distance, etc.; no-optimize-step is STEP-only); vrml uses units + models-dir/models-relative instead. Rich CLI sibling of export_3d and export_vrml. Reads the last SAVED state of the .kicad_pcb.
export_sch_bom tool
Generate a Bill of Materials from a schematic via kicad-cli (`sch export bom`), exposing the full option set (presets, field/label lists, grouping, sorting, filtering, DNP/excluded-from-BOM handling, and field/string/ref delimiters). schematicPath is REQUIRED.
export_sch_pdf tool
Export a schematic to PDF via kicad-cli (`sch export pdf`), exposing the full option set (drawing-sheet override, theme, black-and-white, exclude-drawing-sheet, default-font, the PDF property-popup / hierarchical-link / metadata excludes, no-background-color, and page selection). schematicPath is REQUIRED.
export_sch_svg tool
Export a schematic to SVG via kicad-cli (`sch export svg`), one SVG per page into a directory. Exposes drawing-sheet override, theme, black-and-white, exclude-drawing-sheet, default-font, no-background-color, and page selection. schematicPath is REQUIRED.
export_sch_dxf tool
Export a schematic to DXF via kicad-cli (`sch export dxf`), one DXF per page into a directory. Exposes drawing-sheet override, theme, black-and-white, exclude-drawing-sheet, default-font, and page selection. schematicPath is REQUIRED.
export_sch_hpgl tool
Export a schematic to HPGL via kicad-cli (`sch export hpgl`), one plot per page into a directory. Exposes drawing-sheet override, exclude-drawing-sheet, default-font, page selection, pen size, and the origin/scale mode. schematicPath is REQUIRED.
export_sch_ps tool
Export a schematic to PostScript via kicad-cli (`sch export ps`), one PS per page into a directory. Exposes drawing-sheet override, theme, black-and-white, exclude-drawing-sheet, default-font, no-background-color, and page selection. schematicPath is REQUIRED.
export_sch_python_bom tool
Export the legacy Python-BOM intermediate XML from a schematic via kicad-cli (`sch export python-bom`). This is the XML netlist consumed by the schematic editor's Python BOM scripts. Minimal option set (output + input only). schematicPath is REQUIRED.
create_footprint tool
add_footprint_3d_model tool
import_3d_model tool
add_component_3d_model tool
edit_footprint_pad tool
register_footprint_library tool
list_footprint_libraries tool
autoroute tool
Run Freerouting autorouter on the current PCB. Exports to Specctra DSN, runs Freerouting CLI, and imports the routed SES result. Requires freerouting.jar and the Java version it was built for (21+; Freerouting 2.4.x needs 25), or Docker/Podman (see check_freerouting). Set `attempts` > 1 to run best-of-N: Freerouting is invoked multiple times with varied `--max-passes`, each result is scored by (nets_routed * 1000 + segments, +50000 bonus when every `targetNets` entry routed), and the winning SES is imported. Single-attempt behaviour is unchanged when `attempts` is omitted.
export_dsn tool
Export the current PCB to Specctra DSN format. Useful for manual Freerouting workflow or external autorouters.
import_ses tool
Import a Specctra SES (session) file into the current PCB. Use after running Freerouting externally.
check_freerouting tool
Check if Java and Freerouting JAR are available on the system. Run this before autoroute to verify prerequisites.
kicad_gui_tree tool
Enumerate the live KiCad GUI via the in-process helper: menus/submenus (name + wx id) and AUI toolbars (id + tooltip). Destructive names carry a '⚠ ' prefix.
kicad_gui_click tool
Activate a menu item or AUI toolbar tool by name (as shown by kicad_gui_tree). Executes immediately — no gating.
kicad_run_action_plugin tool
Find the Tools > External Plugins submenu entry with the given name (e.g. 'Open kiHarness') and trigger it.
kicad_gui_wait_for tool
Poll until a shown top-level window whose title contains `title` exists (or timeout).
kicad_gui_screenshot tool
Capture the driven frame's screen rectangle to a PNG and return its path.
kicad_pcb_snapshot tool
GUI playbook: trigger Zoom to Fit, wait for the repaint, screenshot the frame.
kicad_reload_and_open_plugin tool
GUI playbook (plugin dev/test loop): trigger Refresh Plugins, then open the named External-Plugins entry.
kicad_run_drc tool
GUI playbook: open the Design Rules Checker dialog, click 'Run DRC', then scrape the violations grid into structured results.
kicad_gui_tree_atspi tool
Backend B: dump KiCad's accessible widget tree (role + name) from the Linux a11y bus — zero in-KiCad code.
kicad_gui_click_atspi tool
Backend B: activate the first accessible node matching `name` (and optional role) via do_action.
install_gui_driver tool
Deploy the in-KiCad GUI-driver helper plugin into the user's KiCad plugin tree (opt-in). The connect path no longer installs it as a side effect. After install, set KICAD_GUI_DRIVER_ENABLE=1 in KiCad's environment and restart (or Refresh Plugins) to open the token-gated control channel.
download_jlcpcb_database tool
Download the JLCPCB parts catalog to a local SQLite database for fast offline search.
Sources (no API credentials required by default):
- cdfer (default): in-stock subset (~480k parts, ~400 MB download). Single file,
no extra tools — the most reliable path, especially on Windows.
- yaqwsx: the FULL catalog (all parts incl. out-of-stock, ~2.9M parts, ~230 MB download).
Use source="yaqwsx" if you specifically want everything. Requires a 7z CLI.
- official: official JLCPCB API, used only if JLCPCB_APP_ID/JLCPCB_API_KEY/
JLCPCB_API_SECRET are set.
One-time setup; downloads resume automatically if interrupted. Re-run with
force=true to refresh.search_jlcpcb_parts tool
Search JLCPCB parts catalog by specifications. Searches the local JLCPCB database (must be downloaded first with download_jlcpcb_database). Provides real pricing, stock info, and library type (Basic parts = free assembly). Use this to find components with exact specifications and cost optimization. For a verified, ready-to-use KiCAD footprint/symbol/3D bundle (rather than sourcing/stock data), use search_parts_registry instead.
get_jlcpcb_part tool
Get detailed information about a specific JLCPCB part by LCSC number.
When JLCPCB Open Platform credentials are configured (JLCPCB_APP_ID / JLCPCB_API_KEY /
JLCPCB_API_SECRET, e.g. in a project-root .env), this performs a REAL-TIME lookup — live
stock, tiered pricing, parameters and library type — and falls back to the local snapshot
database if the API call fails or no credentials are set. The response reports which backend
answered via "source" ("live-api" vs "local-db").get_jlcpcb_database_stats tool
Get statistics about the local JLCPCB parts database
suggest_jlcpcb_alternatives tool
Suggest alternative JLCPCB parts for a given component. Finds similar parts that may be cheaper, have more stock, or are Basic library type. Useful for cost optimization and finding alternatives when parts are out of stock.
list_symbol_libraries tool
List all available KiCAD symbol libraries from global sym-lib-table, plus the project's sym-lib-table when projectPath (or any related file) is supplied or a project has been opened.
repair_flat_symbols tool
Repair "flat" vendor symbols so schematic tools can parse the file. SnapEDA/SamacSys .kicad_sym captures often put pins and graphics directly under the top-level (symbol "NAME" ...) with no _1_1 sub-unit. KiCad and kicad-cli tolerate this, but the kicad-skip parser used by the schematic edit/inspect tools (list_schematic_components, batch_connect, ...) crashes on it — for any sheet that uses, or embeds a snapshot of, such a symbol. This tool wraps the drawable/pin children in a proper (symbol "NAME_1_1") sub-unit via pure text insertion (formatting preserved, render-neutral). Works on standalone .kicad_sym libraries and on the embedded (lib_symbols) block of a .kicad_sch. Idempotent; already-wrapped and extends-derived symbols are skipped. Dry-run by default — files are edited in place, so keep them under version control before repairing.
search_symbols tool
Search for symbols in local KiCAD symbol libraries. Searches by: symbol name, LCSC ID, description, manufacturer, MPN, category. Use this to find components already in your local libraries (e.g., JLCPCB-KiCad-Library). Returns symbol references that can be used directly in schematics.
list_library_symbols tool
List all symbols in a specific KiCAD symbol library (global or project-scope when projectPath is supplied or a project has been opened).
get_symbol_info tool
Get detailed information about a specific symbol (global or project-scope when projectPath is supplied or a project has been opened).
list_symbol_pins tool
Return pin names, numbers, and types for a symbol directly from the library — no schematic required. Use this before add_schematic_component to discover pins for connect_to_net calls. Each pin has 'number' (e.g. '1', 'A5') and 'name' (e.g. 'FB', 'GND') — connect_to_net accepts either. Pass schematicPath to resolve project-local symbols. Returns close-match suggestions if the symbol name is slightly wrong.
batch_list_symbol_pins tool
Return pin names, numbers, types, and symbol-local coordinates for multiple symbols in a single call. Use instead of calling list_symbol_pins repeatedly when placing a subcircuit — saves 5–10 round-trips. Each result includes pins (with x/y/angle in symbol-local coords, Y-up per KiCAD lib convention) and body_bbox (bounding box of pin envelope ±1.27mm, symbol-local coords). IMPORTANT: coordinates are symbol-local (Y-up, pre-rotation); after placement use get_schematic_pin_locations for post-rotation schematic coordinates. Set compact=true for simple 2-pin passives (Device:R/C/L) to get just pin_count, body_bbox, and is_symmetric.
set_symbol_pin_type tool
find_duplicate_symbols tool
list_libraries tool
List all available KiCAD footprint libraries
search_footprints tool
Search for footprints matching a pattern across all libraries
list_library_footprints tool
List footprints in a KiCAD library, sorted by name; returns the first 100 unless `limit` is set
get_footprint_info tool
Get detailed information about a specific footprint
list_library_table tool
remove_library_table_entry tool
set_library_table_uri tool
search_parts_registry tool
Search an open, gate-verified parts registry for existing KiCAD parts BEFORE generating a custom footprint/symbol from scratch. Complements search_jlcpcb_parts: use that tool for JLCPCB sourcing data (price, stock, assembly tier); use this one to fetch a verified existing footprint/symbol/3D bundle. Default registry: PartReel (https://partreel.com) — 18k+ verified parts, no auth. Override with the PARTREEL_API_BASE environment variable to point at any compatible registry. Matches are case-insensitive substrings over the part name, keywords, family, and manufacturer.
get_registry_part tool
Get full details for one registry part by id: description, downloadable files (footprint/symbol/3D), datasheet, license, and provenance. Use the id returned by search_parts_registry.
download_registry_part tool
Download a registry part's KiCAD file to a local directory: - format="kicad_mod" -> footprint (.kicad_mod text) - format="kicad_sym" -> symbol (.kicad_sym text) - format="step" -> 3D model (.step / .glb, downloaded from the asset host) Files are written to dest_dir with a sensible filename; returns the saved path(s).
import_pcb tool
create_project tool
Create a new KiCAD project
open_project tool
Open an existing KiCAD project
open_board tool
Open a specific .kicad_pcb board file and refresh the MCP in-memory board state.
reload_board tool
Reload the current or specified .kicad_pcb from disk, discarding stale in-memory board state.
close_project tool
Close the currently loaded KiCAD project: optionally save, then drop the in-memory board and clear session state. Use this to hand control back so the user (or the agent) can edit project files directly without the MCP later clobbering those changes on save.
save_project tool
save_board tool
Save the current PCB board. Refuses to overwrite external disk edits unless force=true.
save_as tool
Save the current PCB board to a new .kicad_pcb path.
is_dirty tool
Return whether the MCP knows the loaded board has unsaved memory changes or external disk changes.
discard_or_reload tool
Discard the current in-memory PCB state and reload the board from disk.
get_project_info tool
Get information about the current KiCAD project
snapshot_project tool
Save a named checkpoint snapshot of the current project state (renders board to PDF and records step label). Call after completing each major step — e.g. after Step 1 (schematic_ok) and Step 2 (layout_ok). Required by the demo workflow before waiting for user confirmation.
list_tool_categories tool
List all available KiCAD tool categories with their descriptions and tool counts. Use this to discover which tools exist; every tool can then be called directly by name.
get_category_tools tool
Return all tools available in a specific category. Use list_tool_categories first to find valid category names.
search_tools tool
Search all available KiCAD tools by keyword. Returns matching tool names and their categories.
add_net tool
Create a new net on the PCB
route_trace tool
Route a trace segment between two XY points on a fixed layer. WARNING: Does NOT handle layer changes — if start and end are on different copper layers, use route_pad_to_pad instead, which automatically inserts a via.
route_arc_trace tool
Route a copper arc trace defined by start/mid/end points. Uses true PCB arc primitives when available.
add_via tool
Add a via to the PCB
add_copper_pour tool
Add a copper pour (ground/power plane) to the PCB
delete_trace tool
Delete traces from the PCB. Can delete by UUID, position, or bulk-delete all traces on a net.
query_traces tool
Query traces on the board with optional filters by net, layer, or bounding box.
summarize_vias tool
Count vias on the board without listing them. Returns the via count, how many run from F.Cu to B.Cu, a drill histogram, and the layer spans. Filter by net, rectangle, drill, or layer name. A stitched ground net can hold thousands of vias; this summary is the census a PDN review needs.
summarize_net_copper tool
Summarize one net's copper without listing every track, via, and zone. Returns the three counts, the layers involved, the bounding box, and a shape: vias_only, tracks_only, zones_only, empty, or mixed. vias_only means the net has vias and neither tracks nor zones. An unknown net is an error, not an empty shape.
query_zones tool
Query copper zones (filled pours) on the board with optional filters by net, layer, or bounding box. Returns zone net, layers, priority, fill state, and bounding box. Useful for auditing power planes and GND pours that query_traces does not include.
add_gnd_stitching_vias tool
Drop GND stitching vias across the board with collision checking against every non-GND segment, via, and pad on every copper layer (PTH vias penetrate the full stackup, so missing any one layer is the classic silent-short failure mode). Three combinable strategies: `grid` (regular grid across the interior), `around_refs` (densify around named ICs), and `in_zones` (only place vias inside an actual GND copper zone). Supports `dryRun` to preview placements without writing.
get_nets_list tool
Get a list of all nets in the PCB with optional statistics.
modify_trace tool
Modify an existing trace (change width, layer, or net).
create_netclass tool
Create a new net class with custom design rules, optionally assigning nets to it immediately.
set_net_color tool
route_differential_pair tool
Route a differential pair as two parallel straight segments. startPos and endPos are the pair's centreline; looking from start to end on the board (y down), the positive trace runs on the right and the negative on the left, each offset by (gap + width) / 2.
refill_zones tool
Refill all copper zones on the board. WARNING: SWIG path has known segfault risk (see KNOWN_ISSUES.md). Prefer using IPC backend (KiCAD open) or triggering zone fill via KiCAD UI instead.
route_pad_to_pad tool
PREFERRED tool for pad-to-pad routing. Looks up pad positions automatically, detects the net from the pad, and — critically — if the two pads are on different copper layers (e.g. J1 on F.Cu and J2 on B.Cu) automatically inserts a via at the midpoint so the connection is complete. Always use this instead of route_trace when routing between named component pads.
copy_routing_pattern tool
Copy routing pattern (traces and vias) from a group of source components to a matching group of target components. The offset is calculated automatically from the position difference between the first source and first target component. Useful for replicating routing between identical circuit blocks.
batch_add_components tool
Add multiple components to a schematic in one call (far fewer round-trips than add_schematic_component). Each component: {symbol:'Library:Name', reference, value?, footprint?, position:{x,y}, rotation?, includePins?, unit?}. Multi-unit parts are placed one entry per unit, sharing a reference. Reference/Value fields are auto-positioned outside the body (disable with auto_position_fields=false). Returns per-component snapped position, field positions, body_bbox, and an overall placement_bbox.batch_edit_schematic_components tool
Edit multiple existing components in one call. 'components' is a map {reference: {value?, footprint?, newReference?, ...}}; each entry is applied via the single-component editor. Returns per-reference updated/errors.update_symbol_from_library tool
Refresh embedded lib_symbols cache entries from a KiCad symbol library (equivalent to KiCad's Update Symbol from Library). Skips mirror-cache entries (__m0, __m90, …). Flattens (power) symbols for schematic format. Pass projectsDir to update all schematics in a folder, or schematicPath for one file.
add_library_symbol_property tool
Add or update a custom property (Manufacturer, MPN, LCSC, etc.) on a symbol definition in the lib_symbols section. This makes the property available to all instances of that symbol in the schematic.
replace_instance_lib_ids tool
Replace lib_id references in schematic symbol instances per an explicit old-to-new mapping — the mechanical layer of a library migration (e.g. eagle_import symbols to curated library symbols). Mirror-variant suffixes (__m0/__m90/__m180/__m270) get automatic angle correction; each needs its own mapping entry. Only instances are rewritten; lib_symbols is preserved (use update_symbol_from_library to refresh definitions afterwards).
replace_schematic_component tool
Replace a placed component's symbol with a different one (e.g. Device:R -> Device:R_Potentiometer), preserving its position, rotation, and field values (Value/Footprint/custom). Optionally override rotation with newRotation. Returns the new pin positions.
batch_add_no_connects tool
Add no-connect (X) flags to multiple pins in one call, to mark intentionally unconnected pins and silence ERC. 'pins' is a list of {componentRef, pinName}.batch_connect tool
Place net labels on multiple pins in one call to wire nets quickly. 'connections' is a map {reference: {pin: netName}} where pin is a number or name. labelType selects 'label' (sheet-local, the default) or 'global_label' (connects across all sheets by name — use this for power rails and any net that spans sheets). For local labels, if a facing label for the same net is nearby a wire is drawn instead of a duplicate label; global labels are placed one-per-pin since they join their net by name. Set replace=true to clear any existing label at a pin first. Warns about power nets that have no PWR_FLAG, saying what a flag does and that one belongs only where the rail is supplied from off the sheet (a connector or a battery).batch_add_and_connect tool
Place multiple components AND wire their nets in a single call — the fewest-round-trip way to build a subcircuit. Each component is like batch_add_components plus an optional 'nets' map {pin: netName}. Components are placed first, then nets are connected via batch_connect. labelType selects 'label' (sheet-local, default) or 'global_label' (cross-sheet by name) for all the nets wired in this call.add_hierarchical_sheet tool
Insert a hierarchical-sheet reference block into a parent schematic, pointing at an existing sub-sheet file. Adds the sheet box, name/file fields, a sheet_instances path entry on the next page number, and fixes sub-sheet component instance paths so ERC resolves references.
remove_hierarchical_sheet tool
Remove a hierarchical-sheet reference from a parent schematic (the reverse of add_hierarchical_sheet). Identify the sheet by sheetName (matches the sheet's name property) or by subsheetPath (matched by basename against the sheet's file property). Deletes the (sheet ...) block and any matching (sheet_instances) page entry. Does NOT delete the sub-sheet .kicad_sch file on disk.
set_sheet_property tool
Add or update a custom property on a hierarchical sheet's (sheet ...) block — e.g. cell identity or generator parameters carried as sheet metadata. Identify the sheet by sheetName or sheetPath (basename match against the sheet's file property). The property is created hidden if absent, otherwise its value is updated in place; the file's formatting is preserved. The built-in 'Sheet name'/'Sheet file' properties cannot be set here — use add/remove_hierarchical_sheet to manage the sheet link.
get_sheet_properties tool
List hierarchical sheets in a schematic with their name, file, uuid, position, and full property map (built-ins plus custom properties set via set_sheet_property). With sheetName or sheetPath, returns just that sheet.
create_hierarchical_subsheet tool
Create a new sub-sheet .kicad_sch file and link it into a parent schematic in a single call (create_schematic + add_hierarchical_sheet). The fastest way to grow a hierarchical design.
set_schematic_property_position tool
batch_set_schematic_property_positions tool
autoplace_schematic_fields tool
Automatically reposition every component's Reference and Value field so they sit horizontally outside the component body AND outside any net labels attached to its pins, avoiding collisions with other components and already-placed fields (rotation-aware for 90°/270° symbols). Like KiCAD's built-in field auto-placement but net-label aware. Optionally limit to specific references.
lint_schematic_cosmetic tool
suggest_schematic_declutter tool
Re-orient overlapping net/global labels so their text lands in free space and becomes readable. Each label's (at x,y) anchor is its electrical connection point, so it is held FIXED — only the orientation (0/90/180/270) and justification change, throwing the text away from component bodies and other labels. Connectivity is never altered. DRY RUN by default: returns proposals [{name, at, from_angle, to_angle}] plus an overlap score (before/after) WITHOUT modifying the schematic. Set apply=true to rewrite the label orientations. (Phase 1: labels only; symbol spreading + wire reroute is a separate future capability.)create_schematic tool
Create a new schematic
add_schematic_component tool
Add a component to the schematic. Symbol format is 'Library:SymbolName' (e.g., 'Device:R', 'EDA-MCP:ESP32-C3')
delete_schematic_component tool
Remove a placed symbol from a KiCAD schematic (.kicad_sch). This removes the symbol instance (the placed component) from the schematic. It does NOT remove the symbol definition from lib_symbols. With deleteAttachedLabels, net labels sitting exactly on the deleted component's pin positions are removed too — unless a label is still attached to a wire or another component's pin. Recommended when permanently removing a wired part, since orphaned labels otherwise produce label_dangling ERC errors. Default false for backward compatibility (delete-then-re-add workflows rely on labels surviving). Note: This tool operates on schematic files (.kicad_sch). To remove a footprint from a PCB, use delete_component instead.
edit_schematic_component tool
Update properties of a placed symbol in a KiCAD schematic (.kicad_sch) in-place.
Use this tool to:
• assign or update the footprint, value, or reference designator,
• reposition field labels (Reference / Value text),
• add, update, or remove ARBITRARY CUSTOM PROPERTIES used by BOM and sourcing
workflows: MPN, Manufacturer, Manufacturer_PN, Distributor, DigiKey, DigiKey_PN,
Mouser_PN, LCSC, JLCPCB_PN, Voltage, Tolerance, Power, Dielectric, etc.
Custom properties are first-class — they survive ERC, are exported by export_bom,
and are picked up by the JLCPCB / Digi-Key BOM tooling. Newly-added properties
default to hidden so they do not clutter the schematic canvas.
Multiple updates can be batched in a single call: pass any combination of
`footprint`, `value`, `newReference`, `fieldPositions`, `properties`,
and `removeProperties` together.
This is more efficient than delete + re-add because it preserves the component's
position and UUID. Operates on .kicad_sch files only — to modify a PCB footprint
use edit_component instead.set_schematic_component_property tool
Add or update a single custom property on a placed schematic symbol. This is a focused convenience wrapper around edit_schematic_component for the very common case of attaching one BOM / sourcing field at a time. The property is created if it does not already exist on the component. Typical custom properties: • MPN, Manufacturer, Manufacturer_PN — manufacturer part number metadata • DigiKey, DigiKey_PN, Mouser_PN, LCSC, JLCPCB_PN — distributor part numbers • Voltage, Tolerance, Power, Dielectric, Temperature_Coefficient — passive parameters • Description, Notes — free-form documentation • Any custom field your BOM exporter expects. These properties are written into the .kicad_sch file as standard KiCad property records, are exported by export_bom, and are picked up by the JLCPCB and Digi-Key sourcing tools. Newly-created properties default to hidden — set hide=false to display the value on the schematic canvas. For batch updates of multiple properties at once, use edit_schematic_component with the `properties` parameter instead.
remove_schematic_component_property tool
Remove a single custom property from a placed schematic symbol. Built-in fields (Reference, Value, Footprint, Datasheet) cannot be removed — KiCad requires them on every symbol. To clear a built-in field, use edit_schematic_component and set its value to an empty string.
get_schematic_component tool
add_schematic_wire tool
Draws a wire on the schematic between two or more coordinate points. Always call get_schematic_pin_locations first to get the approximate pin coordinates, then pass them as the first and last waypoints. snapToPins (on by default) will correct any float imprecision by snapping endpoints to the exact nearest pin coordinate. To route around components, add intermediate waypoints between the start and end: e.g. [[x1,y1], [xMid,y1], [xMid,y2], [x2,y2]] routes horizontally then vertically. Intermediate waypoints are never snapped. The response says, for the start and end points, whether they snapped and how far the nearest pin is, and warns when an endpoint is outside snapTolerance of every pin: such a wire is floating.
add_schematic_net_label tool
add_no_connect tool
connect_to_net tool
get_net_connections tool
Get all connections for a named net
get_wire_connections tool
get_schematic_pin_locations tool
Returns the exact x/y coordinates of every pin on a schematic component. Use this before add_schematic_net_label to place labels correctly on pin endpoints.
connect_passthrough tool
Connects all pins of a source connector (e.g. J1) to matching pins of a target connector (e.g. J2) via shared net labels — pin N gets net '{netPrefix}_{N}'. Use this for FFC/ribbon cable passthrough adapters instead of calling connect_to_net for every pin.list_schematic_components tool
List all components in a schematic with their references, values, positions, and pins. Essential for inspecting what's on the schematic before making edits.
list_schematic_nets tool
List all nets in the schematic with their connections.
list_schematic_wires tool
List all wires in the schematic with start/end coordinates.
list_schematic_labels tool
move_schematic_component tool
Move a placed symbol to a new position in the schematic. By default (preserveWires=true) wire endpoints touching the component's pins are stretched to follow the new position, no-connect flags and net labels on those pins come along, and bends left diagonal by the stretch are squared up again. For a multi-unit part pass unit to say which placement to move.
rotate_schematic_component tool
Rotate a placed symbol in the schematic. For a multi-unit part pass unit to say which placement to rotate.
annotate_schematic tool
delete_schematic_wire tool
delete_schematic_net_label tool
Remove a net label from the schematic.
move_schematic_net_label tool
Move a net label (local, global, or hierarchical) to a new position in the schematic. Use currentPosition to disambiguate when multiple labels share the same name.
export_schematic_svg tool
Export schematic to SVG format using kicad-cli.
export_schematic_pdf tool
Export schematic to PDF format using kicad-cli.
get_schematic_view tool
Return a rasterized image of the schematic (PNG by default, or SVG). Uses kicad-cli to export SVG, then converts to PNG via cairosvg. Use this for visual feedback after placing or wiring components.
run_erc tool
Runs the KiCAD Electrical Rules Check (ERC) on a schematic and returns all violations. Use after wiring to verify the schematic before generating a netlist.
generate_netlist tool
Return a structured JSON netlist from the schematic — component list (reference, value, footprint) and net list (net name with all connected component/pin pairs). Use this to inspect or verify connectivity within the conversation. Does not write any file. To export a netlist file in Spice, KiCad XML, Cadstar, or OrcadPCB2 format, use export_netlist instead.
sync_schematic_to_board tool
Import the schematic netlist into the PCB board — equivalent to pressing F8 in KiCAD (Tools → Update PCB from Schematic). MUST be called after the schematic is complete and before placing or routing components on the PCB. Without this step, the board has no footprints and no net assignments — place_component and route_pad_to_pad will produce an empty, unroutable board.
backannotate_footprints tool
create_board_from_schematic tool
Create a new .kicad_pcb file from a schematic, then update the PCB from that schematic so footprints and nets are present.
get_schematic_view_region tool
Export a cropped region of the schematic as an image (PNG or SVG). Specify bounding box coordinates in schematic mm. Useful for zooming into a specific area to inspect wiring or layout.
check_schematic_legibility tool
Checks whether a person can read a schematic sheet: what ERC and a netlist cannot see. Boxes every symbol body, visible reference/value, label and free text and reports text over text (a symbol's own fields included), text over another symbol's body, a symbol's own field across a drawn line of its body (inside an IC's rectangle or beside a capacitor's plates is fine), body over body, a wire through a text (a label's own wire only touches its edge), items on the title block or outside the frame, and a field stored upside down. Each problem comes with its box in sheet mm; look at it with get_schematic_view_region.
find_overlapping_elements tool
Detect spatially overlapping symbols, wires, and labels in the schematic. Finds duplicate power symbols at the same position, collinear overlapping wires, and labels stacked on top of each other.
get_elements_in_region tool
List all symbols, wires, and labels within a rectangular region of the schematic. Useful for understanding what is in a specific area before modifying it.
find_wires_crossing_symbols tool
list_floating_labels tool
find_orphaned_wires tool
snap_to_grid tool
lint_offgrid tool
get_net_at_point tool
add_schematic_hierarchical_label tool
list_schematic_texts tool
add_schematic_text tool
list_schematic_rectangles tool
set_schematic_rectangle tool
add_sheet_pin tool
create_symbol tool
delete_symbol tool
Remove a symbol from a .kicad_sym library file.
list_symbols_in_library tool
List all symbol names in a .kicad_sym library file.
register_symbol_library tool
add_symbol_property tool
import_symbol tool
export_symbol tool
Extract a single symbol from a .kicad_sym library into a standalone .kicad_sym file.
rename_symbol tool
list_toolboxes tool
List the toolboxes: groups of related KiCad tools, each with a description, its tools, and whether it is open. Your tool list holds the core tools plus the tools of open toolboxes; open a toolbox with open_toolbox to add its tools.
open_toolbox tool
Open one or more toolboxes (see list_toolboxes) to add their tools to your tool list. In most clients the new tools can be called from the user's next message, not in the current turn, so open what a task needs before starting it.
close_toolbox tool
Close one or more toolboxes to remove their tools from your tool list and free context. The core tools stay.
get_backend_state tool
Return the active backend, realtime status, loaded project/board paths, and dirty state.
check_kicad_ui tool
Check if KiCAD UI is currently running
launch_kicad_ui tool
Launch KiCAD UI, optionally with a project file
validate_schematic tool
validate_symbol_library tool
list_variants tool
List the assembly variants registered in a KiCad project.
create_variant tool
Register a named assembly variant in a KiCad project.
get_component_variant tool
Read a component's DNP and field overrides for an assembly variant.
set_component_variant tool
Set or remove a component's DNP and field overrides for an assembly variant.
export_variant_bom tool
Export the bill of materials for a named assembly variant.
component_selection prompt
component_placement_strategy prompt
component_replacement_analysis prompt
component_troubleshooting prompt
component_sourcing_properties prompt
component_value_calculation prompt
pcb_layout_review prompt
layer_stackup_planning prompt
design_rule_development prompt
component_selection_guidance prompt
pcb_design_optimization prompt
pdn_dc_review prompt
emc_shield_review prompt
create_footprint_guide prompt
footprint_ipc_checklist prompt
routing_strategy prompt
differential_pair_routing prompt
high_speed_routing prompt
power_distribution prompt
via_usage prompt
board_info resource
layer_list resource
board_extents resource
board_2d_view resource
board_3d_view resource
board_statistics resource
component_list resource
component_details resource
component_connections resource
component_placement resource
component_groups resource
component_visualization resource
component_library resource
library_list resource
library_component_details resource
component_footprint resource
component_symbol resource
component_3d_model resource
project_info resource
project_properties resource
project_files resource
project_status resource
project_summary resource
What we checked
The same checks run on every server. Each line below has one of these marks:
- 8 checks: command injection, argument injection, path traversal, server-side request forgery, SQL injection, code execution, unsafe deserialization, template injectionChecked on every scan. Results in this category are published only after a person has verified them.
- Runs programs the caller choosesNo tool runs a command or program the caller supplies — 319 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Executes caller-supplied codeNo tool evaluates code the caller supplies — 319 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Reads or writes any file pathNo tool works on a file path the caller supplies without a root check — 319 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Requests any addressNo tool sends a request to an address the caller supplies — 319 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Runs caller-supplied SQLNo tool executes a query the caller supplies — 319 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Tools that start processesNot seen in the traced code of 319 capabilities; 319 more call code the scanner could not follow, where it may happen
- Tools that touch files4 of 319 capabilities touch files; 315 more call code the scanner could not follow, where it may happen
- Tools that call the network3 of 319 capabilities call the network; 316 more call code the scanner could not follow, where it may happen
Where the code is: 319 handlers in 36 files at commit 7f72fb46177a
src/kicad-server.ts(name computed at run time), open_project, save_project, get_project_info, (name computed at run time), add_board_outline, (name computed at run time), (name computed at run time), route_trace, (name computed at run time), load_schematic, add_schematic_component +3src/prompts/component.tscomponent_selection, component_placement_strategy, component_replacement_analysis, component_troubleshooting, component_sourcing_properties, component_value_calculationsrc/prompts/design.tspcb_layout_review, layer_stackup_planning, design_rule_development, component_selection_guidance, pcb_design_optimization, pdn_dc_review, emc_shield_reviewsrc/prompts/footprint.tscreate_footprint_guide, footprint_ipc_checklistsrc/prompts/routing.tsrouting_strategy, differential_pair_routing, high_speed_routing, power_distribution, via_usagesrc/resources/board.tsboard_info, layer_list, board_extents, board_2d_view, board_3d_view, board_statisticssrc/resources/component.tscomponent_list, component_details, component_connections, component_placement, component_groups, component_visualizationsrc/resources/library.tscomponent_library, library_list, library_component_details, component_footprint, component_symbol, component_3d_modelsrc/resources/project.tsproject_info, project_properties, project_files, project_status, project_summarysrc/tools/board.tsset_board_size, set_board_origin, get_board_origin, add_layer, set_active_layer, get_board_info, get_layer_list, get_stackup, set_stackup_layer, add_board_outline, clear_board_outline, replace_board_outline +10src/tools/component.tsplace_component, move_component, batch_move_components, rotate_component, delete_component, edit_component, set_footprint_type, find_component, get_component_properties, group_components, replace_component, get_component_pads +15src/tools/datasheet.tsenrich_datasheets, get_datasheet_urlsrc/tools/design-rules.tsset_design_rules, get_design_rules, run_drc, assign_net_to_class, set_layer_constraints, set_voltage_clearance_rules, check_clearance, audit_via_nets, get_drc_violationssrc/tools/digikey-api.tsdigikey_test_connection, digikey_search_parts, digikey_check_library_availabilitysrc/tools/eagle.tsimport_eagle_projectsrc/tools/export.tsexport_gerber, export_pdf, export_svg, export_3d, export_bom, export_netlist, export_position_file, export_vrml, export_gerbers, export_drill, export_ipc2581, export_odb +15src/tools/footprint.tscreate_footprint, add_footprint_3d_model, import_3d_model, add_component_3d_model, edit_footprint_pad, register_footprint_library, list_footprint_librariessrc/tools/freerouting.tsautoroute, export_dsn, import_ses, check_freeroutingsrc/tools/gui-driver.tskicad_gui_tree, kicad_gui_click, kicad_run_action_plugin, kicad_gui_wait_for, kicad_gui_screenshot, kicad_pcb_snapshot, kicad_reload_and_open_plugin, kicad_run_drc, kicad_gui_tree_atspi, kicad_gui_click_atspi, install_gui_driversrc/tools/jlcpcb-api.tsdownload_jlcpcb_database, search_jlcpcb_parts, get_jlcpcb_part, get_jlcpcb_database_stats, suggest_jlcpcb_alternativessrc/tools/library-symbol.tslist_symbol_libraries, repair_flat_symbols, search_symbols, list_library_symbols, get_symbol_info, list_symbol_pins, batch_list_symbol_pins, set_symbol_pin_type, find_duplicate_symbolssrc/tools/library.tslist_libraries, search_footprints, list_library_footprints, get_footprint_info, list_library_table, remove_library_table_entry, set_library_table_urisrc/tools/parts-registry.tssearch_parts_registry, get_registry_part, download_registry_partsrc/tools/pcb-import.tsimport_pcbsrc/tools/project.tscreate_project, open_project, open_board, reload_board, close_project, save_project, save_board, save_as, is_dirty, discard_or_reload, get_project_info, snapshot_projectsrc/tools/router.tslist_tool_categories, get_category_tools, search_toolssrc/tools/routing.tsadd_net, route_trace, route_arc_trace, add_via, add_copper_pour, delete_trace, query_traces, summarize_vias, summarize_net_copper, query_zones, add_gnd_stitching_vias, get_nets_list +7src/tools/schematic-batch.tsbatch_add_components, batch_edit_schematic_components, update_symbol_from_library, add_library_symbol_property, replace_instance_lib_ids, replace_schematic_component, batch_add_no_connects, batch_connect, batch_add_and_connectsrc/tools/schematic-hierarchy.tsadd_hierarchical_sheet, remove_hierarchical_sheet, set_sheet_property, get_sheet_properties, create_hierarchical_subsheetsrc/tools/schematic-layout.tsset_schematic_property_position, batch_set_schematic_property_positions, autoplace_schematic_fields, lint_schematic_cosmetic, suggest_schematic_decluttersrc/tools/schematic.tscreate_schematic, add_schematic_component, delete_schematic_component, edit_schematic_component, set_schematic_component_property, remove_schematic_component_property, get_schematic_component, add_schematic_wire, add_schematic_net_label, add_no_connect, connect_to_net, get_net_connections +37src/tools/symbol-creator.tscreate_symbol, delete_symbol, list_symbols_in_library, register_symbol_library, add_symbol_property, import_symbol, export_symbol, rename_symbolsrc/tools/toolboxes.tslist_toolboxes, open_toolbox, close_toolboxsrc/tools/ui.tsget_backend_state, check_kicad_ui, launch_kicad_uisrc/tools/validation.tsvalidate_schematic, validate_symbol_librarysrc/tools/variants.tslist_variants, create_variant, get_component_variant, set_component_variant, export_variant_bom
- 5 checks: tool poisoning, instruction override, hidden content, exfiltration requests, metadata integrityChecked on every scan. Results in this category are published only after a person has verified them.
- Dependency manifests4 manifests: package.json, pyproject.toml, python/requirements.txt, requirements.txt
- Lockfiles checked against OSV3 files resolved and checked against the OSV database; 3 not resolved: pyproject.toml: dependency ranges declared here were not resolved against a lockfile and were not checked; python/requirements.txt: 5 dependency lines carry no exact version, so the installed version was not checked; pin them or add a lockfile
- Known vulnerabilities in production dependencies HIGH3 production packages with known advisories
- Known vulnerabilities in other dependencies1 package with advisories used only for development, tests or examples; an install of the server leaves them out
- MCP SDK version@modelcontextprotocol/sdk ^1.32.1
- 3 checks: credential harvesting, undeclared credential access, credentials sent over the networkChecked on every scan. Results in this category are published only after a person has verified them.
- Tools that read credentialsNot seen in the traced code of 319 capabilities; 319 more call code the scanner could not follow, where it may happen
- Environment variables3 capabilities read environment variables (often API keys)
- Authentication declaredNot checked: needs the live server's tools/list (a remote server declares how clients authenticate)
- 3 checks: undeclared network access, undeclared file access, undeclared process executionChecked on every scan. Results in this category are published only after a person has verified them.
- Tool descriptions presentEvery tool has a description the model and the user can read (97 only in code no tool reaches)
- Statically known namesEvery tool's name could be read from the code
- Input schemasNot checked: needs the live server's tools/list (every tool declares an input schema)
- Destructive tools annotatedNot checked: needs the live server's tools/list (tools that write, delete or run commands carry destructivehint)
Dependencies with known vulnerabilities (3 in production)
Dependency ranges were not resolved against a lockfile, so the score is capped at 7.
zodnpm 3.25.76 HIGH 1 advisory 4.6.6
- HIGHGHSA-mrhx-c7xc-m3w5 CVE-2023-54404Zod can exhaust memory while validating oversized constrained collections
hononpm 4.13.12 MEDIUM 5 advisories 4.13.16
- MEDIUMGHSA-4h7h-rv7c-7m2v CVE-2026-126356Hono: `validator('form')` skips validation for `multipart/form-data` requests with extra parameters
- MEDIUMGHSA-h7mg-cq63-vhpq CVE-2026-126358Hono: RegExpRouter skips wildcard middleware for some route sets and for paths with an encoded line terminator
- MEDIUMGHSA-4m76-xfj5-7975 CVE-2026-126357Hono: `mount()` and `app.mount()` can forward a path that bypasses middleware scoped inside the mount prefix
- MEDIUMGHSA-46wx-v44x-9hh2 CVE-2026-126355Hono: `csrf()` does not check requests sent by hyperlink auditing (`text/ping`)
- LOWGHSA-3gg2-335m-rxc6 CVE-2026-126359Hono: `css` helper does not escape a closing tag split between the template and an interpolated value, allowing HTML injection
@hono/node-servernpm 2.1.3 MEDIUM 2 advisories 1.19.182.1.6
- MEDIUMGHSA-qv5m-9pm6-hqp3 CVE-2026-126343@hono/node-server: Unhandled `ECONNRESET` on the socket during an asynchronous WebSocket upgrade crashes the process
- MEDIUMGHSA-jpvv-r467-5p4w CVE-2026-126210@hono/node-server: Backslash in the request path is parsed as a path separator, bypassing path-based access control at a reverse proxy
1 vulnerable package outside the server itself (used only for development, tests or examples, not shipped)
minimatchnpm 10.2.6 MEDIUM 1 advisory 11.0.1
- MEDIUMGHSA-g3hv-75wg-m249 CVE-2026-118764minimatch has potential denial of service via globparts amplification
Past security advisories
Vulnerabilities published for this server itself, from the GitHub Advisory Database.
No security advisories have been published for this server in the GitHub Advisory Database.
How it runs
| Where it runs | On your machine, started by your MCP client from this repository or its package |
|---|---|
| Transport | stdio |
| Sign-in | not checked needs the live server |
| MCP SDK | @modelcontextprotocol/sdk ^1.32.1 |
| Servers in the code | 3 (kicad-mcp-server) |
The project's own security
| Security policy | none no SECURITY.md in the repository: report issues privately through GitHub if it is enabled |
|---|---|
| Past advisories | none in the GitHub Advisory Database |
| Last push | 2026-11-16 |
| Signed releases | not checked yet |
Where it is published
| Listed in | 5 catalogs (awesome_habitoai, github_search, glama, mcp_toplist, mcpservers_org) |
|---|---|
| License | MIT |
| Created | 2025-04-26 |
| Topics | ai claude eda electronics hardware kicad llm mcp mcp-server model-context-protocol |
Attack map
How the server is built and where its risky tools lead: servers, their tools, what the tools' code can do, and the traced route from a declared risky tool's argument to the operation it reaches. Click a node for details.