MCP ScannerCustom audit
All servers

Seeed-Studio/kicad-mcp-server

🔌 MCP server for KiCad EDA - Analyze schematics & PCBs, trace pin-level connections, automate design editing. Works with any MCP-compatible AI tool

Packagekicad-mcp-server
Version0.1.0 in pyproject.toml
PublisherSeeed-Studio community
MCP Registrynot listed
Scanned2026-11-25
Scannerv1.3.0
Methodologyv1.2
Stars 185Forks 27Last push 2026-10-22
Python 100.0%by source files the scanner reads
Code safetypartly tracedExposure1.7Prompts10.0Supply chain7.0Secrets10.0Transparency10.0
Analysis confidence91%
How much of the server the scanner could read: tools analyzed, files parsed, limits hit.
Code Safetypartly traced—

Paths from tool input into commands, SQL, files and URLs

Capability Exposure1.7/10Poor

How much power the tools give an agent over the machine

Prompt Integritynothing published yet10.0/10

Hidden instructions and poisoning in text for the model

Supply Chain7.0/10Fair

Known vulnerabilities in the packages the server uses

Secrets & Credentialsnothing published yet10.0/10

How the server reads credentials and where they can go

Behavior Transparencynothing published yet10.0/10

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 50 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

Top risks in plain words

  • HIGHTools add_component_from_library, add_global_label, add_hierarchical_label, add_label and 10 more read or write any file path by design: an agent steered by prompt injection can use them that way.

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 only the folder it needs

    add_component_from_library, add_global_label, add_hierarchical_label, add_label and 10 more can read or write any file path. Mount a single project folder, read-only where you can.

  • Turn off the tools you do not use

    Most MCP clients let you disable single tools. If you do not need add_component_from_library, add_global_label, add_hierarchical_label and 11 more, switch them off.

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

  • 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 47 tools, 1 resource. 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.

Read or write filesopen, create, change or delete files
add_component_from_library, add_global_label, add_hierarchical_label, add_label, add_wire, analyze_hierarchical_nets and 19 more
25 of 48
Connect to the internet or other hostssend requests or open connections
add_component_from_library, add_global_label, add_hierarchical_label, analyze_hierarchical_nets, analyze_pin_functions, create_kicad_project and 17 more
23 of 48
Read environment variablesoften where API keys are kept
create_kicad_project, download_registry_part
2 of 48

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

Hosts written in the code

The literal addresses the tools' requests name.

  • None: no request names a fixed host.
Addresses from settings

Constants or settings that start an address; the value comes from configuration.

  • None seen.
Secrets it reads

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.

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.

  • files25 tools · add_component_from_library, add_global_label, add_hierarchical_label +22

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 (48: 47 tools, 1 resource)

Open a row for its full description. Chips show what its code can reach, and which risky capability its own description declares.

add_component_from_librarytool Add a component from KiCad's built-in library to the schematic.FilesNetworkoutside textReads/writes files
Add a component from KiCad's built-in library to the schematic.
add_global_labeltool Add a global label on a component pin (project-wide connection).FilesNetworkoutside textReads/writes files
Add a global label on a component pin (project-wide connection).

    Global labels connect same-named signals anywhere in the whole
    hierarchy regardless of sheets — useful for power-style rails and
    cross-cutting signals where a hierarchical parent/child chain would
    be awkward.

    Args:
        file_path: Path to the .kicad_sch file.
        reference: Component reference (e.g. 'U1').
        pin: Pin number.
        label_name: Global net name (required — globals are named nets).
        shape: Electrical direction: input, output, bidirectional,
            tri_state or passive.
        x/y: Explicit anchor coordinates (overrides reference/pin).

    Returns:
        Confirmation with the exact anchor position.
add_hierarchical_labeltool Add a hierarchical label on a component pin (cross-sheet connection).FilesNetworkoutside textReads/writes files
Add a hierarchical label on a component pin (cross-sheet connection).

    Hierarchical labels are how signals cross sheet boundaries in KiCad: a
    label placed in a sub-sheet appears as a same-named pin on the parent
    sheet's sheet symbol, connecting the two. Placing them by hand for
    every cross-sheet signal is the classic tedium this automates.

    The label anchors EXACTLY on the pin (computed from the embedded
    symbol geometry incl. rotation and the library-vs-sheet Y flip), so
    the connection is electrically valid — verify with generate_netlist.

    Args:
        file_path: Path to the .kicad_sch file (the SUB-sheet for signals
            going up to its parent).
        reference: Component reference (e.g. 'U1').
        pin: Pin number.
        label_name: Label text; defaults to the reference+pin when empty.
        shape: Electrical direction: input, output, bidirectional,
            tri_state or passive (ERC uses this).
        x/y: Explicit anchor coordinates (overrides reference/pin).

    Returns:
        Confirmation with the exact anchor position.
add_labeltool Add a local label (text label) to the schematic.Filesoutside textReads/writes files
Add a local label (text label) to the schematic.
add_wiretool Add a wire (connection line) to the schematic.Filesoutside textReads/writes files
Add a wire (connection line) to the schematic.
analyze_hierarchical_netstool Analyze all nets in hierarchical schematic design.FilesNetworkoutside textReads/writes files
Analyze all nets in hierarchical schematic design.

    This tool analyzes network connections across the entire hierarchy,
    showing how signals flow between main schematic and sub-sheets.

    Args:
        file_path: Path to main .kicad_sch file
        filter_pattern: Optional regex pattern to filter net names
        show_hierarchy: Whether to show hierarchical structure (default: True)

    Returns:
        Complete hierarchical net analysis
create_kicad_projecttool Create a new KiCad project.FilesNetworkEnv varsoutside textReads/writes files
Create a new KiCad project.

    By default the project is empty: a blank board, schematic and project
    file written by the installed KiCad itself, so they are in its native
    file format.

    Args:
        project_path: Directory path for the project
        project_name: Name of the project (without extension)
        title: Optional project title (defaults to project_name)
        company: Optional company name
        template: "empty" (default) for a blank project, or a KiCad template
            to start from, by name (e.g. "Arduino_Uno", "RaspberryPi-HAT") or
            as a path to a template directory. Templates come with their own
            board outline, footprints and schematic.

    Returns:
        Confirmation message with created files
export_erc_reporttool Export ERC report to file.FilesNetworkoutside textReads/writes files
Export ERC report to file.

    The report is the kicad-cli ERC JSON report.

    Args:
        schematic_path: Path to .kicad_sch file
        output_path: Optional output file path (default: schematic_name_erc_report.json)

    Returns:
        Confirmation with output file location
generate_device_treetool Generate device tree source (.dts) file from schematic.FilesNetworkoutside textReads/writes files
Generate device tree source (.dts) file from schematic.

    This function analyzes a KiCad schematic and generates a device tree
    source file compatible with the specified SOC family.

    Args:
        schematic_path: Path to .kicad_sch file
        target_soc: Target SOC family (stm32f4, esp32, nrf52)
        output_path: Optional output file path

    Returns:
        Generated device tree source code or error message
get_erc_violationstool Get filtered ERC violations from schematic.FilesNetworkoutside textReads/writes files
Get filtered ERC violations from schematic.

    Args:
        schematic_path: Path to .kicad_sch file
        severity: Filter by severity ('error', 'warning', '') for all

    Returns:
        Filtered list of ERC violations
run_erctool Run Electrical Rules Check (ERC) on schematic.FilesNetworkoutside textReads/writes files
Run Electrical Rules Check (ERC) on schematic.

    Checks for:
    - Unconnected pins
    - Power conflicts
    - Multiple outputs on same net
    - Pin type mismatches

    Args:
        schematic_path: Path to .kicad_sch file

    Returns:
        ERC report with violations and recommendations
search_components_by_typetool Search for components by type (OLED, sensor, display, etc.).FilesNetworkoutside textReads/writes files
Search for components by type (OLED, sensor, display, etc.).

    This tool intelligently searches for components by their type, value,
    footprint, or network connections to identify specific component categories.

    Args:
        file_path: Path to .kicad_sch file
        component_type: Type of component to search for (e.g., 'OLED', 'sensor', 'display', 'SPI', 'I2C')
        search_in_subsheets: Whether to search in hierarchical subsheets (default: True)

    Returns:
        Formatted list of matching components with their connections and details
setup_pcb_layouttool Initialize an empty PCB with the specified board outline dimensions.FilesNetworkoutside textReads/writes files
Initialize an empty PCB with the specified board outline dimensions.

    Writes a .kicad_pcb next to the schematic containing only the board
    outline (Edge.Cuts), a standard 2-layer stack and default design rules —
    no footprints, tracks or nets. KiCad stores .kicad_pcb coordinates in
    millimetres (plain decimals), so dimensions are emitted directly in mm.

    Args:
        schematic_path: Path to the .kicad_sch the board is based on (used to
            derive the .kicad_pcb path and board title).
        width: Board width in the given unit.
        height: Board height in the given unit.
        unit: "mm" (default) or "mil".

    Returns:
        Confirmation reporting the actual outline size, layer count and
        element counts read back from the written file.
trace_hierarchical_connectiontool Trace component connections across hierarchical schematics.FilesNetworkoutside textReads/writes files
Trace component connections across hierarchical schematics.

    This tool traces connections through the entire schematic hierarchy,
    including sub-sheets, to show complete signal paths.

    Args:
        file_path: Path to main .kicad_sch file
        reference: Component reference designator (e.g., 'U1', 'R5')
        pin_number: Optional pin number to trace (if empty, trace all pins)

    Returns:
        Complete connection trace through hierarchy
get_configresource Get current server configuration.
Get current server configuration.
analyze_pcb_netstool Analyze nets in a KiCad PCB file.
Analyze nets in a KiCad PCB file.

    Provides track width distribution, via distribution, per-net track
    length ranking, layer coverage, and design rule comparison.

    Args:
        file_path: Path to .kicad_pcb file

    Returns:
        Net information and routing analysis from PCB
analyze_pcb_power_integritytool Analyze power integrity: copper zones, power net routing, GND coverage.
Analyze power integrity: copper zones, power net routing, GND coverage.

    Args:
        file_path: Path to .kicad_pcb file

    Returns:
        Power integrity analysis report
analyze_pcb_signal_integritytool Analyze signal integrity: diff pair matching, RF traces, critical nets.
Analyze signal integrity: diff pair matching, RF traces, critical nets.

    Auto-detects differential pairs (e.g., USB_N/USB_P, DP/DN) and checks
    length matching. Reports RF trace dimensions and longest signal nets.

    Args:
        file_path: Path to .kicad_pcb file
        net_name: Optional specific net to analyze in detail

    Returns:
        Signal integrity analysis report
analyze_pin_functionstool Analyze pin functions and detect conflicts.FilesNetworkoutside text
Analyze pin functions and detect conflicts.

    This function analyzes schematic to determine pin functions by:
    - Examining net names to infer functionality
    - Identifying MCU components and their pin mappings
    - Detecting potential pin conflicts

    Args:
        schematic_path: Path to .kicad_sch file
        reference: Optional component reference (e.g., 'U1') to analyze specific component

    Returns:
        Detailed pin function analysis report
detect_pin_conflictstool Detect pins with conflicting electrical connections.
Detect pins with conflicting electrical connections.

    This function checks for:
    - Multiple outputs on same net
    - Power-to-power connections
    - Unconnected input pins
    - Pin type mismatches

    Args:
        schematic_path: Path to .kicad_sch file

    Returns:
        Detailed conflict detection report
download_registry_parttool Download a registry part's files into a local directory.Env vars
Download a registry part's files into a local directory.

    Downloads are HTTPS-only, restricted to the registry's own hosts,
    capped at 50 MB per file, and saved with extension-checked filenames.

    Args:
        part_id: Registry part id (from search_parts_registry)
        save_dir: Existing local directory (e.g. the project library folder)
        formats: Which files — any of "footprint", "symbol", "step",
            "preview" (default: footprint + symbol)

    Returns:
        Saved file paths, or an error
export_drc_reporttool Export DRC report to file.FilesNetworkoutside text
Export DRC report to file.

    The report is the kicad-cli DRC JSON report.

    Args:
        pcb_path: Path to .kicad_pcb file
        output_path: Optional output file path (default: pcb_name_drc_report.json)

    Returns:
        Confirmation with output file location
export_gerbertool Export a PCB to Gerber + drill files for fabrication via kicad-cli.
Export a PCB to Gerber + drill files for fabrication via kicad-cli.

    Runs KiCad's command-line exporter against the .kicad_pcb and reports the
    files actually produced. Requires KiCad 7+ installed with kicad-cli on PATH.

    Args:
        pcb_path: Path to the .kicad_pcb file.
        output_dir: Directory for output (default: a "gerber" folder next to
            the PCB).

    Returns:
        Confirmation listing the generated files, or an actionable error.
export_pcb_3dtool Export the PCB as a STEP 3D model for mechanical CAD handoff.
Export the PCB as a STEP 3D model for mechanical CAD handoff.

    Includes board body, footprints and their assigned 3D models.

    Args:
        pcb_path: Path to the .kicad_pcb file.
        output_path: Output .step file (default: <pcb>.step next to the PCB).
        board_only: Export only the board body, without component models.

    Returns:
        Confirmation with the output path and file size.
export_schematic_svgtool Export schematic pages to SVG images.
Export schematic pages to SVG images.

    Renders every page of the (hierarchical) schematic as an SVG file via
    kicad-cli. SVGs are vector graphics — clients and humans can zoom into
    any detail without quality loss.

    Args:
        schematic_path: Path to the root .kicad_sch file.
        output_dir: Output directory (default: <schematic>_svg/ next to it).

    Returns:
        Confirmation listing the generated SVG files.
extract_gpio_configtool Extract GPIO pin configurations from schematic.
Extract GPIO pin configurations from schematic.

    Args:
        schematic_path: Path to .kicad_sch file
        soc_family: Optional SOC family filter

    Returns:
        GPIO configuration report
extract_i2c_devicestool Extract I2C bus and device configurations.FilesNetworkoutside text
Extract I2C bus and device configurations.

    Args:
        schematic_path: Path to .kicad_sch file

    Returns:
        I2C device configuration report
extract_pinmux_configtool Extract pin multiplexing configuration for MCUs.FilesNetworkoutside text
Extract pin multiplexing configuration for MCUs.

    This function extracts pin multiplexing (pinmux) configuration
    for MCU components, showing which peripherals are assigned to which pins.

    Args:
        schematic_path: Path to .kicad_sch file
        component_type: Optional MCU type filter (e.g., 'stm32', 'esp32', 'nrf52')

    Returns:
        Detailed pinmux configuration report
extract_power_domainstool Extract power domain and regulator configurations.
Extract power domain and regulator configurations.

    Args:
        schematic_path: Path to .kicad_sch file

    Returns:
        Power domain configuration report
extract_spi_devicestool Extract SPI bus and device configurations.
Extract SPI bus and device configurations.

    Args:
        schematic_path: Path to .kicad_sch file

    Returns:
        SPI device configuration report
find_tracks_by_nettool Find track segments belonging to a specific net.
Find track segments belonging to a specific net.

    Args:
        file_path: Path to .kicad_pcb file
        net_name: Name of the net to search for

    Returns:
        Track information for the specified net with length analysis
generate_netlisttool Generate KiCad netlist from schematic file.
Generate KiCad netlist from schematic file.

    Args:
        schematic_path: Path to .kicad_sch file

    Returns:
        Path to generated .xml netlist file
get_drc_violationstool Get filtered DRC violations from PCB.FilesNetworkoutside text
Get filtered DRC violations from PCB.

    Args:
        pcb_path: Path to .kicad_pcb file
        violation_type: Filter by type (e.g., 'clearance', 'spacing', '') for all

    Returns:
        Filtered list of DRC violations
get_netlist_componentstool Get all components from netlist with their network connections.
Get all components from netlist with their network connections.

    Args:
        netlist_path: Path to .xml netlist file
        filter_ref: Optional reference filter (e.g., 'R', 'U', 'C')

    Returns:
        List of components with their net connections
get_netlist_netstool Get all nets from netlist file.FilesNetworkoutside text
Get all nets from netlist file.

    Args:
        netlist_path: Path to .xml netlist file
        filter_pattern: Optional regex pattern to filter net names

    Returns:
        List of all nets with their connections
get_pcb_statisticstool Get statistics about a KiCad PCB design.FilesNetworkoutside text
Get statistics about a KiCad PCB design.

    Args:
        file_path: Path to .kicad_pcb file

    Returns:
        PCB statistics and metrics
get_registry_parttool Get the full registry record for one part.
Get the full registry record for one part.

    Includes download URLs (footprint/symbol/3D), datasheet link, dimension
    provenance and field reports from real builds.

    Args:
        part_id: Registry part id (from search_parts_registry)

    Returns:
        JSON part record
get_schematic_infotool Get general information about a schematic file.FilesNetworkoutside text
Get general information about a schematic file.

    Args:
        file_path: Path to .kicad_sch file

    Returns:
        Schematic metadata and statistics
get_symbol_detailstool Get detailed information about a specific symbol/component.FilesNetworkoutside text
Get detailed information about a specific symbol/component.

    Args:
        file_path: Path to .kicad_sch file
        reference: Component reference designator (e.g., 'R1', 'U1')

    Returns:
        Detailed component information including pins and properties
list_pcb_footprintstool List all footprints in a KiCad PCB file.
List all footprints in a KiCad PCB file.

    Args:
        file_path: Path to .kicad_pcb file
        filter_layer: Optional filter by layer (e.g., 'F.Cu', 'B.Cu')

    Returns:
        Formatted list of footprints
list_schematic_componentstool List all components in a KiCad schematic file.
List all components in a KiCad schematic file.

    Args:
        file_path: Path to .kicad_sch file
        filter_type: Optional filter by component type prefix (e.g., 'R', 'C', 'U', 'IC')
        filter_value: Optional filter by component value (partial match)
        filter_dnp: Optional filter by DNP flag (True=only DNP, False=only non-DNP)

    Returns:
        Formatted list of components with their properties
list_schematic_netstool List all nets in a KiCad schematic.
List all nets in a KiCad schematic.

    Args:
        file_path: Path to .kicad_sch file
        filter_power: If True, only show power nets (VCC, GND, etc.)

    Returns:
        Formatted list of nets
render_pcbtool Render a 3D view of the PCB to a PNG image.
Render a 3D view of the PCB to a PNG image.

    Produces a photorealistic render of the assembled board via kicad-cli
    (footprints must have 3D models assigned; otherwise plain board geometry
    is rendered). Returns the image itself, so multimodal clients show it
    directly — useful for AI-assisted layout review.

    Args:
        pcb_path: Path to the .kicad_pcb file.
        side: Camera side: top, bottom, left, right, front, back.
        output_path: Output PNG (default: <pcb>_render_<side>.png next to
            the PCB).
        width: Image width in pixels.
        height: Image height in pixels.
        quality: Render quality: basic (fast) or high (slower, raytraced).
        rotate: Optional board rotation 'X,Y,Z' in degrees for isometric
            views, e.g. '-30,0,25'.

    Returns:
        The rendered image, or an error message string.
run_drctool Run Design Rules Check (DRC) on PCB.FilesNetworkoutside text
Run Design Rules Check (DRC) on PCB.

    Checks for:
    - Clearance violations
    - Track spacing violations
    - Missing connections
    - Pad/footprint overlaps
    - Board edge constraints

    Args:
        pcb_path: Path to .kicad_pcb file

    Returns:
        DRC report with violations and locations
search_parts_registrytool Search an open registry of 21,000+ verified KiCad parts (no login).
Search an open registry of 21,000+ verified KiCad parts (no login).

    Matches part id, name, family, category, manufacturer and keywords.
    Example queries: "usb c connector", "0402 capacitor", "nrf9151".

    Args:
        query: Search terms (all terms must match; '*' wildcards allowed)
        limit: Maximum number of results (default 20)

    Returns:
        JSON list of matches (id, name, family, page URL)
search_symbolstool Search for symbols/components matching a pattern.FilesNetworkoutside text
Search for symbols/components matching a pattern.

    Args:
        file_path: Path to .kicad_sch file
        pattern: Search pattern (supports regex)
        search_fields: Fields to search: 'all', 'reference', 'value', 'library'

    Returns:
        List of matching components
trace_netlist_connectiontool Trace component connections using netlist file (most accurate).
Trace component connections using netlist file (most accurate).

    Args:
        netlist_path: Path to .xml netlist file
        reference: Component reference (e.g., 'R16')
        pin_number: Optional pin number (e.g., '1'). If empty, trace all pins.

    Returns:
        Detailed connection information from netlist
validate_pin_configurationtool Validate pin configuration conflicts for device tree generation.
Validate pin configuration conflicts for device tree generation.

    This function validates that the pin configuration is suitable for
    device tree generation and reports any conflicts or issues.

    Args:
        schematic_path: Path to .kicad_sch file

    Returns:
        Validation report with conflicts and recommendations

Text the model reads (48)

Every tool, prompt and resource description as written in the code: the model sees all of it, the user usually does not.

generate_device_tree tool
Generate device tree source (.dts) file from schematic.

    This function analyzes a KiCad schematic and generates a device tree
    source file compatible with the specified SOC family.

    Args:
        schematic_path: Path to .kicad_sch file
        target_soc: Target SOC family (stm32f4, esp32, nrf52)
        output_path: Optional output file path

    Returns:
        Generated device tree source code or error message
extract_gpio_config tool
Extract GPIO pin configurations from schematic.

    Args:
        schematic_path: Path to .kicad_sch file
        soc_family: Optional SOC family filter

    Returns:
        GPIO configuration report
extract_i2c_devices tool
Extract I2C bus and device configurations.

    Args:
        schematic_path: Path to .kicad_sch file

    Returns:
        I2C device configuration report
extract_spi_devices tool
Extract SPI bus and device configurations.

    Args:
        schematic_path: Path to .kicad_sch file

    Returns:
        SPI device configuration report
extract_power_domains tool
Extract power domain and regulator configurations.

    Args:
        schematic_path: Path to .kicad_sch file

    Returns:
        Power domain configuration report
validate_pin_configuration tool
Validate pin configuration conflicts for device tree generation.

    This function validates that the pin configuration is suitable for
    device tree generation and reports any conflicts or issues.

    Args:
        schematic_path: Path to .kicad_sch file

    Returns:
        Validation report with conflicts and recommendations
trace_hierarchical_connection tool
Trace component connections across hierarchical schematics.

    This tool traces connections through the entire schematic hierarchy,
    including sub-sheets, to show complete signal paths.

    Args:
        file_path: Path to main .kicad_sch file
        reference: Component reference designator (e.g., 'U1', 'R5')
        pin_number: Optional pin number to trace (if empty, trace all pins)

    Returns:
        Complete connection trace through hierarchy
analyze_hierarchical_nets tool
Analyze all nets in hierarchical schematic design.

    This tool analyzes network connections across the entire hierarchy,
    showing how signals flow between main schematic and sub-sheets.

    Args:
        file_path: Path to main .kicad_sch file
        filter_pattern: Optional regex pattern to filter net names
        show_hierarchy: Whether to show hierarchical structure (default: True)

    Returns:
        Complete hierarchical net analysis
generate_netlist tool
Generate KiCad netlist from schematic file.

    Args:
        schematic_path: Path to .kicad_sch file

    Returns:
        Path to generated .xml netlist file
trace_netlist_connection tool
Trace component connections using netlist file (most accurate).

    Args:
        netlist_path: Path to .xml netlist file
        reference: Component reference (e.g., 'R16')
        pin_number: Optional pin number (e.g., '1'). If empty, trace all pins.

    Returns:
        Detailed connection information from netlist
get_netlist_nets tool
Get all nets from netlist file.

    Args:
        netlist_path: Path to .xml netlist file
        filter_pattern: Optional regex pattern to filter net names

    Returns:
        List of all nets with their connections
get_netlist_components tool
Get all components from netlist with their network connections.

    Args:
        netlist_path: Path to .xml netlist file
        filter_ref: Optional reference filter (e.g., 'R', 'U', 'C')

    Returns:
        List of components with their net connections
search_parts_registry tool
Search an open registry of 21,000+ verified KiCad parts (no login).

    Matches part id, name, family, category, manufacturer and keywords.
    Example queries: "usb c connector", "0402 capacitor", "nrf9151".

    Args:
        query: Search terms (all terms must match; '*' wildcards allowed)
        limit: Maximum number of results (default 20)

    Returns:
        JSON list of matches (id, name, family, page URL)
get_registry_part tool
Get the full registry record for one part.

    Includes download URLs (footprint/symbol/3D), datasheet link, dimension
    provenance and field reports from real builds.

    Args:
        part_id: Registry part id (from search_parts_registry)

    Returns:
        JSON part record
download_registry_part tool
Download a registry part's files into a local directory.

    Downloads are HTTPS-only, restricted to the registry's own hosts,
    capped at 50 MB per file, and saved with extension-checked filenames.

    Args:
        part_id: Registry part id (from search_parts_registry)
        save_dir: Existing local directory (e.g. the project library folder)
        formats: Which files — any of "footprint", "symbol", "step",
            "preview" (default: footprint + symbol)

    Returns:
        Saved file paths, or an error
list_pcb_footprints tool
List all footprints in a KiCad PCB file.

    Args:
        file_path: Path to .kicad_pcb file
        filter_layer: Optional filter by layer (e.g., 'F.Cu', 'B.Cu')

    Returns:
        Formatted list of footprints
get_pcb_statistics tool
Get statistics about a KiCad PCB design.

    Args:
        file_path: Path to .kicad_pcb file

    Returns:
        PCB statistics and metrics
analyze_pcb_nets tool
Analyze nets in a KiCad PCB file.

    Provides track width distribution, via distribution, per-net track
    length ranking, layer coverage, and design rule comparison.

    Args:
        file_path: Path to .kicad_pcb file

    Returns:
        Net information and routing analysis from PCB
find_tracks_by_net tool
Find track segments belonging to a specific net.

    Args:
        file_path: Path to .kicad_pcb file
        net_name: Name of the net to search for

    Returns:
        Track information for the specified net with length analysis
analyze_pcb_signal_integrity tool
Analyze signal integrity: diff pair matching, RF traces, critical nets.

    Auto-detects differential pairs (e.g., USB_N/USB_P, DP/DN) and checks
    length matching. Reports RF trace dimensions and longest signal nets.

    Args:
        file_path: Path to .kicad_pcb file
        net_name: Optional specific net to analyze in detail

    Returns:
        Signal integrity analysis report
analyze_pcb_power_integrity tool
Analyze power integrity: copper zones, power net routing, GND coverage.

    Args:
        file_path: Path to .kicad_pcb file

    Returns:
        Power integrity analysis report
setup_pcb_layout tool
Initialize an empty PCB with the specified board outline dimensions.

    Writes a .kicad_pcb next to the schematic containing only the board
    outline (Edge.Cuts), a standard 2-layer stack and default design rules —
    no footprints, tracks or nets. KiCad stores .kicad_pcb coordinates in
    millimetres (plain decimals), so dimensions are emitted directly in mm.

    Args:
        schematic_path: Path to the .kicad_sch the board is based on (used to
            derive the .kicad_pcb path and board title).
        width: Board width in the given unit.
        height: Board height in the given unit.
        unit: "mm" (default) or "mil".

    Returns:
        Confirmation reporting the actual outline size, layer count and
        element counts read back from the written file.
export_gerber tool
Export a PCB to Gerber + drill files for fabrication via kicad-cli.

    Runs KiCad's command-line exporter against the .kicad_pcb and reports the
    files actually produced. Requires KiCad 7+ installed with kicad-cli on PATH.

    Args:
        pcb_path: Path to the .kicad_pcb file.
        output_dir: Directory for output (default: a "gerber" folder next to
            the PCB).

    Returns:
        Confirmation listing the generated files, or an actionable error.
analyze_pin_functions tool
Analyze pin functions and detect conflicts.

    This function analyzes schematic to determine pin functions by:
    - Examining net names to infer functionality
    - Identifying MCU components and their pin mappings
    - Detecting potential pin conflicts

    Args:
        schematic_path: Path to .kicad_sch file
        reference: Optional component reference (e.g., 'U1') to analyze specific component

    Returns:
        Detailed pin function analysis report
detect_pin_conflicts tool
Detect pins with conflicting electrical connections.

    This function checks for:
    - Multiple outputs on same net
    - Power-to-power connections
    - Unconnected input pins
    - Pin type mismatches

    Args:
        schematic_path: Path to .kicad_sch file

    Returns:
        Detailed conflict detection report
extract_pinmux_config tool
Extract pin multiplexing configuration for MCUs.

    This function extracts pin multiplexing (pinmux) configuration
    for MCU components, showing which peripherals are assigned to which pins.

    Args:
        schematic_path: Path to .kicad_sch file
        component_type: Optional MCU type filter (e.g., 'stm32', 'esp32', 'nrf52')

    Returns:
        Detailed pinmux configuration report
create_kicad_project tool
Create a new KiCad project.

    By default the project is empty: a blank board, schematic and project
    file written by the installed KiCad itself, so they are in its native
    file format.

    Args:
        project_path: Directory path for the project
        project_name: Name of the project (without extension)
        title: Optional project title (defaults to project_name)
        company: Optional company name
        template: "empty" (default) for a blank project, or a KiCad template
            to start from, by name (e.g. "Arduino_Uno", "RaspberryPi-HAT") or
            as a path to a template directory. Templates come with their own
            board outline, footprints and schematic.

    Returns:
        Confirmation message with created files
list_schematic_components tool
List all components in a KiCad schematic file.

    Args:
        file_path: Path to .kicad_sch file
        filter_type: Optional filter by component type prefix (e.g., 'R', 'C', 'U', 'IC')
        filter_value: Optional filter by component value (partial match)
        filter_dnp: Optional filter by DNP flag (True=only DNP, False=only non-DNP)

    Returns:
        Formatted list of components with their properties
get_symbol_details tool
Get detailed information about a specific symbol/component.

    Args:
        file_path: Path to .kicad_sch file
        reference: Component reference designator (e.g., 'R1', 'U1')

    Returns:
        Detailed component information including pins and properties
search_symbols tool
Search for symbols/components matching a pattern.

    Args:
        file_path: Path to .kicad_sch file
        pattern: Search pattern (supports regex)
        search_fields: Fields to search: 'all', 'reference', 'value', 'library'

    Returns:
        List of matching components
list_schematic_nets tool
List all nets in a KiCad schematic.

    Args:
        file_path: Path to .kicad_sch file
        filter_power: If True, only show power nets (VCC, GND, etc.)

    Returns:
        Formatted list of nets
get_schematic_info tool
Get general information about a schematic file.

    Args:
        file_path: Path to .kicad_sch file

    Returns:
        Schematic metadata and statistics
add_hierarchical_label tool
Add a hierarchical label on a component pin (cross-sheet connection).

    Hierarchical labels are how signals cross sheet boundaries in KiCad: a
    label placed in a sub-sheet appears as a same-named pin on the parent
    sheet's sheet symbol, connecting the two. Placing them by hand for
    every cross-sheet signal is the classic tedium this automates.

    The label anchors EXACTLY on the pin (computed from the embedded
    symbol geometry incl. rotation and the library-vs-sheet Y flip), so
    the connection is electrically valid — verify with generate_netlist.

    Args:
        file_path: Path to the .kicad_sch file (the SUB-sheet for signals
            going up to its parent).
        reference: Component reference (e.g. 'U1').
        pin: Pin number.
        label_name: Label text; defaults to the reference+pin when empty.
        shape: Electrical direction: input, output, bidirectional,
            tri_state or passive (ERC uses this).
        x/y: Explicit anchor coordinates (overrides reference/pin).

    Returns:
        Confirmation with the exact anchor position.
add_global_label tool
Add a global label on a component pin (project-wide connection).

    Global labels connect same-named signals anywhere in the whole
    hierarchy regardless of sheets — useful for power-style rails and
    cross-cutting signals where a hierarchical parent/child chain would
    be awkward.

    Args:
        file_path: Path to the .kicad_sch file.
        reference: Component reference (e.g. 'U1').
        pin: Pin number.
        label_name: Global net name (required — globals are named nets).
        shape: Electrical direction: input, output, bidirectional,
            tri_state or passive.
        x/y: Explicit anchor coordinates (overrides reference/pin).

    Returns:
        Confirmation with the exact anchor position.
add_component_from_library tool
Add a component from KiCad's built-in library to the schematic.
add_wire tool
Add a wire (connection line) to the schematic.
add_label tool
Add a local label (text label) to the schematic.
search_components_by_type tool
Search for components by type (OLED, sensor, display, etc.).

    This tool intelligently searches for components by their type, value,
    footprint, or network connections to identify specific component categories.

    Args:
        file_path: Path to .kicad_sch file
        component_type: Type of component to search for (e.g., 'OLED', 'sensor', 'display', 'SPI', 'I2C')
        search_in_subsheets: Whether to search in hierarchical subsheets (default: True)

    Returns:
        Formatted list of matching components with their connections and details
run_erc tool
Run Electrical Rules Check (ERC) on schematic.

    Checks for:
    - Unconnected pins
    - Power conflicts
    - Multiple outputs on same net
    - Pin type mismatches

    Args:
        schematic_path: Path to .kicad_sch file

    Returns:
        ERC report with violations and recommendations
run_drc tool
Run Design Rules Check (DRC) on PCB.

    Checks for:
    - Clearance violations
    - Track spacing violations
    - Missing connections
    - Pad/footprint overlaps
    - Board edge constraints

    Args:
        pcb_path: Path to .kicad_pcb file

    Returns:
        DRC report with violations and locations
get_erc_violations tool
Get filtered ERC violations from schematic.

    Args:
        schematic_path: Path to .kicad_sch file
        severity: Filter by severity ('error', 'warning', '') for all

    Returns:
        Filtered list of ERC violations
get_drc_violations tool
Get filtered DRC violations from PCB.

    Args:
        pcb_path: Path to .kicad_pcb file
        violation_type: Filter by type (e.g., 'clearance', 'spacing', '') for all

    Returns:
        Filtered list of DRC violations
export_erc_report tool
Export ERC report to file.

    The report is the kicad-cli ERC JSON report.

    Args:
        schematic_path: Path to .kicad_sch file
        output_path: Optional output file path (default: schematic_name_erc_report.json)

    Returns:
        Confirmation with output file location
export_drc_report tool
Export DRC report to file.

    The report is the kicad-cli DRC JSON report.

    Args:
        pcb_path: Path to .kicad_pcb file
        output_path: Optional output file path (default: pcb_name_drc_report.json)

    Returns:
        Confirmation with output file location
render_pcb tool
Render a 3D view of the PCB to a PNG image.

    Produces a photorealistic render of the assembled board via kicad-cli
    (footprints must have 3D models assigned; otherwise plain board geometry
    is rendered). Returns the image itself, so multimodal clients show it
    directly — useful for AI-assisted layout review.

    Args:
        pcb_path: Path to the .kicad_pcb file.
        side: Camera side: top, bottom, left, right, front, back.
        output_path: Output PNG (default: <pcb>_render_<side>.png next to
            the PCB).
        width: Image width in pixels.
        height: Image height in pixels.
        quality: Render quality: basic (fast) or high (slower, raytraced).
        rotate: Optional board rotation 'X,Y,Z' in degrees for isometric
            views, e.g. '-30,0,25'.

    Returns:
        The rendered image, or an error message string.
export_pcb_3d tool
Export the PCB as a STEP 3D model for mechanical CAD handoff.

    Includes board body, footprints and their assigned 3D models.

    Args:
        pcb_path: Path to the .kicad_pcb file.
        output_path: Output .step file (default: <pcb>.step next to the PCB).
        board_only: Export only the board body, without component models.

    Returns:
        Confirmation with the output path and file size.
export_schematic_svg tool
Export schematic pages to SVG images.

    Renders every page of the (hierarchical) schematic as an SVG file via
    kicad-cli. SVGs are vector graphics — clients and humans can zoom into
    any detail without quality loss.

    Args:
        schematic_path: Path to the root .kicad_sch file.
        output_dir: Output directory (default: <schematic>_svg/ next to it).

    Returns:
        Confirmation listing the generated SVG files.
get_config resource
Get current server configuration.

What we checked

The same checks run on every server. Each line below has one of these marks:

FoundA published issue such as a risky tool or a CVE
PassedWe ran the check on this server and found nothing
After reviewChecked; we publish it once a person verifies it
Partly tracedRan, but the scanner could not follow every path to its end
FactWhat the code does, not a judgement either way
Not checkedThe scanner had nothing to read for it, or it needs the live server
Code Safetypartly traced
  • 8 checks: command injection, argument injection, path traversal, server-side request forgery, SQL injection, code execution, unsafe deserialization, template injection
    Checked on every scan. Results in this category are published only after a person has verified them.
Capability Exposure1.7
  • Runs programs the caller chooses
    No tool runs a command or program the caller supplies — 48 tool handlers traced. Not every path could be followed, so this is not a clean pass.
  • Executes caller-supplied code
    No tool evaluates code the caller supplies — 48 tool handlers traced. Not every path could be followed, so this is not a clean pass.
  • Reads or writes any file path HIGH
    9 findings in add_global_label, add_hierarchical_label, analyze_hierarchical_nets, create_kicad_project and more; 8 more to review
  • Requests any address
    No tool sends a request to an address the caller supplies — 48 tool handlers traced. Not every path could be followed, so this is not a clean pass.
  • Runs caller-supplied SQL
    No tool executes a query the caller supplies — 48 tool handlers traced. Not every path could be followed, so this is not a clean pass.
  • Tools that start processes
    Not seen in the traced code of 48 capabilities; 47 more call code the scanner could not follow, where it may happen
  • Tools that touch files
    25 of 48 capabilities touch files; 22 more call code the scanner could not follow, where it may happen
  • Tools that call the network
    23 of 48 capabilities call the network; 24 more call code the scanner could not follow, where it may happen
Where the code is: 48 handlers in 14 files at commit 0b445be8668c
Prompt Integrity10.0
  • 5 checks: tool poisoning, instruction override, hidden content, exfiltration requests, metadata integrity
    Checked on every scan. Results in this category are published only after a person has verified them.
Supply Chain7.0
  • Dependency manifests
    2 manifests: pyproject.toml, requirements.txt
  • Lockfiles checked against OSV
    1 file resolved and checked against the OSV database; 2 not resolved: pyproject.toml: dependency ranges declared here were not resolved against a lockfile and were not checked; requirements.txt: 6 dependency lines carry no exact version, so the installed version was not checked; pin them or add a lockfile
  • Known vulnerabilities in production dependencies
    No production dependency with a known advisory
  • Known vulnerabilities in other dependencies
    No package used only for development, tests or examples has a known advisory
  • MCP SDK version
    fastmcp >=3.2,<4, mcp >=1.27,<2
Secrets & Credentials10.0
  • 3 checks: credential harvesting, undeclared credential access, credentials sent over the network
    Checked on every scan. Results in this category are published only after a person has verified them.
  • Tools that read credentials
    Not seen in the traced code of 48 capabilities; 47 more call code the scanner could not follow, where it may happen
  • Environment variables
    2 capabilities read environment variables (often API keys)
  • Authentication declared
    Not checked: needs the live server's tools/list (a remote server declares how clients authenticate)
Behavior Transparency10.0
  • 3 checks: undeclared network access, undeclared file access, undeclared process execution
    Checked on every scan. Results in this category are published only after a person has verified them.
  • Tool descriptions present
    Every tool has a description the model and the user can read
  • Statically known names
    Every tool's name could be read from the code
  • Input schemas
    Not checked: needs the live server's tools/list (every tool declares an input schema)
  • Destructive tools annotated
    Not checked: needs the live server's tools/list (tools that write, delete or run commands carry destructivehint)

Dependencies with known vulnerabilities (0 in production)

Dependency ranges were not resolved against a lockfile, so the score is capped at 7.

No known vulnerabilities in the production dependencies that could be checked.

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 runsOn your machine, started by your MCP client from this repository or its package
Transportnot stated in the code the scanner read; most local servers talk over stdio
Sign-innot checked needs the live server
MCP SDKfastmcp >=3.2,<4, mcp >=1.27,<2
Servers in the code1 (kicad-mcp-server)

The project's own security

Security policynone no SECURITY.md in the repository: report issues privately through GitHub if it is enabled
Past advisoriesnone in the GitHub Advisory Database
Last push2026-10-22
Signed releasesnot checked yet

Where it is published

Listed in3 catalogs (github_search, glama, mcp_toplist)
Licensenot stated
Created2026-01-25

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.

Request a scan or an audit

Tell us about your server. We reply within 5 working days.

What do you need? *

We use these details only to answer you.