New advertisers: 50% off your first month with code FIRSTMONTHSee slots
kurpeeren avatar

copperflow

kurpeeren/copperflow

copperflow connects an AI agent to PCB design: schematic, placement, autorouting, DRC, and fabrication export.

tools
52
transport
STDIO
last updated
Nov 21, 2026
View on GitHub

What it does

  • Reads and edits circuits with list_circuits, circuit_summary, set_props, add_trace, and new_circuit; every change is one undo step
  • Checks and routes with check_circuit, autoplace, autoroute, fit_board, and copper_summary, reporting unrouted connections and copper violations
  • Exports with export_fabrication, export_model (STEP or GLB), and export_html; fabrication export is refused while the circuit has errors
  • Runs locally over stdio with Node.js 22 or newer, and needs no account or API key; the optional desktop app bundles its own runtime
  • Designed for hobbyists and engineers who want an agent to handle placement, routing, and fabrication files alongside hand-edited TSX circuit code

Tools

52 tools

Public tool metadata for what this MCP can expose to an agent.

list_circuitsLists the `*.circuit.tsx` files in the project

Lists the `*.circuit.tsx` files in the project

No parameter schema in public metadata yet.

circuit_summaryCompact by default (a line per part and net, locks, marks, lock violations); `detail: "full"` lists every prop and trace

Compact by default (a line per part and net, locks, marks, lock violations); `detail: "full"` lists every prop and trace

No parameter schema in public metadata yet.

set_propsSets literal props: position, rotation, value, footprint; `schNameAt`, `schValueAt` and `pcbNameAt` take a point `{ x, y }` that moves the name, value or silkscreen designator from the part's origin; `null` removes one of those three

Sets literal props: position, rotation, value, footprint; `schNameAt`, `schValueAt` and `pcbNameAt` take a point `{ x, y }` that moves the name, value or silkscreen designator from the part's origin; `null` removes one of those three

No parameter schema in public metadata yet.

remove_partRemoves a part and its traces

Removes a part and its traces

No parameter schema in public metadata yet.

add_traceConnects two ports or nets

Connects two ports or nets

No parameter schema in public metadata yet.

remove_traceDisconnects two ports or nets

Disconnects two ports or nets

No parameter schema in public metadata yet.

check_circuitRuns copperflow's own ERC and placement DRC: counts, then up to 20 findings, one line each; `filter` narrows by severity, `copper`, part or net; copper clearance, width, via, board-edge and keepout violations are included

Runs copperflow's own ERC and placement DRC: counts, then up to 20 findings, one line each; `filter` narrows by severity, `copper`, part or net; copper clearance, width, via, board-edge and keepout violations are included

No parameter schema in public metadata yet.

new_circuitWrites a whole new circuit from a netlist in one call: parts, nets, pin checks, placement unless `place: false`

Writes a whole new circuit from a netlist in one call: parts, nets, pin checks, placement unless `place: false`

No parameter schema in public metadata yet.

autoplacePlaces the parts nobody placed or locked by their connections, as one change, with a summary of wire length, board size and overlaps

Places the parts nobody placed or locked by their connections, as one change, with a summary of wire length, board size and overlaps

No parameter schema in public metadata yet.

fit_boardShrinks or grows a rectangular board to the parts' courtyards plus `margin`, as one change

Shrinks or grows a rectangular board to the parts' courtyards plus `margin`, as one change

No parameter schema in public metadata yet.

import_boardSets the board's outline, mounting holes and keepouts from a DXF drawing in the project folder, as one change; a `.kicad_pcb` file makes a new circuit from a KiCad board

Sets the board's outline, mounting holes and keepouts from a DXF drawing in the project folder, as one change; a `.kicad_pcb` file makes a new circuit from a KiCad board

No parameter schema in public metadata yet.

autorouteRoutes the unrouted connections and names each one it could not route with the reason

Routes the unrouted connections and names each one it could not route with the reason

No parameter schema in public metadata yet.

unrouteRemoves the router's copper

Removes the router's copper

No parameter schema in public metadata yet.

add_pourAdds a copper pour of a net on one layer, as one change

Adds a copper pour of a net on one layer, as one change

No parameter schema in public metadata yet.

remove_pourRemoves a copper pour, as one change

Removes a copper pour, as one change

No parameter schema in public metadata yet.

add_holeAdds a non-plated mounting hole, as one change

Adds a non-plated mounting hole, as one change

No parameter schema in public metadata yet.

remove_holeRemoves a non-plated mounting hole, as one change

Removes a non-plated mounting hole, as one change

No parameter schema in public metadata yet.

simulateThe DC operating point of a circuit or a sheet: set nets to volts, close switches, energise relay coils; with a sheet and no values it runs the sheet's cases

The DC operating point of a circuit or a sheet: set nets to volts, close switches, energise relay coils; with a sheet and no values it runs the sheet's cases

No parameter schema in public metadata yet.

make_sheetMoves parts into a sub-sheet with ports

Moves parts into a sub-sheet with ports

No parameter schema in public metadata yet.

describe_sheetWrites a sheet's card: what it does, its ports and its cases

Writes a sheet's card: what it does, its ports and its cases

No parameter schema in public metadata yet.

list_modulesThe shelf of modules and the libraries

The shelf of modules and the libraries

No parameter schema in public metadata yet.

module_infoReads one module

Reads one module

No parameter schema in public metadata yet.

use_moduleBrings one module into the project

Brings one module into the project

No parameter schema in public metadata yet.

save_moduleSaves a described sheet as a module

Saves a described sheet as a module

No parameter schema in public metadata yet.

export_fabricationWrites the fabrication files, the STEP model and the board's pictures; refused when the circuit has errors

Writes the fabrication files, the STEP model and the board's pictures; refused when the circuit has errors

No parameter schema in public metadata yet.

export_modelWrites the board and its parts as one 3D model file, STEP or GLB

Writes the board and its parts as one 3D model file, STEP or GLB

No parameter schema in public metadata yet.

export_htmlWrites the design as one web page to hand to a person; opens offline

Writes the design as one web page to hand to a person; opens offline

No parameter schema in public metadata yet.

attach_datasheetRecords the datasheet a part came from

Records the datasheet a part came from

No parameter schema in public metadata yet.

guideThe copperflow skill's texts for an agent that has no skills

The copperflow skill's texts for an agent that has no skills

No parameter schema in public metadata yet.

edit_circuitSeveral edits in one call, applied as one change (one history entry); stops at the first refused edit and writes nothing

Several edits in one call, applied as one change (one history entry); stops at the first refused edit and writes nothing

No parameter schema in public metadata yet.

connect_netsConnects many pins to named nets in one call

Connects many pins to named nets in one call

No parameter schema in public metadata yet.

route_trackDraws one track of a net by hand from a pad, track or via of that net, as one change

Draws one track of a net by hand from a pad, track or via of that net, as one change

No parameter schema in public metadata yet.

add_viaPlaces a via, as one change

Places a via, as one change

No parameter schema in public metadata yet.

remove_copperRemoves tracks and vias by id, as one change

Removes tracks and vias by id, as one change

No parameter schema in public metadata yet.

fillet_tracksRounds the square corners of tracks into short chords on an arc of the design rules' fillet radius, as one change

Rounds the square corners of tracks into short chords on an arc of the design rules' fillet radius, as one change

No parameter schema in public metadata yet.

straighten_tracksPuts rounded corners of tracks back to square, as one change

Puts rounded corners of tracks back to square, as one change

No parameter schema in public metadata yet.

copper_summaryPer net: tracks, vias, length and unrouted connections, then copper violations by rule

Per net: tracks, vias, length and unrouted connections, then copper violations by rule

No parameter schema in public metadata yet.

board_summaryThe board in about 60 lines (size, parts, longest connections, overlaps, edge, pours)

The board in about 60 lines (size, parts, longest connections, overlaps, edge, pours)

No parameter schema in public metadata yet.

project_statusThe project memory PROJECT.md with each circuit's counts and last changes

The project memory PROJECT.md with each circuit's counts and last changes

No parameter schema in public metadata yet.

note_decisionWrites a dated decision to the project memory, as one change

Writes a dated decision to the project memory, as one change

No parameter schema in public metadata yet.

set_projectRewrites sections of the project memory, as one change

Rewrites sections of the project memory, as one change

No parameter schema in public metadata yet.

open_studioStarts the Studio for the project if none runs, opens it in your browser and answers with the address

Starts the Studio for the project if none runs, opens it in your browser and answers with the address

No parameter schema in public metadata yet.

renderA PNG of the board or of one schematic page, drawn by the Studio's own code

A PNG of the board or of one schematic page, drawn by the Studio's own code

No parameter schema in public metadata yet.

list_partsShows the parts library

Shows the parts library

No parameter schema in public metadata yet.

part_infoShows a part's data and checklist

Shows a part's data and checklist

No parameter schema in public metadata yet.

create_partAdds a part from a datasheet

Adds a part from a datasheet

No parameter schema in public metadata yet.

import_partFetches one part by its LCSC number from EasyEDA into `parts/<id>/`, unverified, for personal, non-commercial use only

Fetches one part by its LCSC number from EasyEDA into `parts/<id>/`, unverified, for personal, non-commercial use only

No parameter schema in public metadata yet.

place_partAdds a library or built-in part to a circuit, with its import

Adds a library or built-in part to a circuit, with its import

No parameter schema in public metadata yet.

bomBill of materials, with whether the board is ready to order

Bill of materials, with whether the board is ready to order

No parameter schema in public metadata yet.

export_packageFolder with BOM, datasheets, part status and pin maps

Folder with BOM, datasheets, part status and pin maps

No parameter schema in public metadata yet.

recent_changesRecent changes by you and the agent, including undos

Recent changes by you and the agent, including undos

No parameter schema in public metadata yet.

undo_changeUndoes one of the agent's own changes

Undoes one of the agent's own changes

No parameter schema in public metadata yet.

Readme

copperflow

Small agents carry a USB-C socket, a regulator, capacitors, a resistor, an LED and a pin header from a tray onto a circuit board, then walk the connections laying copper tracks, while a line below names each copperflow tool they use.

A PCB design program you and your AI agent use together. The agent places, routes, checks and exports the board through MCP, with or without a window open; you work in the same files in the editor, and every change it makes is one step you can undo. Schematic, PCB, autorouting, DRC, Gerbers, BOM and a 3D view, on your own computer.

Website · Download the desktop app · Connect your agent · npm install -g copperflow


View the full README on GitHub

Details

Repository
github.com/kurpeeren/copperflow
Website
copperflow.kurpeeren.com
Categories
3D, CAD & Modeling, Developer Tools
Package
copperflow
Transport
STDIO
Registry
MCP registry, active

Similar to copperflow

More 3D, CAD & Modeling