Koppar
ai.koppar/koppar
Serveur MCP OK 67 outils
Design a KiCad PCB from a prompt: parts, schematic checks, routing, KiCad DRC and Gerbers.
Fiche technique
- Auteur
- koppar.ai (espace de noms du registre)
- Dépôt
- —
- Site
- docs.koppar.ai/agents/mcp
- Version
- 1.0.1
- Transport
- Streamable HTTP
- Authentification
- Aucune (constatée par notre test)
- Adresse du serveur
- https://app.koppar.ai/mcp Streamable HTTP en-tête requis :
Authorization - Outils
- 67
- Catégories
- Images, audio et vidéo, IA, agents et mémoire
- Dernière mise à jour
- 18 oct. 2026
- Publication
- 18 oct. 2026
Badge pour votre README
Gratuit, pour toute fiche. Il renvoie vers cette fiche et affiche « testé OK » tant que notre dernier test est réussi.
[](https://latlas.dev/mcp/ai.koppar/koppar)<a href="https://latlas.dev/mcp/ai.koppar/koppar"><img src="https://latlas.dev/badge/fiche/ai.koppar/koppar.svg" alt="Référencé sur L’Atlas" height="20"></a>Nos tests
Chaque semaine : initialize puis tools/list, sans identifiant, sans jamais appeler d’outil. Méthode
- Adresse
- https://app.koppar.ai/mcp
- Dernier résultat
- OK 28 nov. 2026, 07:51
- Temps de réponse
- 373 ms (initialize + tools/list)
- Version du protocole
- 2025-11-25
- Nom annoncé
- koppar 0.1.0
- Outils
- 67
Historique
| Date | Résultat | Réponse | Outils |
|---|---|---|---|
| 28 nov. 2026, 07:51 | OK | 373 ms | 67 |
Outils exposés (67, réponse à tools/list, 28 nov. 2026)
get_workflow_guide
Workflow guide
How to drive Koppar end to end, and the instructions for each stage you do yourself: "research" (part research and the dossier), "synthesis" (writing the SKiDL schematic), "review" (design review), "board" (the board plan). Read the stage guide before doing that stage.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| stage | enum: "overview" | "research" | "synthesis" | "review" | "board" | oui | overview | research | synthesis | review | board |
create_design
Create a design
Start a new design from the user's brief (what the board must do, its interfaces, power, size and constraints). Returns the design_id every other tool takes and the web_url where the user follows the design. Uses no generation quota: the work is done by you.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| brief | string | oui | The design brief, in the user's terms plus anything you clarified with them. |
| title | string | non | A short name for the design. |
| session_id | string | non | The project (web session) to put this design in: the session_id an earlier design of this board returned. Without it, a design whose title matches a project you opened before joins that project. |
| new_project | boolean | non | Start a new project even when one with this title exists. |
leave_feedback
Leave feedback
Send the Koppar team feedback from the user: about Koppar in general, or about one design (design_id). A rating from 1 to 5, a message, or both. Use it when the user asks you to pass something on, or tells you what worked or did not; say in the message what happened, in their words where you can. The team reads every one.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| message | string | non | What the user wants us to know, in their words where you can. |
| rating | integer | non | 1 (poor) to 5 (great), when the user gave one. |
| design_id | string | non | The design it is about, when it is about one. |
list_designs
List designs
The user's designs, newest first, including ones made in the web app (an agent can continue those too) and board workspaces (kind "board workspace"). With trashed, the designs in the trash instead.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| limit | integer | non | How many (default 20). |
| trashed | boolean | non | List the trash instead of the live designs. |
delete_design
Delete a design
Move a design (or a board workspace) to the trash: it leaves list_designs and the web app, and restore_design brings it back. permanent deletes it with no trash to restore from. Refused while a run on it is in progress. The CLI: `koppar delete `.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| design_id | string | oui | The design id returned by create_design or list_designs. |
| permanent | boolean | non | Remove it now, with no trash to restore from (default false). |
restore_design
Restore a design from the trash
Put a deleted design back from the trash.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| design_id | string | oui | The design id returned by create_design or list_designs. |
get_design
Design status
Where a design stands: the brief, the schematic (accepted or the last blocking error, ERC, part and net counts, submissions), the board run, the readable files, and the next step.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| design_id | string | oui | The design id returned by create_design or list_designs. |
search_kicad_symbol
Search KiCad symbols
Search KiCad's standard symbol libraries for parts whose name contains a substring. Use this whenever you are not 100% sure the (library, name) pair you're about to pass to Part(...) exists. Always prefer the package-suffixed variant the search returns over a generic name. If a part returns nothing here, get_kicad_symbol(library='custom', name=' ') may find it in the component database (a datasheet link and a pinout lead); register it with create_custom_symbol. Pass design_id so the lookup is recorded for the design's dossier and a registered part belongs to it.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| query | string | oui | Substring to search for, e.g. 'NE555', 'USB-C', 'RP2040'. |
| library | string | non | Restrict to one symbol library, e.g. 'Timer'. |
| design_id | string | non | The design id returned by create_design or list_designs. |
get_kicad_symbol
Get a KiCad symbol
Return the full pin list (number, name, electrical type) and description for a specific KiCad symbol. For some high-risk power parts it also returns curated topology_constraints from datasheet-style application notes and footprint_suggestions. Use this before writing pin connections (e.g. mcu['VCC'] += vcc) so names, constraints and footprints match the symbol exactly. For a part found in KiCad, the result is ALSO enriched with that part's topology + required external parts from a datasheet database (merged into topology_constraints). For a part NOT in KiCad (search returned nothing), call this with library='custom' and name=' ': the component database returns its datasheet link, package and an UNVERIFIED machine-extracted pinout. That is not a symbol: register the part with create_custom_symbol, whose pinout is checked against the datasheet. Pass design_id so the lookup is recorded for the design's dossier and a registered part belongs to it. Give library and name, or up to 12 of them in parts.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| library | string | non | Symbol library, e.g. 'MCU_RaspberryPi', or 'custom' for a database part number. |
| name | string | non | Symbol name, e.g. 'RP2040'. |
| parts | array<object> | non | Batch form: several (library, name) pairs. |
| design_id | string | non | The design id returned by create_design or list_designs. |
search_kicad_footprint
Search KiCad footprints
Search KiCad's standard footprint libraries. Returns 'Library:Footprint' strings suitable for the footprint= argument of Part(...). Query with the package family and pin count ('LGA-14', 'QFN-24', 'SOIC-8'), optionally a body size or pitch. When no name contains every word, near_misses lists footprints of the same package, ranked by body size and pitch. Pass design_id so the lookup is recorded for the design's dossier and a registered part belongs to it.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| query | string | oui | Package to search for, e.g. 'SOIC-8', 'QFN-56 7x7', 'USB_C_Receptacle'. |
| design_id | string | non | The design id returned by create_design or list_designs. |
create_custom_symbol
Register a custom symbol
Register a connectable schematic symbol for a part that is NOT in KiCad's libraries (search_kicad_symbol returned nothing). Use this for specialty ICs — LED-matrix drivers, niche sensors, etc. — INSTEAD of telling the synthesizer to model the part with discrete passives (which leaves every pin dangling and breaks the board). Provide the full datasheet pinout. The part then becomes available to the synthesizer as Part('custom', ' ') with the exact pin names you supply here, and is added to the Verified parts table. A part with three or more pins needs footprint= naming a real, in-library footprint for its package (search_kicad_footprint with the family and pin count, e.g. 'LGA-14'); the call is rejected without one, since a generated grid of pads cannot be assembled. List every pad of the footprint, NC pins included. When the package is not in KiCad's libraries, bring your own footprint instead: footprint_mod takes the whole .kicad_mod file as text (KiCad 6+, up to 1 MB; the CLI reads it with `koppar custom-symbol --footprint-file`). It is checked as a KiCad footprint, every pad must have a pin with that pad's number (and every pin a pad), and it is stored as 'custom: ': the symbol uses it, and it goes on the board, into project.zip and into the fp-lib-table. footprint is then not needed. The name is used for file names: letters, digits and _ . + - (anything else becomes _). The symbol belongs to design_id.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| design_id | string | oui | The design id returned by create_design or list_designs. |
| name | string | oui | Part number, used as the symbol name (letters, digits, _ . + -). |
| reference | string | non | Reference prefix, e.g. 'U'. |
| footprint | string | non | A 'Library:Footprint' from search_kicad_footprint. Required for 3+ pins unless footprint_mod is given. |
| footprint_mod | string | non | Your own footprint: the full text of a .kicad_mod file, starting with '(footprint'. Its pad numbers must match the pin numbers. |
| description | string | non | |
| datasheet | string | non | |
| pins | array<object> | oui | Every pin from the datasheet. |
add_custom_footprint
Add your own footprint
Give the design a footprint of your own: a KiCad .kicad_mod (the file's text) for a package KiCad's libraries lack. It joins the design's "custom" footprint library and is used as "custom: ": pass that to create_custom_symbol (footprint=) or name it in the SKiDL script's footprint=; the board builder loads it like a library footprint and the KiCad project download carries it. The pads must be numbered like the pins. The CLI: `koppar footprint part.kicad_mod`.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| design_id | string | oui | The design id returned by create_design or list_designs. |
| kicad_mod | string | oui | The .kicad_mod file, as text. |
| name | string | non | The footprint name (default: the name inside the file). |
save_dossier
Save the parts dossier
Store the research dossier (markdown with ## Parts list, ## Power rails, ## Topology constraints, ## Notes, as the research guide describes). The verified pin tables from your lookups on this design are appended, and verified entries the design already had for parts you did not look up again are kept. Reports every (library, name) in the parts list that does not exist, with catalog candidates.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| design_id | string | oui | The design id returned by create_design or list_designs. |
| markdown | string | oui | The dossier. |
submit_circuit
Submit the schematic
Compile and check a complete SKiDL script: the symbol and footprint pre-flight (unambiguous typos are corrected and listed), SKiDL, the ERC score, KiCad ERC, floating subsystems, parts without a footprint, and supplier sourcing. Returns accepted plus blocking findings to fix and warnings. An accepted script becomes the design's circuit.py; one that is sent back is kept as attempt_N_circuit.py and leaves the design as it was. Takes up to a couple of minutes.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| design_id | string | oui | The design id returned by create_design or list_designs. |
| code | string | oui | The complete SKiDL Python script. |
| check_sourcing | boolean | non | Check the parts against supplier catalogues (default true). |
edit_circuit
Patch the schematic
Apply SEARCH/REPLACE patches to your latest script and re-run every check, as submit_circuit does. The latest script is your last submission when it was sent back (attempt_N_circuit.py), otherwise the design's circuit.py. Each search must match the current file exactly once (whitespace-sensitive); an empty replace deletes. Nothing is applied if any block fails to match.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| design_id | string | oui | The design id returned by create_design or list_designs. |
| edits | array<object> | oui | Ordered patches. |
| check_sourcing | boolean | non | Check the parts against supplier catalogues (default true). |
read_design_file
Read a design file
Read a text file of the design: prompt.txt (brief), dossier.md, circuit.py, circuit.net, result.json, circuit.erc.json (KiCad ERC violations), attempt_N_circuit.py / attempt_N_error.txt, board_plan.json, pcb_result.json, pcb_run.log, circuit.drc.json (KiCad DRC), netclasses.resolved.json, dfm.json, harness.log.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| design_id | string | oui | The design id returned by create_design or list_designs. |
| path | string | oui | A file name, e.g. 'circuit.py'. |
get_review_packet
Design review packet
Everything a design review needs in one text: the brief, the dossier, circuit.py and the compiled connectivity (every net with every pin and its function), with the reviewer instructions. Review it yourself and fix blockers with edit_circuit.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| design_id | string | oui | The design id returned by create_design or list_designs. |
get_board_context
Board planning context
What the board plan is decided from: the computed minimum board, BOARD STATS (pad density, fine-pitch parts, fanout), the parts and nets, board instructions the user gave, and the plan schema with its rules. Needs an accepted schematic.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| design_id | string | oui | The design id returned by create_design or list_designs. |
start_board
Place and route the board
Start place and route with your board plan (the JSON object from the board guide: board, stated, edge, chain, groups, near, side, fixed, keepouts, netClasses). The plan is clamped and returned as applied. Runs for minutes in the background: follow it with get_board_status. Needs an accepted schematic; one board run per design at a time.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| design_id | string | oui | The design id returned by create_design or list_designs. |
| plan | object | non | The board plan object. Omit for the default plan. |
get_board_status
Board status
The board run: stage, size, layers, placement, routing completion, open nets, DRC counts; once finished, DRC violations by type, whether the fab files are released and, when not, the diagnosed causes (first = fix first: parts that did not fit, collisions, missing footprints, open nets, thin power). wait_s holds the call until the run ends (or that many seconds pass).
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| design_id | string | oui | The design id returned by create_design or list_designs. |
| wait_s | integer | non | Seconds to wait for a running board to finish (max 55). |
get_bom
Bill of materials
The live-priced BOM: each line with references, value, footprint, the chosen offer (seller, part number, MPN, price, stock, match quality), alternatives and totals. refresh asks the sellers again (tens of seconds).
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| design_id | string | oui | The design id returned by create_design or list_designs. |
| boards | integer | non | Boards to price for (default 1). |
| refresh | boolean | non | Ask the sellers again instead of the stored prices. |
| tier | enum: "economic" | "standard" | non | JLCPCB PCBA tier to source for, kept with the design. 'economic' swaps Standard-only parts for Economic-eligible ones that match as well; default 'standard' (no filter). The BOM reports which parts decide the tier either way. |
choose_bom_part
Choose a BOM offer
Pick which offer a BOM line uses: the line's references and a seller part number or MPN from its offer or alternatives in get_bom; null goes back to the automatic pick. Sourcing only: a different component is a circuit change.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| design_id | string | oui | The design id returned by create_design or list_designs. |
| refs | array<string> | oui | References of the line, e.g. ["C1","C2"]. |
| part | string | null | oui | Seller part number or MPN from get_bom, or null. |
consolidate_bom_basic
Consolidate the BOM to JLCPCB basic parts
Move every resistor, capacitor and inductor bought outside JLCPCB's basic library onto an in-stock basic-library part of the same value, package and (capacitors) at least the same voltage rating. Each part outside that library adds a loading fee to a JLCPCB order, usually more than the part. Each swap becomes the line's choice (choose_bom_part with null undoes it); lines with no readable value, no SMD size or no basic part are reported and left alone.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| design_id | string | oui | The design id returned by create_design or list_designs. |
| boards | integer | non | Boards the stock must cover (default 1). |
get_fab_status
Fab release status
Whether the board has earned its fab files (zero serious DRC errors, nothing unconnected), and if not, why not.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| design_id | string | oui | The design id returned by create_design or list_designs. |
list_order_providers
Manufacturers
The PCB and assembly providers, whether each can quote and take this kind of board today, and what a handoff sends them.
Aucun paramètre.
get_order_price
Order price
One price for a quantity: parts from the sellers, the board and assembly from the chosen provider's quote, setup fees, and what the total does not include.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| design_id | string | oui | The design id returned by create_design or list_designs. |
| boards | integer | non | Quantity (default 1). |
| provider | string | non | Provider id from list_order_providers, e.g. "jlcpcb". |
send_order_to_provider
Send the order to a manufacturer
Upload the released board (Gerbers, BOM, placement) to a manufacturer and return the page where the user pays. This publishes the design to a third party: call it only when the user has explicitly asked to order from that provider, and set user_confirmed only then. Some providers need a shipping address.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| design_id | string | oui | The design id returned by create_design or list_designs. |
| provider | string | oui | Provider id from list_order_providers. |
| boards | integer | non | Quantity (default 1). |
| title | string | non | Order title at the provider. |
| shipping | object | non | Delivery address, for providers that need one. |
| user_confirmed | boolean | oui | The user explicitly asked to send this design to this provider. |
upload_board
Upload a board
Replace the design's board with a .kicad_pcb you routed or edited yourself (the file, base64). The board must carry the design's circuit: every schematic part by reference, every pad on the net the netlist gives it; a footprint swap is allowed and recorded. Anything else is refused with the list of differences and nothing changes. The previous board is kept as circuit.before-upload.kicad_pcb. KiCad DRC judges the new board and releases or withholds the Gerbers, and the session chat gets a note of the upload. Not for a board workspace (import_kicad_project): its board tools edit the board in place.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| design_id | string | oui | The design id returned by create_design or list_designs. |
| board_base64 | string | non | The .kicad_pcb file, base64 (or give workspace_id). |
| workspace_id | string | non | A board workspace of yours (import_kicad_project, e.g. one made from this design with from_design_id): its board, project rules and .kicad_dru are taken from there, no download and upload. |
| project_base64 | string | non | The .kicad_pro beside the board, base64: its design rules and net classes judge the board (without it the design keeps its own). |
| rules_base64 | string | non | The .kicad_dru beside the board, base64. |
| note | string | non | What was done to the board, for the session chat. |
get_downloads
Downloads
Download URLs for the design (KiCad project, schematic, netlist, BOM CSV, board file, 3D model, Gerbers, order bundle) and which are available now. They take the same Authorization: Bearer API key; the CLI fetches them with `koppar download `.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| design_id | string | oui | The design id returned by create_design or list_designs. |
import_kicad_project
Import a KiCad project
Bring an existing KiCad project in as a board workspace: the project folder as a ZIP (the .kicad_pcb, .kicad_pro, schematics, footprint and 3D-model folders), base64-encoded, up to about 18 MB zipped. An Altium Designer project (the .PcbDoc at the top of the ZIP) is converted with KiCad: the board, and its clearance, width, via and differential-pair rules as net classes; the reply lists the rules not carried (rooms, layers, lengths). The CLI does this with `koppar import `. Or from_design_id: the KiCad project of a design the pipeline built (its board, rules, schematics and custom footprints) opened as a workspace, to change the design rules, place and route it with the board tools and put the result back with upload_board (workspace_id). Returns the design_id the board tools take and a first get_board_info. A new revision of a board you already imported (changed in KiCad) is imported again with the session_id the first import returned: it opens as a new design in that same project, beside the revisions before it, so one board stays one project in the user's list. Not for changes the board tools can make on the design you have: work on that design_id.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| zip_base64 | string | non | The zipped project folder, base64. |
| from_design_id | string | non | A design of yours with a board (start_board or upload_board): its KiCad project becomes the workspace. Instead of zip_base64. |
| board_file | string | non | Which .kicad_pcb (or Altium .PcbDoc) at the top of the project, when there are several. |
| title | string | non | |
| brief | string | non | A note for the design record. No tool reads it: what to keep, widths and layers go in the options of set_design_rules and route_board. |
| session_id | string | non | The project (web session) a new revision of this board goes into: the session_id the first import returned. Without it, an import whose title matches a project you opened before, or whose board file (the .kicad_pcb name) one of your imports had, joins that project, so revisions of one board stay to… |
| new_project | boolean | non | Start a new project even when one with this title exists. |
get_board_info
Board info
The board as it stands: copper layers, outline, design rules and net classes, counts (footprints, nets, tracks, vias, zones, keepouts, KiCad unconnected items), zones and keepouts, and every footprint with reference, value, footprint, position (origin, mm), rotation, side, locked, DNP, courtyard box and 3D models.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| design_id | string | oui | The design id returned by import_kicad_project or list_designs. |
| refs | array<string> | non | Only these footprints. |
| include_footprints | boolean | non | List footprints (default true). |
| wait_s | integer | non | Seconds to wait (default 55); a job still running comes back "running" for get_board_job. |
place_footprints
Place footprints exactly
Put footprints exactly where given: KiCad board coordinates of the footprint origin in mm (y grows downward), rotation in degrees as KiCad shows it, side F or B (changing side flips the footprint, as KiCad does), locked. dx_mm/dy_mm/drot_deg move relative to where it is. Nothing is nudged or legalized: overlaps are for run_drc to report. Unknown references come back in missing.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| design_id | string | oui | The design id returned by import_kicad_project or list_designs. |
| placements | array<object> | oui | |
| wait_s | integer | non | Seconds to wait (default 55); a job still running comes back "running" for get_board_job. |
auto_place
Auto-place footprints
Pack footprints inside the board outline with Koppar's heuristic placer (ratsnest-driven, courtyard-legal). By default every unlocked footprint moves and locked ones stay; refs names exactly which move (all others stay). Constraints: fixed (exact origin positions and rotation, never moved; locked footprints likewise), side, keepouts (rectangles), groups, near (ref within maxMm of an anchor), edge (ref to "left|right|top|bottom", optionally "@mm" along that edge from the outline's top-left corner). Nothing is left past the outline except a USB/barrel/jack opening's 1.2 mm lip; placement_notes lists every part that could not be placed where asked. Coarse by design: refine the result with place_footprints.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| design_id | string | oui | The design id returned by import_kicad_project or list_designs. |
| refs | array<string> | non | The footprints that may move. |
| fixed | object | non | |
| side | object | non | |
| keepouts | array<object> | non | |
| groups | array<object> | non | |
| near | array<object> | non | |
| edge | object | non | Ref to the edge it sits on, optionally @mm: where along that edge its centre goes, from the outline's top-left corner (x on top/bottom, y on left/right). |
| placer | enum: "packer" | "ml" | non | "ml": the learned placer service (dense, two-sided when two_sided, honours keepouts); the packer when it is unavailable. |
| two_sided | boolean | non | Small two-pad passives go to the back side. |
| refine | enum: "anneal" | non | "anneal": refine the placement by simulated annealing from this seed (wirelength-driven, same edge/fixed/keepouts, holes held) — the ML placer's structure with the annealer's tightness. |
| iterations | integer | non | Annealing iterations for refine (default 600000). |
| flip_cost | number | non | Annealing price per bottom-side pad whose net has top pins (default 3). |
| split_cost | number | non | Refine: price (mm of wirelength) of an SMD net with pads on both sides, i.e. a via. |
| overlap_weight | number | non | Overlap price per mm2 at the end of the anneal (default 400; 4000 halves what a dense draw leaves). |
| shove | number | non | Legaliser: a part may take a spot held only by movable parts under this fraction of its area (default 0.3, 0 off). |
| grid_mm | number | non | Placement grid for the refine step (0.254 = 10 mil); default off. |
| bottom_any | boolean | non | Refine: any SMD-only part may go to the back, priced by flip_cost (default with two_sided); LEDs, switches, displays and test points stay on top. |
| bottom_max_height_mm | number | non | Refine: tallest part allowed on the back (3D-model height, default 1.0). |
| connector_room_mm | number | non | Refine: room kept on the board side of every edge connector (default 2.5). |
| connector_flank_mm | number | non | Refine: room kept on the flanks of every edge connector (default 1.0); sets the pitch of connectors sharing an edge. |
| ic_halo_mm | number | non | Refine: room kept around ICs with 48+ pads and fine-pitch ICs (default 1.5; other 16+ pad ICs get two thirds). |
| hole_room_mm | number | non | Refine: room kept around mounting holes, both sides (default 1). |
| bottom_ok | array<string> | non | Refine: footprint-id substrings allowed on the back instead of bottom_any. |
| bottom_exclude | string | non | Refine: regex of refs or footprint ids that stay on top. |
| wait_s | integer | non | Seconds to wait (default 55); a job still running comes back "running" for get_board_job. |
anneal_place
Anneal a dense placement
Dense placement by simulated annealing: wirelength inside the real outline (Edge.Cuts with its corners, notches and cutouts; a separate piece no held part stands on is left out) with courtyard gaps, edge connectors held on their edge, fixed and locked parts held, and, unless refs is given, the mounting holes, connectors and switches already on the board held too (held_mechanical). Kept clear: keepout rectangles (routing corridors) and the board's and held footprints' rule areas that forbid pads or footprints, on their own faces. A per-pad price for the bottom side (flip_cost, mm of wirelength; each bottom-side pad whose net has top-side pins costs a via). Starts from the current positions unless from_scratch. The result is legalised: no part on another, in a keep-out or off the board; a part with no legal spot that started off the board stays there (unplaced), and a result worse than the board had is not saved (the op fails, the board unchanged). Iterations scale with the parts moved within a 150 s budget: leave iterations unset.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| design_id | string | oui | The design id returned by import_kicad_project or list_designs. |
| refs | array<string> | non | The footprints that may move (default: every unlocked one). |
| fixed | object | non | Parts held at these origin positions; they are moved there on the board first. |
| edge | object | non | Connector ref to the edge it sits on, optionally @mm: where along that edge its centre goes, from the outline's top-left corner (x on top/bottom, y on left/right) — the same meaning as in auto_place and a board plan. A fixed or locked ref keeps its pin. |
| edge_overhang_mm | object | non | Per edge ref, how far its body sits past the edge: default 0.5 for a USB/barrel/jack connector (at most its 1.2 mm lip), 0 (flush) for anything else, which may not overhang. |
| near | array<object> | non | Keep ref at its anchor (a decoupling capacitor at its IC, a crystal at its MCU): the board plan's near constraint, as a strong pull in the anneal. |
| keepouts | array<object> | non | Rectangles no part may cover, e.g. a bus corridor. |
| bottom_ok | array<string> | non | Footprint-id substrings allowed on the bottom side (e.g. "0402"). |
| bottom_any | boolean | non | Any SMD-only part may go to the back (priced by flip_cost); LEDs, switches, displays and test points stay on top unless bottom_exclude says otherwise. |
| bottom_max_height_mm | number | non | Tallest part allowed on the back (3D-model height, default 1.0): the assembly box grows by the tallest back-side part. |
| bottom_exclude | string | non | Regex of refs or footprint ids that stay on top regardless. |
| flip_cost | number | non | |
| split_cost | number | non | Price (mm of wirelength) of an SMD net with pads on both sides, i.e. a via. |
| overlap_weight | number | non | Overlap price per mm2 at the end of the anneal (default 400; 4000 halves what a dense draw leaves). |
| shove | number | non | Legaliser: a part may take a spot held only by movable parts under this fraction of its area (default 0.3, 0 off). |
| t0 | number | non | Start temperature (default 15). ~0.5 keeps the current placement and only tidies it (refine, or squeeze into a smaller outline). |
| refit_from | object | non | Outline the current placement was drawn in; it is scaled affinely into the new outline before annealing (with t0 ~0.5: shrink a placement that closed). |
| gap_mm | number | non | |
| grid_mm | number | non | Placement grid for free parts (0.254 = 10 mil, the designer habit); default off. |
| halo | object | non | Routing room per ref, mm (a number all round, or footprint-local [left, top, right, bottom]). |
| connector_room_mm | number | non | Room kept on the board side of every edge connector (default 2.5). |
| connector_flank_mm | number | non | Room kept on the flanks of every edge connector (default 1.0). |
| ic_halo_mm | number | non | Room kept around ICs with 48+ pads and fine-pitch ICs (default 1.5; other 16+ pad ICs get two thirds). |
| hole_room_mm | number | non | Room kept around mounting holes on both sides for the screw head and standoff (default 1). |
| iterations | integer | non | Leave unset: 6000 per moving part (0.3-6 M) within a 150 s budget. Fewer only for a quick look. |
| seed | integer | non | |
| rotations | array<number> | non | |
| net_weight | object | non | |
| from_scratch | boolean | non | |
| wait_s | integer | non | Seconds to wait (default 55); a job still running comes back "running" for get_board_job. |
set_board_outline
Set the board outline
Replace everything on Edge.Cuts with a new outline: rect (optionally with corner_radius_mm), a polygon of points, or fit_to_parts (the rectangle around every footprint courtyard plus margin_mm). Give exactly one.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| design_id | string | oui | The design id returned by import_kicad_project or list_designs. |
| rect | object | non | |
| polygon | array<array<any>> | non | |
| fit_to_parts | object | non | |
| line_width_mm | number | non | |
| wait_s | integer | non | Seconds to wait (default 55); a job still running comes back "running" for get_board_job. |
set_design_rules
Set design rules
Set the project design rules (.kicad_pro) and copper layer count. Works on a board workspace and on a generated design (create_design → start_board). On a generated design the rules go into circuit.kicad_pro/.kicad_dru in place (the previous ones are snapshotted under rules_revisions/), are kept by every later project write (project.zip, a new board run), the copper is not changed and KiCad DRC judges the board against them at once: the reply carries the DRC counts and whether the Gerbers are released; the next start_board routes to the default_* values. copper_layers, stackup and board_thickness_mm are workspace-only (a generated design changes them with a new board). preset "jlcpcb" applies JLCPCB's published minimums for the layer count and writes their per-feature limits (plated rings, pad hole spacing, hole-to-track) as KiCad custom rules (.kicad_dru) that run_drc checks; explicit values override the minimums. Board minimums (min_*), the Default net class (default_*), and named net classes with their net patterns. route_board routes with these rules and run_drc checks against them. Changing copper_layers rebuilds the stackup; tracks on removed layers are reported. copper_layers 1 is a single-sided board (hand etching): the KiCad file keeps F.Cu and B.Cu, and from then on the routers hold to one face (B.Cu as soon as a THT pad exists, else F.Cu) and place no via; copper on the other face is removed.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| design_id | string | oui | The design id returned by import_kicad_project or list_designs. |
| preset | enum: "jlcpcb" | non | |
| copper_layers | number | number | number | number | number | non | |
| stackup | enum: "JLC04161H-7628" | "JLC04161H-3313" | "KOPPAR-6L-1.6-3313" | "KOPPAR-8L-1.6-3313" | "KOPPAR-10L-1.6-3313" | non | 1.6 mm impedance stackups, written into the board: JLCPCB's 4-layer 7628 (0.21 mm prepreg, their default) or 3313 (0.1 mm prepreg: thinner pairs for the same impedance), and 6- / 8-layer 3313 builds (approximations of the fab's, from its 3313 outer prepreg and human 1.6 mm boards). Needed before a… |
| board_thickness_mm | number | non | Finished board thickness; the stackup is rebuilt to it. JLCPCB FR4: 0.4, 0.6, 0.8, 1.0, 1.2, 1.6, 2.0 mm. |
| min_clearance_mm | number | non | |
| min_track_mm | number | non | |
| min_via_diameter_mm | number | non | |
| min_via_annular_mm | number | non | |
| min_through_drill_mm | number | non | |
| hole_to_hole_mm | number | non | |
| hole_clearance_mm | number | non | |
| copper_edge_clearance_mm | number | non | |
| default_clearance_mm | number | non | |
| default_track_mm | number | non | |
| default_via_diameter_mm | number | non | |
| default_via_drill_mm | number | non | |
| net_classes | array<object> | non | |
| wait_s | integer | non | Seconds to wait (default 55); a job still running comes back "running" for get_board_job. |
set_keepouts
Keepout areas
Add or remove keepout rule areas. Each keepout is a rect or polygon on the given copper layers (default all) and forbids what it names: no_tracks, no_vias, no_zone_fills (all three default true), no_pads, no_footprints. route_board keeps tracks and vias out of them and KiCad DRC enforces them. remove takes names (wildcards allowed).
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| design_id | string | oui | The design id returned by import_kicad_project or list_designs. |
| add | array<object> | non | |
| remove | array<string> | non | |
| wait_s | integer | non | Seconds to wait (default 55); a job still running comes back "running" for get_board_job. |
check_net_rules
Check net classes and pairs
Check the copper against the project's net classes and differential pairs, which KiCad's DRC does not: every class or pair net's narrowest track and the length below its class width, and every pair (X_P/X_N, X+/X-, CAN X_H/X_L) with its coupled share at the class's diff_pair_gap, both lengths and the skew. Routing applies the same rules.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| design_id | string | oui | The design id returned by import_kicad_project or list_designs. |
| wait_s | integer | non | Seconds to wait (default 55); a job still running comes back "running" for get_board_job. |
check_physics
Check the physics
Judge the copper by physics, which KiCad's DRC does not: impedance from the stackup on controlled nets, IR drop and heating on rails with a stated current, pair and lane skew, a ground via beside every high-speed layer change, 3W spacing between high-speed runs, and the via path under exposed paddles. Each check runs only when the board states something it can judge. With repair, the fixable findings are fixed in place (track width, skew meanders, return vias, widened rails), each kept only if KiCad counts nothing worse. finish_board runs the same repairs.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| design_id | string | oui | The design id returned by import_kicad_project or list_designs. |
| repair | boolean | non | |
| wait_s | integer | non | Seconds to wait (default 55); a job still running comes back "running" for get_board_job. |
set_zones
Copper zones
Add or remove copper zones (pours). Each zone pours its net on the given copper layers over rect or polygon, by default the whole board outline. priority orders overlapping zones (higher fills first); clearance_mm and min_thickness_mm override the rules; thermal false connects pads solid. remove takes zone or net names (wildcards allowed) and never touches keepout areas. Run fill_zones afterwards, then run_drc.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| design_id | string | oui | The design id returned by import_kicad_project or list_designs. |
| add | array<object> | non | |
| remove | array<string> | non | |
| wait_s | integer | non | Seconds to wait (default 55); a job still running comes back "running" for get_board_job. |
add_copper
Add tracks and vias
Lay exact copper by hand where the routers leave a gap: tracks as polylines on one copper layer, and through vias. width_mm, diameter_mm and drill_mm default to the board's current track and via sizes. Nets must exist on the board. Nothing is checked here: run_drc afterwards, and ripup_routing takes copper back out.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| design_id | string | oui | The design id returned by import_kicad_project or list_designs. |
| tracks | array<object> | non | |
| vias | array<object> | non | |
| wait_s | integer | non | Seconds to wait (default 55); a job still running comes back "running" for get_board_job. |
prune_vias
Remove redundant vias
Remove every via the board does not need: groups of vias come out, the zones are refilled and KiCad's unconnected count compared, and a via stays only if removing it disconnects something. nets limits the candidates (GND and the plane rails first: pours already join most of their pads). Runs for minutes on a large board; then fill_zones, run_drc.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| design_id | string | oui | The design id returned by import_kicad_project or list_designs. |
| nets | array<string> | non | |
| workers | integer | non | |
| wait_s | integer | non | Seconds to wait (default 55); a job still running comes back "running" for get_board_job. |
set_silkscreen
Tidy the silkscreen
Take clutter off the silkscreen. values "hide" (default) hides value and part-number fields; references "keep" (default), "fab" (moved to the fabrication layer) or "hide"; texts "fab" moves footprint texts off the silkscreen. run_drc's silk_overlap and silk_over_copper warnings count what is left.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| design_id | string | oui | The design id returned by import_kicad_project or list_designs. |
| values | enum: "hide" | "show" | non | |
| references | enum: "keep" | "fab" | "hide" | non | |
| texts | enum: "keep" | "fab" | non | |
| wait_s | integer | non | Seconds to wait (default 55); a job still running comes back "running" for get_board_job. |
route_board
Route the board
Route under the project's rules and net classes. By default (no nets, no router, none of the single-route options below) it runs the full route pipeline Koppar benchmarks: the learned router on the whole board, repair rounds on what stays open, copper finishing (0/45/90 runs) and one repair round after it, inside one wall-clock cap: time_budget_s is that cap (default 1200, up to 1500), so the job runs up to about 20 minutes: follow it with get_board_job. The result gives the final unconnected items and DRC errors and a pipeline summary: the counts after the route and after each finish, whether the copper finishing was kept. preserve_existing unset keeps the copper of a board that has tracks or vias and routes a board without any from scratch; false routes every net again. pours, ml_options, pairs_first and class_vias shape the route and the repair rounds of that pipeline. nets, router, seed_existing or a rule override (clearance_mm, track_width_mm, via sizes, edge_clearance_mm: this run only, so not the pipeline, whose later stages hold the project rules) runs ONE route instead, with no copper finishing, for expert control (tidy_copper after it straightens the copper): nets limits it to those nets; preserve_existing (default true) keeps every track and via already on the board and routes only what is still open. pours: "keep" (the default on a board you brought) keeps the board's zones, and a zone of a net the route lays is that net's plane: each of its pads gets a via to it…
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| design_id | string | oui | The design id returned by import_kicad_project or list_designs. |
| nets | array<string> | non | Net names; * and ? wildcards, e.g. ["USB_D*", "+3V3"]. |
| preserve_existing | boolean | non | |
| seed_existing | boolean | non | ML router: the connected nets in scope are sent as their own routes (seed_copper) and the service reworks the finished board with its rip-up and via-economy passes; kept only when KiCad counts fewer vias. Scope nets to the routed signal nets (pour nets stay). |
| pairs_first | boolean | non | Route the differential pairs (USB D+/D-, CAN H/L, X_P/X_N) alone first, then everything else around them: a port pad row only lets a pair out before the neighbours take its lane. |
| router | enum: "ml" | non | Unset: the full pipeline (above) on the whole board, "ml" for nets. "ml": the learned router service alone, 1 to 8 layers; the time budget is its deadline. Nets outside the nets scope, and with preserve_existing the nets their copper already connects, keep that copper and everything else is routed… |
| pours | enum: "keep" | "engine" | non | |
| time_budget_s | integer | non | The full pipeline's wall-clock cap (default 1200), or a single route's budget (default 120, up to 900). |
| clearance_mm | number | non | |
| track_width_mm | number | non | |
| via_diameter_mm | number | non | |
| via_drill_mm | number | non | |
| class_vias | boolean | non | Route with the Default class's via. Without it (and without via_diameter_mm) a route uses the board's smallest legal via where the class's is larger. |
| vias_in_pads | enum: "forbid" | "allow" | non | 'forbid' (default): no via inside an SMD pad under 2 mm. 'allow': vias may sit in pin pads, for a board ordered with filled and capped vias (JLCPCB POFV); dense connector rows close that otherwise stay open. |
| compact | boolean | non | true: the densest via the rules allow (0.4/0.2), which JLCPCB prices with a mandatory 4-wire Kelvin test (~$40 per order); false: never below the Kelvin-free 0.45/0.2. Unset: compact only on a board with an area-array package or vias in pads. |
| edge_clearance_mm | number | non | |
| ml_options | object | non | Fields passed to the learned router service as they are (router "ml"): via_cost and via_cost_hi (prices in lattice cells; a move costs 1 and the served default via is 8, 12 while a net is on the quality ladder), ql_release (rejected rip trades before a net drops to via_cost, 0 never), endgame_relea… |
| wait_s | integer | non | Seconds to wait (default 55); a job still running comes back "running" for get_board_job. |
update_board_from_netlist
Update the board from a changed netlist
Bring a routed board to a changed circuit and keep every track that is still right: what KiCad calls Update PCB from Schematic, then the routing. New parts go on the board (place: a connector on an edge, the board grown when there is no room, the rest in free room near what they connect to; placements for exact poses), moved or re-netted pads lose only the branch of copper that led to them, copper a new part lands on goes, and only what is open is routed, with the rules read off the board. The answer says how many tracks and vias were kept, ripped and added, what is still open, and the errors that touch the change. A route that takes copper off the rip list is refused and the board stays.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| design_id | string | oui | The design id returned by import_kicad_project or list_designs. |
| netlist | string | oui | The new KiCad netlist, as text. |
| place | array<object> | non | New parts without a pose yet, and where they should go. |
| placements | object | non | Reference -> exact pose, for new parts and parts that move. |
| remove | array<string> | non | Parts that leave the board. Parts in no netlist (a logo, a fiducial) stay otherwise. |
| time_budget_s | integer | non | |
| wait_s | integer | non | Seconds to wait (default 55); a job still running comes back "running" for get_board_job. |
repair_board
Repair open connections
Keep the copper of every net it already connects and route the nets still open around it: route_board with preserve_existing, with the learned router service. Default budget 120 s.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| design_id | string | oui | The design id returned by import_kicad_project or list_designs. |
| nets | array<string> | non | Net names; * and ? wildcards, e.g. ["USB_D*", "+3V3"]. |
| time_budget_s | integer | non | |
| pours | enum: "keep" | "engine" | non | |
| compact | boolean | non | Via choice as on route_board: true for the densest legal via (JLCPCB Kelvin test), false for the Kelvin-free 0.45/0.2. |
| wait_s | integer | non | Seconds to wait (default 55); a job still running comes back "running" for get_board_job. |
ripup_routing
Rip up routing
Delete tracks and vias: of the given nets, on the given layers (vias are not layer-filtered), with an end inside region, or all. Filters combine. tracks/vias choose which kinds (both by default); zones also deletes the copper zones (pours) the same filters match (a zone inside region), never keepout areas. Locked items stay unless include_locked.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| design_id | string | oui | The design id returned by import_kicad_project or list_designs. |
| nets | array<string> | non | Net names; * and ? wildcards, e.g. ["USB_D*", "+3V3"]. |
| layers | array<string> | non | |
| region | object | non | |
| all | boolean | non | |
| tracks | boolean | non | |
| vias | boolean | non | |
| zones | boolean | non | |
| include_locked | boolean | non | |
| wait_s | integer | non | Seconds to wait (default 55); a job still running comes back "running" for get_board_job. |
cleanup_board
Clean up tracks and vias
Sweep the routing: zero-length and duplicate tracks, stub tracks (a free end, and everything the track touches stays joined without it), and vias that meet their net on fewer than two layers. Contact is copper overlap, as KiCad judges it. Refills the zones first so pours count as connections. Locked items stay. The board is put back if the unconnected count or the DRC errors rise. A track running on past its last junction is cut back to it (trim_overhangs). list_removed names every item that went.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| design_id | string | oui | The design id returned by import_kicad_project or list_designs. |
| list_removed | boolean | non | |
| trim_overhangs | boolean | non | |
| duplicate_tracks | boolean | non | |
| dangling_tracks | boolean | non | |
| unconnected_vias | boolean | non | |
| refill | boolean | non | |
| wait_s | integer | non | Seconds to wait (default 55); a job still running comes back "running" for get_board_job. |
add_project_files
Add files to the project
Unpack a ZIP into the project folder, keeping its paths: new footprints into a .pretty library the fp-lib-table names, 3D models, a library table. Existing files are kept unless overwrite is true; the reply lists written, replaced and kept files. Base64, up to about 18 MB zipped.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| design_id | string | oui | The design id returned by import_kicad_project or list_designs. |
| zip_base64 | string | oui | |
| overwrite | boolean | non |
swap_footprint
Swap footprints
Replace footprints in place with another footprint from a library in the project's fp-lib-table (library:name): the reference, value, position, rotation (or rot_deg), side, lock and schematic link stay, and nets move pad by pad. pad_map maps a NEW pad number to the OLD pad whose net it takes, for packages numbered differently. The schematic symbols' Footprint fields are updated too. Reports new pads left without a net and old nets left behind.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| design_id | string | oui | The design id returned by import_kicad_project or list_designs. |
| swaps | array<object> | oui | |
| wait_s | integer | non | Seconds to wait (default 55); a job still running comes back "running" for get_board_job. |
fill_zones
Fill zones
Refill every copper zone with KiCad's zone filler.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| design_id | string | oui | The design id returned by import_kicad_project or list_designs. |
| wait_s | integer | non | Seconds to wait (default 55); a job still running comes back "running" for get_board_job. |
stamp_silkscreen
Stamp silkscreen
Silkscreen stamps for release, both off unless asked for: a small spec badge ("routed with Koppar", optionally the title, revision and part count) in the largest free patch of the front or back silk, and JLCPCB's JLCJLCJLCJLC placeholder on the back silk so their order number is printed there, not on the front. Free means clear of pads, mask openings, other silk, courtyards, holes and the edge. KiCad's DRC is run before and after and a stamp that changes any count is taken off again.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| design_id | string | oui | The design id returned by import_kicad_project or list_designs. |
| badge | boolean | non | Place the spec badge (default false). |
| badge_side | enum: "front" | "back" | non | Silk side for the badge; the larger free patch when unset. |
| title | string | non | Board title for the badge's second line. |
| revision | string | non | Revision for the badge ("rev B"). |
| parts | integer | non | Part count for the badge; counted from the board when unset. |
| jlc_order_number | boolean | non | Place JLCJLCJLCJLC on the back silk (default false). |
| wait_s | integer | non | Seconds to wait (default 55); a job still running comes back "running" for get_board_job. |
tie_rail_pads
Tie plane-net pads together
Tie neighbouring same-net SMD pads of the plane nets (GND, the rails with a pour) together on their own layer with short tracks, so a group shares one via to the plane instead of one via per pad, as a designer does. A tie is placed only where it misses every other net's pad, its tracks and vias, and the board edge. Before routing: route afterwards with preserve_existing (the default). After routing and prune_vias: run prune_vias on those nets again.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| design_id | string | oui | The design id returned by import_kicad_project or list_designs. |
| avoid_copper | boolean | non | Treat other nets' tracks and vias as obstacles (default true). |
| nets | array<string> | non | Nets to tie (default: every net that has a pour). |
| max_mm | number | non | Longest tie (default 2.5). |
| width_mm | number | non | Tie track width (default: the board's current track width). |
| layers | array<string> | non | Copper layers to tie on (default F.Cu and B.Cu). |
| wait_s | integer | non | Seconds to wait (default 55); a job still running comes back "running" for get_board_job. |
widen_nets
Widen power nets in place
Grow the tracks (and optionally vias) of the named nets in place, each as wide as its clearance to every other net's copper, holes and the board edge allows, up to the net's target width. Nothing moves and no via is added, so the score does not change. Routers neck power down to the signal width wherever the class width did not fit their grid; most necks have room around them. List the heaviest current first: earlier nets take the room. Pours are refilled after each net and a widening that leaves the board less connected is backed out. The result names what still holds each remaining neck (a neighbour to move or reroute).
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| design_id | string | oui | The design id returned by import_kicad_project or list_designs. |
| nets | object | oui | Net -> target track width in mm. |
| vias | object | non | Net -> [diameter_mm, drill_mm] sizes to try, largest first; a via only ever grows. |
| guard | boolean | non | Refill pours and back out widenings that disconnect anything (default true). |
| necks | integer | non | How many remaining necks to report per net (default 12). |
| wait_s | integer | non | Seconds to wait (default 55); a job still running comes back "running" for get_board_job. |
finish_board
Finish the open nets
Close what the router left open the way a designer does: for each open net the diagnosis names the copper boxing it in; that copper is ripped (never a poured net), the open nets are routed FIRST into the space, then the ripped nets go back around them; up to `rounds` rounds, each kept only if KiCad counts fewer unconnected items. Use it after route_board leaves a handful of nets open (route_board's default pipeline already runs three rounds; this adds more, or follows a single route); repair_board never moves the blockers.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| design_id | string | oui | The design id returned by import_kicad_project or list_designs. |
| rounds | integer | non | Rip-and-reroute rounds (default 3). |
| reach_mm | number | non | Radius cleared of tracks and vias around a pad with no way out (default 1.5). |
| time_budget_s | integer | non | Router budget per routing call (default 120). |
| ml_options | object | non | |
| class_vias | boolean | non | Route with the Default class's via instead of the board's smallest legal one. |
| vias_in_pads | enum: "forbid" | "allow" | non | 'allow': vias may sit in pin pads (the board must be ordered with filled and capped vias). |
| wait_s | integer | non | Seconds to wait (default 55); a job still running comes back "running" for get_board_job. |
bridge_islands
Join pour islands
A filled pour cut into islands by routing: one through-via per island that KiCad finds cut off from its net, placed well inside the island and inside the net's main copper on another layer, clear of every other net between. Reports the islands it found no site for. Run run_drc afterwards.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| design_id | string | oui | The design id returned by import_kicad_project or list_designs. |
| nets | array<string> | non | Net names; * and ? wildcards, e.g. ["USB_D*", "+3V3"]. |
| max_vias | integer | non | |
| wait_s | integer | non | Seconds to wait (default 55); a job still running comes back "running" for get_board_job. |
tidy_copper
Tidy the copper
After routing: every run redrawn as the fewest 0/45/90-degree segments that clear, and every track narrower than its net's netclass width widened where it fits (slid sideways, bumped around a lone obstacle, or necked only over the stretch that needs it; a via or thin track of another net moved aside when that is all that is in the way). No via is added or removed; a change that would split a pour is undone, and the board is kept only if KiCad counts nothing worse.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| design_id | string | oui | The design id returned by import_kicad_project or list_designs. |
| wait_s | integer | non | Seconds to wait (default 55); a job still running comes back "running" for get_board_job. |
polish_vias
Fewer vias, net by net
After route_board and prune_vias: rip one net at a time, most vias first, route it alone around everything else at a high via price, and keep the new copper only when KiCad counts fewer vias with no new open item or DRC error (a reroute that cuts a pour into islands first gets one via per island, bridge_islands). Run run_drc and get_score afterwards; a second pass sometimes finds more.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| design_id | string | oui | The design id returned by import_kicad_project or list_designs. |
| nets | array<string> | non | Net names; * and ? wildcards, e.g. ["USB_D*", "+3V3"]. |
| max_nets | integer | non | Nets to try, most vias first (default 40). |
| min_vias | integer | non | Only nets with at least this many vias (default 2). |
| via_cost | number | non | Via price for the lone reroute (default 60). |
| pairs | boolean | non | Rip and reroute a differential pair (_H/_L, _P/_N, +/-) together (default true: a leg rerouted alone comes back at its own length; a step that degrades a pair is never kept). |
| pours | boolean | non | Also polish the poured nets (default false): the pour and its stitch vias stay, the net is routed as a track tree on top, then its redundant stitch vias are pruned. A lottery: the tree that did this by accident (PCBGolf +3V3 53 -> 32) did not repeat in 2 deliberate tries. |
| workers | integer | non | prune workers for a poured net (default 4). |
| time_budget_s | integer | non | Router budget per net (default 120). |
| total_budget_s | integer | non | Stop starting nets after this (default 1800). |
| bridge_islands | boolean | non | |
| ml_options | object | non | |
| wait_s | integer | non | Seconds to wait (default 55); a job still running comes back "running" for get_board_job. |
couple_pairs
Couple differential pairs
After route_board: re-route the weakly coupled differential pairs one at a time, least coupled first. Both legs are ripped and routed alone around everything else as a pair; the new copper stays only when the pair's coupled share rises by min_gain_pct, its skew stays within max_skew_mm, KiCad counts no new open item or DRC error, and the board gains at most max_extra_vias vias. Pairs routed with the whole board lose their lanes; alone they couple. Run check_net_rules before and after.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| design_id | string | oui | The design id returned by import_kicad_project or list_designs. |
| pairs | array<string> | non | Only pairs with a leg matching these (default every pair under target_pct). |
| target_pct | number | non | Pairs coupled below this are tried (default 70). |
| min_gain_pct | number | non | Coupling points a reroute must gain to be kept (default 10). |
| max_skew_mm | number | non | Largest length mismatch kept (default: the pair's current skew, at least 1 mm). |
| max_extra_vias | integer | non | Vias a kept reroute may add to the board (default 2). |
| tries | integer | non | Router seeds per pair; the best acceptable one is kept (default 2). |
| time_budget_s | integer | non | Router budget per try (default 90). |
| total_budget_s | integer | non | Stop starting pairs after this (default 1800). |
| bridge_islands | boolean | non | |
| ml_options | object | non | |
| wait_s | integer | non | Seconds to wait (default 55); a job still running comes back "running" for get_board_job. |
diagnose_open_nets
Why nets do not route
For every net still open (or the nets named): each pad with the escape corridors free on its own layer, whether a via can be dropped beside it at all, and what blocks it (which part's pads, which net's tracks or vias, the board edge). A pad with no free corridor and no via site is CRAMPED — no router can reach it; the advice names the parts to move. Otherwise the advice says which nets to rip and route first. Use it instead of repeating repair_board on a net that keeps failing.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| design_id | string | oui | The design id returned by import_kicad_project or list_designs. |
| nets | array<string> | non | Only these nets (default: every open net). |
| max_nets | integer | non | |
| reach_mm | number | non | How far a corridor must stay free (default 1.5). |
| wait_s | integer | non | Seconds to wait (default 55); a job still running comes back "running" for get_board_job. |
run_drc
Design-rule check
KiCad's DRC on the board as it is now, with schematic parity when the project has its schematic: error and warning counts by type, shorts, unconnected items, parity items, and the first violations with their items and positions (types filters, max_violations caps; default 40). Also mount_fit: parts reaching through the board (mid-mount jacks, USB-C) checked against their cutouts from their 3D models, with any body area over board material or within the fab's 0.2 mm milling tolerance of the cut.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| design_id | string | oui | The design id returned by import_kicad_project or list_designs. |
| types | array<string> | non | |
| max_violations | integer | non | |
| wait_s | integer | non | Seconds to wait (default 55); a job still running comes back "running" for get_board_job. |
render_board
Render the board (2D, exact)
An exact 2D picture of the board as an engineer reads it: copper per layer (the facing layer full strength, the others faded), pads, vias, pours, outline, courtyards and refs. side top|bottom, region [x, y, w, h] mm for a crop, drc_markers to circle every DRC violation, ratsnest to draw the open connections, highlight_nets/highlight_refs in magenta. The pixel-per-mm scale and region come back so a follow-up crop is exact. Download workspace.render.png.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| design_id | string | oui | The design id returned by import_kicad_project or list_designs. |
| side | enum: "top" | "bottom" | non | |
| region | array<number> | non | [x_mm, y_mm, w_mm, h_mm] crop; default the whole board. |
| px_per_mm | number | non | |
| max_width | integer | non | |
| layers | array<string> | non | |
| refs | boolean | non | |
| courtyards | boolean | non | |
| drc_markers | boolean | non | |
| ratsnest | boolean | non | |
| highlight_nets | array<string> | non | |
| highlight_refs | array<string> | non | |
| markers | array<object> | non | |
| wait_s | integer | non | Seconds to wait (default 55); a job still running comes back "running" for get_board_job. |
export_step
Export STEP
Export the assembled board as STEP (3D models, DNP parts left out). Download it as workspace.step; workspace.zip includes it.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| design_id | string | oui | The design id returned by import_kicad_project or list_designs. |
| wait_s | integer | non | Seconds to wait (default 55); a job still running comes back "running" for get_board_job. |
list_board_revisions
Board revisions
The snapshots of this board, newest first. Revision N is the board as it was before change N (revision 0 is the project as imported); restore_board_revision N goes back to it.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| design_id | string | oui | The design id returned by import_kicad_project or list_designs. |
restore_board_revision
Restore a revision
Put the board and its rules back as they were in a revision from list_board_revisions. The current board is saved as a new revision first, so the restore itself can be undone.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| design_id | string | oui | The design id returned by import_kicad_project or list_designs. |
| revision | integer | oui | |
| wait_s | integer | non | Seconds to wait (default 55); a job still running comes back "running" for get_board_job. |
get_board_job
Board job
The design's latest board job: its status and, once it ends, its result or error. wait_s holds the call until it ends. A job is allowed the time its budget asks for (time_budget_s, total_budget_s, rounds), and survives a server restart (the op starts over from its snapshot; route_board's pipeline goes on from its last finished stage).
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| design_id | string | oui | The design id returned by import_kicad_project or list_designs. |
| wait_s | integer | non | Seconds to wait (default 55); a job still running comes back "running" for get_board_job. |
stop_board_job
Stop the board job
Stop the design's running or queued board job (the KiCad plugin's Stop button). The board goes back to how it was before the job (its snapshot); a job already ended is left as it is.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| design_id | string | oui | The design id returned by import_kicad_project or list_designs. |
Compatibilité clients
Selon les transports que chaque client déclare accepter dans sa documentation officielle ; ce n’est pas un essai réel dans le client.
| Client | Transports documentés | Ce serveur | Source |
|---|---|---|---|
| Claude Code | stdio Streamable HTTP SSE | transport accepté | doc |
| Claude (claude.ai, Claude Desktop, Cowork) | stdio Streamable HTTP SSE | transport accepté | doc |
| ChatGPT (serveurs MCP personnalisés / plugins) | Streamable HTTP SSE | transport accepté | doc |
| Cursor | stdio Streamable HTTP SSE | transport accepté | doc |
| VS Code (GitHub Copilot) | stdio Streamable HTTP SSE | transport accepté | doc |
| Windsurf (documentation redirigée vers Devin Local / Devin CLI) | stdio Streamable HTTP SSE | transport accepté | doc |
| Gemini CLI | stdio Streamable HTTP SSE | transport accepté | doc |
| OpenAI Codex (CLI, extension IDE, app) | stdio Streamable HTTP | transport accepté | doc |
Configs prêtes à copier
Adresse distante utilisée : https://app.koppar.ai/mcp. Formats repris de la documentation de chaque client.
claude mcp add --transport http koppar https://app.koppar.ai/mcpCustomize > Connectors > + Add > Add custom connector ; Name : koppar ; URL : https://app.koppar.ai/mcpchatgpt.com/plugins > + > Add custom MCP server ; Name : koppar ; Server URL : https://app.koppar.ai/mcp ; Create as a plugin{
"mcpServers": {
"koppar": {
"url": "https://app.koppar.ai/mcp"
}
}
}{
"mcpServers": {
"koppar": {
"type": "http",
"url": "https://app.koppar.ai/mcp",
"tools": ["*"]
}
}
}{
"mcpServers": {
"koppar": {
"url": "https://app.koppar.ai/mcp"
}
}
}{
"mcpServers": {
"koppar": {
"httpUrl": "https://app.koppar.ai/mcp"
}
}
}[mcp_servers.koppar]
url = "https://app.koppar.ai/mcp"Citer cette source
Vous rédigez un article ou un comparatif ? Cette fiche distingue les informations du registre et nos mesures. Citez le lien permanent et la date du test ; un résultat OK ne constitue pas un audit de sécurité ni une garantie de disponibilité.
Koppar · L’Atlas · Test du
[Koppar — L’Atlas](https://latlas.dev/mcp/ai.koppar/koppar)Source : Registre officiel MCP · relevé le 2 déc. 2026. L’Atlas n’ajoute aucune donnée qui ne vienne de cette source ou de ses propres tests.