v2 Migration Notes¶
Component Search Surface¶
The v2 library surface removes the legacy browser-URL helpers:
lib_get_lcsc_search_urllib_search_lcsc
Use the live component tools instead:
lib_search_componentslib_get_component_detailslib_assign_lcsc_to_symbollib_get_bom_with_pricinglib_check_stock_availabilitylib_find_alternative_parts
Default Source¶
jlcsearch is the default live source because it is zero-auth and works in the
standard local profile.
Optional Sources¶
nexar and digikey require external credentials and are intended for
authenticated deployments.
Simulation Surface¶
v2 also adds a dedicated SPICE simulation category:
sim_run_operating_pointsim_run_ac_analysissim_run_transientsim_run_dc_sweepsim_check_stabilitysim_add_spice_directive
The default backend is direct ngspice CLI execution. If InSpice is installed
manually in the runtime environment, the server can still use it as an optional
backend.
Signal Integrity Surface¶
v2 adds a signal-integrity category focused on quick transmission-line and placement checks:
si_calculate_trace_impedancesi_calculate_trace_width_for_impedancesi_check_differential_pair_skewsi_validate_length_matchingsi_generate_stackupsi_check_via_stubsi_calculate_decoupling_placement
These tools use quasi-static formulas and board heuristics so agents can make better placement and routing decisions before a full SI review.
Power Integrity Surface¶
v2 also adds a board-focused PDN and thermal review category:
pdn_calculate_voltage_droppdn_recommend_decoupling_capspdn_check_copper_weightpdn_generate_power_planethermal_calculate_via_countthermal_check_copper_pour
This surface gives agents a lightweight way to review rail sizing, local decoupling, copper spreading, and stitched thermal escape plans before final DRC.
EMC Surface¶
v2 adds EMC-oriented board heuristics and a bundled sweep:
emc_check_ground_plane_voidsemc_check_return_path_continuityemc_check_split_plane_crossingemc_check_decoupling_placementemc_check_via_stitchingemc_check_differential_pair_symmetryemc_check_high_speed_routing_rulesemc_run_full_compliance
The bundled compliance sweep runs ten named checks and returns pass/warn/fail text so agents can surface EMC risk early in the layout cycle.
DFM Surface¶
v2 adds bundled manufacturer profiles and dedicated DFM tools:
dfm_load_manufacturer_profiledfm_run_manufacturer_checkdfm_calculate_manufacturing_cost
The initial bundled profiles target:
JLCPCB / standardJLCPCB / advancedPCBWay / standardOSH Park / 2layer
The legacy check_design_for_manufacture tool stays available, but now routes
through the same bundled profile engine so manufacturing checks and cost
estimates share one rule source.
PCB Bring-Up Surface¶
v2 expands the PCB write category with first-layout helpers:
pcb_auto_place_by_schematicpcb_place_decoupling_capspcb_group_by_functionpcb_align_footprintspcb_set_keepout_zonepcb_add_mounting_holespcb_add_fiducial_markspcb_add_teardrops
These tools sit on top of the existing file-based footprint sync flow. They are meant to accelerate initial board bring-up, cluster related references, add simple manufacturing markers, and create basic keepout or copper helper shapes before a manual refinement pass in the KiCad PCB editor.
Multilayer / HDI Surface¶
v2 also expands the PCB surface for multilayer bring-up:
pcb_set_stackuppcb_add_blind_viapcb_add_microviapcb_get_impedance_for_tracepcb_check_creepage_clearance
pcb_set_stackup writes a file-backed stackup profile and updates the board
setup block so later impedance checks can reuse the same dielectric data.
Blind and microvia helpers stay IPC-backed because they create live board
items, while the impedance and creepage tools provide fast rule-of-thumb review
for multilayer layout planning.
Version Control Surface¶
v2 adds a Git-backed checkpoint surface:
vcs_init_gitvcs_commit_checkpointvcs_list_checkpointsvcs_restore_checkpointvcs_tag_releasevcs_diff_with_checkpoint
The restore path is intentionally conservative: when the project is dirty, the
tool first creates a stash backup for the project scope and only then restores
files from the requested checkpoint commit. In v2.4.0 the restore flow also
creates a mcp-restore-<short-sha> recovery branch for the stash snapshot, and
release tagging is blocked unless the full project quality gate is PASS.
Profiles And Tool Metadata¶
v2 broadens the recommended server profiles:
fullminimalschematic_onlypcb_onlymanufacturinghigh_speedpowersimulationanalysis
Legacy aliases pcb and schematic still resolve for older clients, but new
config examples should prefer the explicit *_only profile names.
The tool discovery layer also adds runtime metadata labels in
kicad_get_tools_in_category():
HEADLESSfor file/CLI-backed tools that do not need a live KiCad sessionREQUIRES_KICADfor IPC-backed tools that need the PCB editor runningREQUIRES:<name>for optional dependency families such asfreerouting
Large PCB read tools now support pagination/filtering:
pcb_get_tracks(page=1, page_size=100, filter_layer="", filter_net="")pcb_get_footprints(page=1, page_size=50, filter_layer="")
Release Gating And Connectivity¶
v2 now treats manufacturing export as a release step instead of a convenience shortcut.
export_manufacturing_packagenow hard-blocks whenproject_quality_gate()is not clean.project_quality_gate()now aggregates:schematic_quality_gateschematic_connectivity_gatepcb_quality_gatepcb_placement_quality_gatepcb_transfer_quality_gatemanufacturing_quality_gate- footprint parity checks
The new schematic_connectivity_gate exists because ERC alone is not enough for agent-made
designs. It catches structural smells such as label-only pages, top/child-sheet contract
mismatches, unnamed single-pin groups, and footprint-assigned symbols that never form a
meaningful signal or power connection.
Placement Scoring And Design Intent¶
v2 adds a second layer on top of the blocking placement gate:
pcb_placement_quality_gatekeeps the hard-fail rulespcb_score_placementreports softer quality heuristics and warnings
To make those checks contextual instead of purely geometric, the project surface now includes:
project_set_design_intentproject_get_design_intentproject_get_design_specproject_infer_design_specproject_validate_design_spec
The persisted design-intent schema currently carries:
connector_refsdecoupling_pairscritical_netspower_tree_refsanalog_refsdigital_refssensor_cluster_refsrf_keepout_regionsmanufacturermanufacturer_tier
Benchmark And Failure Corpus¶
The repository now includes a benchmark release corpus under:
tests/fixtures/benchmark_projects/pass_minimal_mcu_boardtests/fixtures/benchmark_projects/pass_sensor_nodetests/fixtures/benchmark_projects/fail_label_only_schematictests/fixtures/benchmark_projects/fail_footprint_overlap_boardtests/fixtures/benchmark_projects/fail_bad_decoupling_placementtests/fixtures/benchmark_projects/fail_sensor_cluster_spreadtests/fixtures/benchmark_projects/fail_dirty_transfer_wrong_pad_netstests/fixtures/benchmark_projects/fail_dfm_edge_clearancetests/fixtures/benchmark_projects/fail_sismosmart_like_hierarchy
These fixtures are used by release-gate tests to ensure that:
- clean benchmark projects can proceed to manufacturing export
- known-bad projects stay blocked
- the correct subsystem is blamed in
project_quality_gate()