Λογότυπο KiCad Copilot

KiCad Copilot

Κοινότητα
biosshot

AI-powered MCP server for KiCad schematic generation, PCB placement, local routing, and project automation.

Εκδότηςbiosshot
Αποθετήριοkicad-copilot
ΓλώσσαTypeScript
Forks
1
Αστέρια
13
Διαθέσιμα εργαλεία
22
Τύπος μεταφοράςstdio
Κατηγορίες
Άδεια χρήσηςMIT
Σύνδεσμοι
  • Συνδέστε εργαλεία σε ροές εργασίας AI

    Το KiCad Copilot παρέχει δυνατότητες MCP που μπορούν να χρησιμοποιηθούν από συμβατές εφαρμογές-πελάτες AI και πράκτορες AI.

  • 22 διαθέσιμα εργαλεία

    Περιηγηθείτε παρακάτω στις ενέργειες που μπορούν να κληθούν, μαζί με τα ονόματα και τις περιγραφές τους, όταν παρέχονται από τον διακομιστή.

  • Ρυθμίσεις έτοιμες για αντιγραφή

    Χρησιμοποιήστε τα αποσπάσματα εγκατάστασης για να ρυθμίσετε αυτόν τον διακομιστή στην εφαρμογή-πελάτη MCP που προτιμάτε.

  • Δείκτες ενδιαφέροντος για τον ανοιχτό κώδικα

    13 αστέρια και 1 διακλαδώσεις στο συνδεδεμένο αποθετήριο.

KiCad Copilot

AI-powered MCP server for KiCad. Create and modify schematics from natural language, search real components, work with hierarchical projects, generate PCB placement, route boards locally, and create simple copper pours directly through an AI agent.

KiCad Copilot is the KiCad counterpart to EasyEDA Copilot. It provides the same core circuit-generation and PCB automation capabilities—and goes further with file-oriented hierarchical projects, recoverable checkpoints, native kicad-cli integration, and fully local PCB routing.

Integrated analysis: KiCad Copilot downloads a pinned, verified kicad-happy v2.2.0 release on first use of analyze_schematic or analyze_pcb. The MCP tools return compact, token-efficient actionable findings and focused design data.

What it does

KiCad Copilot gives AI agents a high-level, file-oriented interface to KiCad:

  • Generate and modify schematics: add, remove, replace, and connect real components without editing every KiCad object individually.
  • Rebuild schematic blocks: reorganize selected components while preserving their electrical connections.
  • Search components and reusable blocks: resolve components by MPN or part UUID and insert proven functional circuits.
  • Work with KiCad projects: inspect project trees and create projects, standalone schematics, hierarchical sheets, and PCB files.
  • Preserve recoverable checkpoints: save, list, and restore exact versions of individual KiCad files.
  • Synchronize schematic and PCB: explicitly import schematic changes into the associated board.
  • Generate PCB placement: describe board constraints in a compact JavaScript DSL, review PNG/SVG previews, and apply the approved result.
  • Route locally: use eda-copilot-router with its managed KRT backend without sending routing work to an external service.
  • Create copper pours: add simple full-board zones with optional stitching vias.
  • Use native KiCad tooling: discover kicad-cli for ERC, DRC, previews, exports, manufacturing files, and other native operations.

KiCad Copilot works directly with saved .kicad_pro, .kicad_sch, and .kicad_pcb files. It does not require KiCad IPC or a plugin installed inside KiCad.

Examples

These projects were generated and iterated through KiCad Copilot. The complete KiCad source files are available in the examples directory.

ATmega328P development board

A hierarchical ATmega328P design with the MCU core, clock, reset, decoupling, USB-UART power, Nano-compatible headers, and debug connections split across functional sheets.

Download the ATmega328P project

Geiger high-voltage supply

A larger multi-sheet design covering power input, 3.3 V regulation, the high-voltage generator, flyback stage, feedback, detector, controller, and user interface.

Download the Geiger high-voltage project

RP2350 development board

A hierarchical RP2350 design with power, clock, flash, USB/debug, GPIO headers, and an AI-generated PCB placement. The example includes the placement DSL and an editable KiCad board.

Download the RP2350 project

Installation

Add the MCP server to your AI agent.

Codex:

bash
codex mcp add kicad-copilot -- npx -y kicad-copilot-mcp

Claude Code:

bash
claude mcp add kicad-copilot -- npx -y kicad-copilot-mcp

Generic MCP configuration:

json
{
  "mcpServers": {
    "kicad-copilot": {
      "command": "npx",
      "args": ["-y", "kicad-copilot-mcp"]
    }
  }
}

Restart the MCP client after adding the server. KiCad Copilot includes local workflow documentation for the agent; tool descriptions expose its installed path automatically.

Requirements

  • Node.js 20 or newer
  • KiCad 9 or 10
  • Python 3 for managed EasyEDA2KiCad installation and kicad-happy analysis

KiCad Copilot searches for kicad-cli in PATH and standard KiCad installation locations, preferring KiCad 10 when multiple supported versions are installed. Set KICAD_CLI_PATH when the executable is stored elsewhere.

The first real-component conversion uses an existing EasyEDA2KiCad installation or installs it automatically into a managed local virtual environment.

The first design-analysis call downloads the pinned kicad-happy release into the shared EDA Copilot asset cache after verifying its archive size and SHA-256 hash. Set KICAD_HAPPY_DIR to use a trusted local checkout instead.

Schematic workflow

Ask the agent to inspect a KiCad project or give it the path to a target .kicad_sch file. A typical request can be as simple as:

text
Open D:\Projects\sensor\sensor.kicad_pro and add a 3.3 V regulator block to the Power sheet.

The agent can inspect the project tree, read the target sheet as compact component/net JSON, find exact components, assemble the requested change, and validate the saved result through KiCad.

Hierarchical projects remain file-oriented: each physical schematic sheet is modified through its own .kicad_sch path, while project-wide context is used where the operation requires the complete signal map.

File synchronization

KiCad Copilot changes files on disk. KiCad does not reliably merge those changes with newer unsaved edits in an already open editor.

Before a write:

  1. Save intentional changes in KiCad.
  2. Avoid keeping the only copy of newer work in the editor buffer.

After a write:

  1. Reload, revert, or reopen the document in KiCad.
  2. Do not overwrite the updated file with an older editor buffer.

PCB workflow

PCB placement and routing use an explicit review flow:

  1. Import schematic changes into the target .kicad_pcb file.
  2. Describe the outline, holes, constraints, regions, and important components in the placement DSL.
  3. Generate a mechanical preview without modifying the PCB.
  4. Review the returned PNG or SVG preview.
  5. Generate and approve the complete placement.
  6. Apply the stored placement to the PCB.
  7. Route the remaining connections locally.
  8. Inspect the result and run final KiCad DRC.

Every placement response containing a PCB is checkpointed and applied atomically, including preview and issue-bearing results. The agent inspects the returned preview or PCB analysis and can roll back through checkpoints when needed; no separate assembly tool call is required.

Placement and router DSL execution remain separate operations. This keeps schematic-to-PCB synchronization explicit and makes it possible to clear or rebuild routing without deleting placed components.

KiCad CLI

get_project_info reports the discovered kicad-cli path and version. Agents should use the native CLI whenever KiCad already provides the operation, including:

  • schematic ERC and PCB DRC;
  • schematic and PCB PDF/SVG exports;
  • 3D PCB renders;
  • Gerber and drill generation;
  • BOM, position, STEP, STL, GLB, and VRML exports;
  • project jobsets and format upgrades.

See KiCad CLI workflow for ready-to-use commands.

Design analysis

analyze_schematic runs the offline schematic checks and can return focused top-level overview, hierarchy, block, connectivity, power, bus, BOM, assembly, and verification data. analyze_pcb automatically enriches PCB analysis from the associated schematic, runs cross-domain checks, and optionally adds thermal, EMC, or trace-proximity analysis. Individual boolean flags control each optional report field; compact findings are enabled by default. Long-running PCB layout, PCB routing, and lifecycle audits return a prefixed operation_id such as pcb-dsl:1a2b3c4d. Continue any of them with wait_operation; stop obsolete work with cancel_operation. The tools omit internal rule identifiers, runtime metrics, and coordinate-level copper from the LLM response.

See design analysis for the exact compact result contract and workflow.

Compatibility

KiCad versionStatus
KiCad 10Supported
KiCad 9Supported

Other major versions are rejected because their file formats and CLI behavior are not covered by the current implementation.

Documentation

Development

bash
git clone https://github.com/biosshot/kicad-copilot.git
cd kicad-copilot
npm install
npm run check
npm start

Run the MCP Inspector with:

bash
npm run inspect

The repository also contains focused schematic, PCB, and routing test scripts for development against disposable files.

License

MIT

Εγκατάσταση

TypingMind
{
  "mcpServers": {
    "kicad-copilot": {
      "command": "npx",
      "args": [
        "-y",
        "kicad-copilot-mcp"
      ]
    }
  }
}

Διαθέσιμα εργαλεία

  • component_search

    Search a component by exact part_uuid or MPN.

  • search_reused_block

    Search reusable circuit blocks by function. For circuit workflow docs, read: /tmp/mcp-validator/.npm/_npx/275303f75933657d/node_modules/kicad-copilot-mcp/docs/SKILL.md

  • beautify_schematic

    Reassemble selected KiCad components into named functional blocks while preserving their electrical connections. Recoverable item errors are returned (max 36). For circuit workflow docs, read: /tmp/mcp-validator/.npm/_npx/275303f75933657d/node_modules/kicad-copilot-mcp/docs/SKILL.md

  • extract_circuit

    Apply circuit changes to a KiCad .kicad_sch file. Every added component must include part_uuid. Recoverable item errors are returned (max 36). For circuit modification docs, read: /tmp/mcp-validator/.npm/_npx/275303f75933657d/node_modules/kicad-copilot-mcp/docs/SKILL.md

  • get_schematic

    Get exactly one KiCad .kicad_sch file as a compact component and net list. For circuit workflow docs, read the local docs folder: /tmp/mcp-validator/.npm/_npx/275303f75933657d/node_modules/kicad-copilot-mcp/docs/SKILL.md

  • create_doc

    Create a KiCad project, schematic, hierarchical page, or empty PCB without overwriting files. Agent instructions: /tmp/mcp-validator/.npm/_npx/275303f75933657d/node_modules/kicad-copilot-mcp/docs/SKILL.md

  • get_project_info

    Build KiCad project and hierarchical schematic trees from a file or directory path. Agent instructions: /tmp/mcp-validator/.npm/_npx/275303f75933657d/node_modules/kicad-copilot-mcp/docs/SKILL.md

  • list_checkpoints

    List file checkpoints saved by KiCad Copilot. Agent instructions: /tmp/mcp-validator/.npm/_npx/275303f75933657d/node_modules/kicad-copilot-mcp/docs/SKILL.md

  • save_checkpoint

    Save an exact checkpoint of one KiCad file. Agent instructions: /tmp/mcp-validator/.npm/_npx/275303f75933657d/node_modules/kicad-copilot-mcp/docs/SKILL.md

  • restore_checkpoint

    Restore one exact file checkpoint by id. Agent instructions: /tmp/mcp-validator/.npm/_npx/275303f75933657d/node_modules/kicad-copilot-mcp/docs/SKILL.md

  • set_pcb_stack_layers

    Set the PCB copper layer count while preserving F.Cu and B.Cu. PCB instructions: /tmp/mcp-validator/.npm/_npx/275303f75933657d/node_modules/kicad-copilot-mcp/docs/pcb-layout/instructions.md

  • import_pcb_changes

    Synchronize one KiCad PCB from its associated schematic. PCB instructions: /tmp/mcp-validator/.npm/_npx/275303f75933657d/node_modules/kicad-copilot-mcp/docs/pcb-layout/instructions.md

  • get_pcb_component_sizes

    Return server placement footprint sizes and compact board estimate. PCB instructions: /tmp/mcp-validator/.npm/_npx/275303f75933657d/node_modules/kicad-copilot-mcp/docs/pcb-layout/instructions.md

  • make_pcb_layout

    Create placement without changing the PCB and return PNG/SVG preview paths. PCB instructions: /tmp/mcp-validator/.npm/_npx/275303f75933657d/node_modules/kicad-copilot-mcp/docs/pcb-layout/instructions.md

  • wait_pcb_layout

    Wait for an active make_pcb_layout operation and return its PNG/SVG preview paths.

  • cancel_pcb_layout

    Request cancellation of an active make_pcb_layout operation.

  • assemble_pcb_layout

    Apply a stored placement to one KiCad PCB. PCB instructions: /tmp/mcp-validator/.npm/_npx/275303f75933657d/node_modules/kicad-copilot-mcp/docs/pcb-layout/instructions.md

  • auto_route_pcb

    Route a KiCad PCB with the bundled local WASM router and apply it atomically. PCB instructions: /tmp/mcp-validator/.npm/_npx/275303f75933657d/node_modules/kicad-copilot-mcp/docs/pcb-layout/instructions.md

  • wait_auto_route

    Wait for a running local PCB auto-route operation.

  • cancel_auto_route

    Cancel a running local PCB auto-route operation.

  • clear_pcb_routing

    Delete PCB tracks, track arcs, and vias while preserving placement, zones, and outline. PCB instructions: /tmp/mcp-validator/.npm/_npx/275303f75933657d/node_modules/kicad-copilot-mcp/docs/pcb-layout/instructions.md

  • pour_pcb_layers

    Create managed full-board copper zones and optional stitching vias. PCB instructions: /tmp/mcp-validator/.npm/_npx/275303f75933657d/node_modules/kicad-copilot-mcp/docs/pcb-layout/instructions.md

Χρησιμοποιήστε το MCP KiCad Copilot με πολλά μοντέλα AI

Το TypingMind συνδέει τα εργαλεία MCP σε επίπεδο χώρου εργασίας. Έτσι, μόλις συνδεθεί το KiCad Copilot, μπορείτε να το χρησιμοποιείτε με διαφορετικά μοντέλα AI στο TypingMind, αντί να το ρυθμίζετε ξεχωριστά για κάθε μοντέλο. Αυτή η ενσωμάτωση MCP εκτελείται τοπικά στη συσκευή σας μέσω του συνδέσμου MCP του TypingMind.

Οδηγός ρύθμισης για τη χρήση του τοπικού συνδέσμου

Επιλέξτε αυτή τη μέθοδο όταν ο διακομιστής MCP χρειάζεται πρόσβαση σε τοπικά αρχεία, εφαρμογές ή ιδιωτικούς πόρους στον υπολογιστή σας.

1

Ανοίξτε τις ρυθμίσεις MCP

Στο TypingMind, μεταβείτε στις «Ρυθμίσεις», έπειτα στις «Σύνθετες ρυθμίσεις» και στο «Model Context Protocol» και επιλέξτε «Ρύθμιση συνδέσμου».

  1. Ανοίξτε το TypingMind στο πρόγραμμα περιήγησής σας.
  2. Κάντε κλικ στο εικονίδιο «Ρυθμίσεις».
  3. Μεταβείτε στις «Σύνθετες ρυθμίσεις».
  4. Ανοίξτε την ενότητα Model Context Protocol.
  5. Κάντε κλικ στην επιλογή «Ρύθμιση συνδέσμου» και επιλέξτε «Αυτή η συσκευή».
Οθόνη ρύθμισης συνδέσμου MCP του TypingMind με επιλεγμένη την επιλογή «Αυτή η συσκευή»
2

Εκτελέστε την εντολή του συνδέσμου

Επιλέξτε «Αυτή η συσκευή», αντιγράψτε την εντολή από το TypingMind και εκτελέστε την στο Τερματικό. Διατηρήστε τη διεργασία σε λειτουργία όσο χρησιμοποιείτε το MCP.

  1. Αντιγράψτε την εντολή ρύθμισης που εμφανίζεται στο TypingMind.
  2. Ανοίξτε το Τερματικό στο macOS ή το Windows Terminal στα Windows.
  3. Επικολλήστε και εκτελέστε την εντολή.
  4. Εγκρίνετε την εγκατάσταση του πακέτου, αν το Τερματικό σάς ζητήσει επιβεβαίωση για να συνεχίσει.
  5. Διατηρήστε ανοιχτό το παράθυρο του Τερματικού και τη διεργασία σε λειτουργία όσο χρησιμοποιείτε εργαλεία MCP.
3

Προσθέστε το KiCad Copilot ως διακομιστή

Όταν η κατάσταση του συνδέσμου είναι «Έτοιμος», κάντε κλικ στο «Αλλαγή servers» και επικολλήστε τις ρυθμίσεις του διακομιστή MCP.

  1. Περιμένετε μέχρι η κατάσταση του συνδέσμου να εμφανιστεί ως «Έτοιμος».
  2. Κάντε κλικ στο «Αλλαγή servers».
  3. Επικολλήστε τις ρυθμίσεις του διακομιστή MCP KiCad Copilot.
  4. Αποθηκεύστε τη λίστα διακομιστών.
  5. Κάντε ανανέωση αν θέλετε να επιβεβαιώσετε ότι ο σύνδεσμος παραμένει έτοιμος για χρήση.
Ρυθμίσεις MCP του TypingMind με ενεργό διακομιστή και το κουμπί «Αλλαγή servers»
{
  "mcpServers": {
    "kicad-copilot": {
      "command": "npx",
      "args": [
        "-y",
        "kicad-copilot-mcp"
      ]
    }
  }
}
4

Χρησιμοποιήστε τη σύνδεση με διαφορετικά μοντέλα

Αποθηκεύστε τη λίστα διακομιστών, ανοίξτε τα «Πρόσθετα», ενεργοποιήστε τα εργαλεία MCP του KiCad Copilot και έπειτα επιλέξτε οποιοδήποτε υποστηριζόμενο μοντέλο AI στο TypingMind. Χρησιμοποιήστε τα εργαλεία στη συνομιλία ή αναθέστε τα σε έναν πράκτορα AI.

  1. Ανοίξτε τη σελίδα «Πρόσθετα» στο TypingMind.
  2. Ενεργοποιήστε τα εργαλεία MCP του KiCad Copilot.
  3. Ξεκινήστε μια συνομιλία και επιλέξτε το μοντέλο AI που θέλετε να χρησιμοποιήσετε.
  4. Χρησιμοποιήστε τα εργαλεία MCP στη συνομιλία ή αντιστοιχίστε τα σε έναν πράκτορα AI.
  5. Μεταβείτε σε άλλο μοντέλο AI όποτε χρειάζεται, χωρίς να συνδέσετε ξανά το MCP.
Συνομιλία στο TypingMind με ενεργοποιημένα εργαλεία MCP και επιλεγμένο μοντέλο AI
Θα με βοηθήσετε σε αυτό μέσω KiCad Copilot;
KiCad Copilot
Βεβαίως. Το διάβασα.
Δείτε τι βρήκα μέσω του KiCad Copilot.

Συχνές ερωτήσεις

Σε τι χρησιμεύει ο διακομιστής MCP KiCad Copilot;

Το KiCad Copilot είναι ένας διακομιστής MCP που επιτρέπει σε συμβατές εφαρμογές AI να συνδέονται με εξωτερικά εργαλεία και πληροφορίες πλαισίου. Στο TypingMind, μπορείτε να προσθέσετε αυτόν τον διακομιστή MCP μία φορά και να κάνετε τα εργαλεία του διαθέσιμα στον χώρο εργασίας AI σας.

Μπορώ να χρησιμοποιήσω το KiCad Copilot MCP με πολλά μοντέλα AI στο TypingMind;

Ναι. Το TypingMind συνδέει τα εργαλεία MCP σε επίπεδο χώρου εργασίας, ώστε να μπορείτε να χρησιμοποιείτε το KiCad Copilot με διαφορετικά μοντέλα AI, όπως τα Claude, ChatGPT, Gemini ή άλλα μοντέλα που έχετε ρυθμίσει στο TypingMind, χωρίς να ρυθμίζετε τον διακομιστή MCP ξεχωριστά για κάθε μοντέλο.

Γιατί να χρησιμοποιήσετε τον σύνδεσμο MCP KiCad Copilot με το TypingMind;

Το TypingMind είναι ένα από τα καλύτερα περιβάλλοντα συνομιλίας με μεγάλα γλωσσικά μοντέλα, καθώς συγκεντρώνει πολλά μοντέλα AI, προτροπές, πρόσθετα, πράκτορες AI, κλειδιά API και εργαλεία MCP σε έναν χώρο εργασίας. Συνδέοντας το KiCad Copilot, μπορείτε να χρησιμοποιείτε τα εργαλεία MCP του με τα μοντέλα που προτιμάτε, διατηρώντας οργανωμένη τη ροή εργασίας των συνομιλιών σας στο TypingMind.

Πώς συνδέω το KiCad Copilot MCP στο TypingMind;

Το KiCad Copilot λειτουργεί μέσω του τοπικού συνδέσμου MCP του TypingMind. Αυτή είναι η καλύτερη επιλογή όταν ο διακομιστής MCP χρειάζεται πρόσβαση σε τοπικά αρχεία, εφαρμογές υπολογιστή, εργαλεία γραμμής εντολών ή ιδιωτικούς πόρους στον υπολογιστή σας.

Ποια εργαλεία παρέχει το KiCad Copilot MCP στο TypingMind;

Το KiCad Copilot διαθέτει 22 εργαλεία MCP που μπορείτε να ενεργοποιήσετε από τη σελίδα Πρόσθετα του TypingMind και να χρησιμοποιήσετε σε συνομιλίες ή να αναθέσετε σε πράκτορες AI.

Χρειάζεται να κοινοποιήσω τα κλειδιά API μου στο TypingMind για να χρησιμοποιήσω το KiCad Copilot MCP;

Όχι. Το TypingMind δίνει προτεραιότητα στην τοπική λειτουργία και σας επιτρέπει να διατηρείτε τον έλεγχο των παρόχων μοντέλων, των κλειδιών API, των προτροπών και των ρυθμίσεων MCP σας. Αν το KiCad Copilot απαιτεί έλεγχο ταυτότητας, προσθέστε τις απαιτούμενες κεφαλίδες, τις ρυθμίσεις OAuth ή τις τοπικές ρυθμίσεις για τον συγκεκριμένο διακομιστή MCP κατά τη δημιουργία της σύνδεσης.

kicad_copilot_mcp_skill

Path to the locally installed KiCad Copilot MCP agent instructions.

kicad_copilot_mcp_skill

Use the locally installed KiCad Copilot MCP agent instructions.

Σχετικοί διακομιστές MCP

Προβολή όλων

Στήστε δικό σας χώρο εργασίας AI τώρα

Εγγραφείτε στο ενημερωτικό μας δελτίο για να ενημερώνεστε για νέες λειτουργίες και μελλοντικές κληρώσεις δώρων 👇