KiCad serialises rescued or locally-customised library entries with an
extra (lib_name "...") child before (lib_id "..."):
(symbol
(lib_name "RESISTOR_0603_4")
(lib_id "MF_Passives:RESISTOR_0603")
(at 132.08 44.45 90)
...)
The block-matching regex in _handle_get_schematic_component,
_handle_edit_schematic_component, and _handle_delete_schematic_component
required (lib_id IMMEDIATELY after (symbol, so any placed component
using this form was silently invisible to lookup. The user-visible
symptom is "Component '<ref>' not found in schematic" even though the
component is plainly present (and reachable through list / IPC paths).
This bug also affected set/remove_schematic_component_property and the
existing footprint/value/reference rewriting paths in edit, since they
all share the same lookup code.
The parent-position lookup used a similarly-strict regex
((symbol (lib_id "...") (at ...))), which silently fell back to (0,0)
on (lib_name)-first symbols and caused new properties added through
the custom-properties path to anchor at the schematic origin instead
of the parent symbol.
Fix: relax the symbol-block opening pattern to (symbol\s+\( — matching
any opening paren after (symbol — and read the symbol's origin from
the first (at ...) inside the block. Library-definition entries inside
(lib_symbols ...) are still excluded by the existing range check
(they use the (symbol "name" ...) form with a quoted string, not a
paren).
Adds 7 regression tests in TestLibNameBeforeLibIdOrdering using a
real-world (lib_name)-first resistor block, covering get / edit /
set-property / remove-property / delete and verifying that newly
added properties anchor to the symbol origin instead of (0, 0).
30 KiB
Changelog
All notable changes to the KiCAD MCP Server project are documented here.
[Unreleased]
Bug Fixes
- Schematic symbol lookup:
get_schematic_component,edit_schematic_component,set_schematic_component_property,remove_schematic_component_property, anddelete_schematic_componentno longer fail withComponent '<ref>' not found in schematicwhen the placed symbol uses KiCad's rescued / locally-customised serialisation form(symbol (lib_name "...") (lib_id "...") ...). The block-matching regex now accepts any opening paren after(symbol, and the parent-position lookup uses the first(at ...)inside the symbol block, so newly-added properties anchor to the symbol origin instead of silently falling back to(0, 0). Added 7 regression tests reproducing the failure on a real-world user schematic.
New MCP Tools
-
set_schematic_component_property— Add or update a single custom property (BOM / sourcing field) on a placed schematic symbol. Convenience wrapper aroundedit_schematic_componentfor the common case of attaching one MPN / Manufacturer / DigiKey_PN / LCSC / JLCPCB_PN / Voltage / Tolerance / Dielectric value at a time. Newly created properties default to hidden so they do not clutter the schematic canvas. -
remove_schematic_component_property— Delete a custom property from a placed schematic symbol. The four built-in fields (Reference, Value, Footprint, Datasheet) are protected and cannot be removed; clear them by setting their value to""viaedit_schematic_componentinstead.
Tool Enhancements
-
edit_schematic_component: extended with two new optional parameters that promote arbitrary custom properties to first-class citizens:properties— map of property name to either a string value or a full spec object{ value, x?, y?, angle?, hide?, fontSize? }. Adds the property if it does not yet exist on the symbol, otherwise updates the existing value (and optionally its label position / visibility). Lets a single tool call attach an entire BOM / sourcing payload to a component:properties: { MPN: "RC0603FR-0710KL", Manufacturer: "Yageo", Tolerance: "1%" }.removeProperties— list of custom property names to delete in the same call.- String values written through any of the property paths are now properly
backslash-escaped so descriptions containing
"or\no longer corrupt the .kicad_sch file.
-
get_schematic_component: clarified description — it already returns every field on the symbol (built-in + custom). The tool description now spells this out explicitly so agents know they can use it to inspect MPN, Manufacturer, Distributor PN and other BOM fields without a separate call.
New MCP Prompt
component_sourcing_properties— Guides the LLM through attaching BOM and sourcing metadata (MPN, Manufacturer, distributor part numbers, parametric fields like Voltage / Tolerance / Dielectric) to schematic components. Lists the conventional property names recognised by downstream BOM tooling and the recommended call sequence (list_schematic_components→get_schematic_component→set_schematic_component_property/edit_schematic_component).
Tests
tests/test_schematic_component_properties.py: 32 new tests covering custom property add / update / remove (single + batched), full spec dicts, position defaults,(hide yes)defaulting, protected built-in field rejection, no-op removal, special-character escaping, UUID preservation, and the two new convenience tools.
[2.2.3] - 2026-03-11
Merged: PR #57 (Kletternaut/demo/rpiCSI-videotest → main)
This release incorporates 28 commits developed and live-tested during a full Raspberry Pi CSI adapter PCB design session. All tools listed below were validated end-to-end using Claude Desktop + KiCAD 9 on Windows.
New MCP Tools
-
connect_passthrough— Schematic-only tool that wires all pins of one connector directly to the matching pins of another (e.g. J1 pin N → J2 pin N). Creates nets named with a configurable prefix (netPrefix). Designed for FFC/ribbon cable passthrough adapters. Schematic only — do not call for PCB routing. -
sync_schematic_to_board— Imports all net/pad assignments from the schematic into the open PCB file. Required afterconnect_passthroughbefore routing can start. Returnspads_assignedcount for verification. -
snapshot_project— Saves a named checkpoint of the entire project folder into asnapshots/subdirectory inside the project. Allows resuming from a known-good state without redoing earlier steps. Acceptsstep,label, and optionalpromptparameters. -
run_erc— Runs KiCAD's Electrical Rules Check on the schematic and returns violations as structured JSON. -
import_svg_logo— Converts an SVG file to PCB silkscreen polygons and places them on a specified layer.
Bug Fixes
-
route_pad_to_pad: Critical fix for B.Cu footprints in KiCAD 9.pad.GetLayerName()always returnedF.Cufor SMD pads on flipped footprints (KiCAD 9 SWIG bug). Fix: usefootprint.GetLayer()instead, which correctly reflects the placed layer afterFlip(). Without this fix, no vias were inserted for back-to-back connectors. -
route_pad_to_pad: Via was placed at the geometric midpoint between the two pads. For back-to-back mirrored connectors (J1 F.Cu / J2 B.Cu) this caused all 15 vias to stack at the same X coordinate (board center). Fix: via is now placed at the X coordinate of the start pad (via_x = start_pos.x), producing 15 parallel vertical traces. -
place_component(B.Cu footprints):Flip()was called beforeboard.Add(), causing KiCAD 9 to hang for ~30 seconds. Fix:board.Add()first, thenFlip(). -
add_board_outline: Three separate bugs fixed — incorrect cornerRadius fallback, wrong top-left origin default, and broken arc delegation for IPC rounded rectangles. -
snapshot_project: Snapshots were saved one level above the project directory, cluttering the parent folder. Fix: snapshots now go into<project>/snapshots/. -
MCP server log timestamp was always UTC/ISO. Fix: now uses local system time.
-
search_tools(router pattern): direct tools likesnapshot_projectwere invisible to the router. Fix: direct tool names added to the router's known-tool list.
Developer Mode (KICAD_MCP_DEV=1)
Set the environment variable KICAD_MCP_DEV=1 in your Claude Desktop config to
enable developer features:
"env": {
"KICAD_MCP_DEV": "1"
}
What it does:
export_gerberautomatically copies the current MCP session log into the project'slogs/subdirectory asmcp_log_<timestamp>.txt.snapshot_projectcopies the MCP session log intologs/at every checkpoint asmcp_log_step<N>_<timestamp>.txt.- If a
promptparameter is passed tosnapshot_project, it is saved asPROMPT_step<N>_<timestamp>.mdalongside the log.
Purpose: Makes it easy to include the full tool call history when filing a bug
report or GitHub issue — just attach the log file from the project's logs/ folder.
⚠️ Privacy warning: The MCP session log contains the complete conversation history between Claude and the MCP server, including all tool parameters and responses. When sharing a project directory (e.g. as a ZIP attachment in a GitHub issue), review or delete the
logs/folder first to avoid accidentally disclosing sensitive file paths, component names, or design details.
Snapshot Logging (always active)
Regardless of dev mode, snapshot_project now always saves a copy of the current
MCP session log into <project>/logs/ at each checkpoint. This means every project
automatically retains a traceable record of which tools were called and in what order.
⚠️ Same privacy note applies: the
logs/directory inside your project folder contains tool call history. Do not share it publicly without reviewing its contents.
[2.2.2-alpha] - 2026-03-01
New MCP Tools
-
route_pad_to_pad– Convenience wrapper aroundroute_tracethat looks up pad positions automatically. AcceptsfromRef/fromPad/toRef/toPadinstead of raw XY coordinates. Auto-detects net from pad assignment (overridable vianetparam). Saves ~2 tool calls per connection (~64 calls for a full TMC2209 board compared to the 3-step get_pad_position flow). Live tested: ESP32 ↔ TMC2209 STEP/DIR traces routed without prior coordinate lookup. ✅ -
copy_routing_pattern– Now registered as MCP tool in TypeScript layer (routing.ts). Was previously implemented in Python but missing from the MCP tool registry. Parameters:sourceRefs,targetRefs,includeVias?,traceWidth?.
Bug Fixes
-
add_schematic_component/DynamicSymbolLoader: ignored project-localsym-lib-table.find_library_file()only searched global KiCAD install directories, causing "library not found" errors for any symbol in a project-local.kicad_symfile. Fix: addedproject_pathparameter; reads projectsym-lib-tablefirst via new_resolve_library_from_table()helper before falling back to global dirs.project_pathis auto-derived from the schematic path. -
place_component: ignored project-localfp-lib-table.FootprintLibraryManagerwas initialised once at server start without a project path, so self-created.kicad_modfootprints were never found. Fix: newboardPathparameter in TypeScript + Python;_handle_place_componentwrapper recreatesFootprintLibraryManager(project_path=…)whenever the active project changes (cached to avoid redundant recreation). -
copy_routing_pattern: copied 0 traces when pads had no net assignments. The filtertrack.GetNetname() in source_netsalways returned empty when pads were placed without net assignment. Fix: geometric fallback using bounding box of source footprint pads ±5mm tolerance. Response includesfilterMethodfield indicating which mode was used ("net-based"or"geometric (pads have no nets)"). -
template_with_symbols.kicad_sch,template_with_symbols_expanded.kicad_sch: restored format version20250114(KiCAD 9) after upstream commit2b38796accidentally downgraded both files to20240101. KiCAD 9 rejects schematics with outdated version numbers. -
CRITICAL:
template_with_symbols_expanded.kicad_sch: removed 7 invalid;;comment lines introduced by upstream commitb98c94b. KiCAD's S-expression parser does not support any comment syntax — it expects every non-empty, non-whitespace line to start with(. The comments (;; PASSIVES,;; SEMICONDUCTORS,;; INTEGRATED CIRCUITS,;; CONNECTORS,;; POWER/REGULATORS,;; MISC,;; TEMPLATE INSTANCES (...)) caused KiCAD 9 to reject every schematic created from this template with a hard parse error:Expecting '(' in <file>.kicad_sch, line 8, offset 5Action required for existing projects: delete every line beginning with;;from any.kicad_schfile created between upstream commitb98c94band this fix. -
add_schematic_component/inject_symbol_into_schematic: symbol definition inlib_symbolswas never refreshed after editing viacreate_symbol/edit_symbol. If the symbol was already present in the schematic's embeddedlib_symbolssection, the function returned immediately —delete + re-addstill pulled in the stale cached definition. Fix: always read the current definition from the.kicad_symfile; if a stale entry exists inlib_symbols, remove it first, then inject the fresh one. Verified live. ✅ -
template_with_symbols_expanded.kicad_sch: removed 13 legacy_TEMPLATE_*offscreen instances (_TEMPLATE_R,_TEMPLATE_C,_TEMPLATE_U, etc.) that were placed atx=-100as clone-sources for the oldComponentManagerapproach.DynamicSymbolLoader(the current implementation) injects symbols directly and never needs these placeholders. They appeared as dangling reference designators in KiCAD's component navigator and in the schematic canvas when zoomed far out.
Maintenance
.gitignore: added*.kicad_pcb.bak,*.kicad_pro.bakalongside existing-bakvariants; consolidated personal/local files undermyContribution/.
[2.2.1-alpha] - 2026-02-28
New MCP Tools
edit_schematic_component– Update properties of a placed symbol in-place (footprint, value, reference rename). More efficient than delete + re-add: preserves position and UUID.
Bug Fixes
-
add_schematic_component:footprintparameter was accepted but silently ignored – the value was never passed through toDynamicSymbolLoader.add_component()/create_component_instance(). All newly placed symbols always had an empty Footprint field. Fix: addedfootprint: str = ""to both functions and threaded it through every call site including the TypeScript tool schema. -
delete_schematic_component: only deleted the first matching instance when duplicate references existed (e.g. after an aborted add attempt). Root cause: loop usedbreakafter the first match. Fix: collect all matching blocks first, then delete them all back- to-front (to preserve line indices). Response now includesdeleted_count. -
templates/*.kicad_sch,project.py,schematic.py: Update KiCAD schematic format version from20230121(KiCAD 7) to20250114(KiCAD 9). The MCP server targets KiCAD 9 exclusively (pcbnew.pydcompiled for KiCAD 9.0, Python 3.11.5) – generating files in an outdated format caused a spurious "This file was created with an older KiCAD version" warning on every newly created schematic. -
template_with_symbols_expanded.kicad_sch: Remove 13 corrupt_TEMPLATE_*placed-symbol blocks with(lib_id -100)– an integer caused by old sexpdata serializer (same bug PR #40 fixed for the add path). KiCAD crashed with a null-pointer when selecting these symbols. They appeared as grey_TEMPLATE_R?,_TEMPLATE_U_REG?etc. labels far outside the sheet boundary (~5000mm off-sheet).Discovered via: live testing on a real JLCPCB/KiCAD 9 project. Affected users: schematics created from this template before this fix contain the same corrupt blocks – remove all
(symbol (lib_id -100) ...)blocks whose Reference starts with_TEMPLATE_.
[2.2.0-alpha] - 2026-02-27
New MCP Tools (TypeScript layer – previously Python-only)
Routing tools:
delete_trace- Delete traces by UUID, position or net namequery_traces- Query/filter traces on the boardget_nets_list- List all nets with net code and classmodify_trace- Modify trace width or layercreate_netclass- Create or update a net classroute_differential_pair- Route a differential pair between two pointsrefill_zones- Refill all copper zones ⚠️ SWIG segfault risk, prefer IPC/UI
Component tools:
get_component_pads- Get all pad data for a componentget_component_list- List all components on the boardget_pad_position- Get absolute position of a specific padplace_component_array- Place components in a grid arrayalign_components- Align components along an axisduplicate_component- Duplicate a component with offset
Bug Fixes
routing.py: Fix SwigPyObject UUID comparison (str()→m_Uuid.AsString())routing.py: Fix SWIG iterator invalidation afterboard.Remove()by snapshottinglist(board.Tracks())routing.py: Addboard.SetModified()+track = NoneafterRemove()to prevent dangling SWIG pointer crashesrouting.py: Per-tracktry/exceptinquery_traces()to skip invalid objects after bulk deleterouting.py: Add missing return statement (mypy)library.py: Fixsearch_footprintsparameter mapping (search_term→pattern)library.py: Fix field access (fp.name→fp.full_name)library.py: Accept bothpatternandsearch_termparameter nameslibrary.py: Fix loop variable shadowingPathobject (mypy)design_rules.py: Add type annotation forviolation_counts(mypy)
New MCP Tools (cont.)
Datasheet tools:
get_datasheet_url- Return LCSC datasheet PDF URL and product page URL for a given LCSC number (e.g.C179739→https://www.lcsc.com/datasheet/C179739.pdf). No API key required – URL is constructed directly from the LCSC number.enrich_datasheets- Scan a.kicad_schfile and write LCSC datasheet URLs into every symbol that has anLCSCproperty but an emptyDatasheetfield. After enrichment the URL appears natively in KiCAD's symbol properties, footprint browser and any other tool that reads the standard KiCADDatasheetfield. Supportsdry_run=truefor preview without writing. Implementation:python/commands/datasheet_manager.py(text-based, noskipwrites)
Schematic tools:
delete_schematic_component- Remove a placed symbol from a.kicad_schfile by reference designator (e.g.R1,U3).
Bug Fixes (cont.)
-
schematic.ts/kicad_interface.py: Fix missingdelete_schematic_componentMCP tool.Root cause (two separate issues):
- No MCP tool named
delete_schematic_componentexisted. Claude had no way to call it, so any "delete schematic component" request fell through to the PCB-onlydelete_componenttool, which searchespcbnew.BOARDand always returned "Component not found" for schematic symbols. component_schematic.py::remove_component()still usedskipfor writes. PR #40 rewroteDynamicSymbolLoader(add path) to avoidskip-induced schematic corruption, butremove_component(delete path) was not touched by that PR.
Fix:
- Added
delete_schematic_componentto the TypeScript tool layer (schematic.ts) with clear docstring distinguishing it from the PCBdelete_component. - Implemented
_handle_delete_schematic_componentinkicad_interface.pyusing direct text manipulation (parenthesis-depth tracking, same approach as PR #40). Does not callcomponent_schematic.py::remove_component()at all. - Error message explicitly guides the user when the wrong tool is used: "note: this tool removes schematic symbols, use delete_component for PCB footprints"
- No MCP tool named
Additional Bug Fixes
connection_schematic.py/kicad_interface.py: Fixgenerate_netlistmissingschematic_pathparameter – without itget_net_connectionsalways fell back to proximity matching which only returns one connection per component (first wire hit, thenbreak). PinLocator was never invoked. Fix: addedschematic_path: Optional[Path]togenerate_netlistsignature and threaded it through toget_net_connections, and updated_handle_generate_netlistinkicad_interface.pyto passschematic_path.server.ts: Fix KiCAD bundled Python (3.11.5) not being selected on Windows – the detection conditionprocess.env.PYTHONPATH?.includes("KiCad")was fragile and failed in some environments, causing System Python 3.12 to be used instead. Sincepcbnew.pydis compiled for KiCAD's Python 3.11.5, this resulted inNo module named 'pcbnew'. Fix: removed the condition, KiCAD bundled Python is now always preferred on Windows when it exists atC:\Program Files\KiCad\9.0\bin\python.exe. Also addedKICAD_PYTHONtoclaude_desktop_config.jsonas explicit override.pin_locator.py: Fixgenerate_netlisttimeout –get_pin_locationandget_all_symbol_pinscalledSchematic(schematic_path)on every single pin lookup, causing O(nets × components × pins) schematic file loads (e.g. 400+ loads for a medium schematic). Fix: added_schematic_cachedict toPinLocator.__init__, schematic is now loaded once per path and reused.
[2.1.0-alpha] - 2026-01-10
Phase 1: Intelligent Schematic Wiring System - Core Infrastructure
Major Features:
- Automatic pin location discovery with rotation support
- Smart wire routing (direct, orthogonal horizontal/vertical)
- Net label management (local, global, hierarchical)
- S-expression-based wire creation
- Professional right-angle routing
New Components:
python/commands/wire_manager.py- S-expression wire creation enginepython/commands/pin_locator.py- Intelligent pin discovery with rotation- Updated
python/commands/connection_schematic.py- High-level connection API docs/SCHEMATIC_WIRING_PLAN.md- Implementation roadmap
MCP Tools Enhanced:
add_schematic_wire- Create wires with stroke customizationadd_schematic_connection- Auto-connect pins with routing options (NEW)add_schematic_net_label- Add labels with type and orientation control (NEW)connect_to_net- Connect pins to named nets (ENHANCED)
Technical Implementation:
- Rotation transformation matrix for pin coordinates
- S-expression injection for guaranteed format compliance
- Pin definition caching for performance
- Orthogonal path generation for professional schematics
Testing:
- End-to-end integration test: 100% passing
- MCP handler integration test: 100% passing
- Pin discovery with rotation: Verified working
- KiCad-skip verification: All wires/labels correctly formed
Phase 2: Power Nets & Wire Connectivity - COMPLETE
Major Features:
- Power symbol support (VCC, GND, +3V3, +5V, etc.) via dynamic loading
- Wire graph analysis for net connectivity tracking
- Geometric wire tracing with tolerance-based point matching
- Accurate netlist generation with component/pin connections
- Critical template mapping bug fixes
Updates:
connect_to_net()- Migrated to WireManager + PinLocatorget_net_connections()- Complete rewrite with geometric wire tracinggenerate_netlist()- Now uses wire graph analysis for connectivityget_or_create_template()- Fixed special character handling, auto-reload after dynamic loadingadd_component()- Fixed template lookup with symbol iteration
Bug Fixes:
- CRITICAL: Template mapping after dynamic symbol loading
- Special character handling in symbol names (+ prefix in +3V3, +5V)
- Schematic reload synchronization after S-expression injection
- Multi-format template reference detection
Wire Graph Analysis Algorithm:
- Find all labels matching target net name
- Trace wires connected to label positions (point coincidence)
- Collect all wire endpoints and polyline segments
- Match component pins at wire connection points using PinLocator
- Return accurate component/pin connection pairs
Technical Implementation:
- Tolerance-based point matching (0.5mm for grid alignment)
- Multi-segment wire (polyline) support
- Rotation-aware pin location matching via PinLocator
- Fallback proximity detection (10mm threshold)
- Template existence checking via symbol iteration (handles special characters)
Testing:
- Power symbols: 4/4 loaded (VCC, GND, +3V3, +5V)
- Components: 4/4 placed
- Connections: 8/8 created successfully
- Net connectivity: 100% accurate (VCC: 2, GND: 4, +3V3: 1, +5V: 1)
- Netlist generation: 4 nets with accurate connections
- Comprehensive integration test: 100% PASSING
Commits:
c67f400- Updated connect_to_net to use WireManagerb77f008- Fixed template mapping bug (critical)a5a542b- Implemented wire graph analysis
Addresses:
- Issue #26 - Schematic workflow wiring functionality (Phase 2)
Phase 2: JLCPCB Integration Complete
Major Features:
- ✅ Complete JLCPCB parts integration via JLCSearch public API
- ✅ Access to ~100k JLCPCB parts catalog
- ✅ Real-time stock and pricing data
- ✅ Parametric component search
- ✅ Cost optimization (Basic vs Extended library)
- ✅ KiCad footprint mapping
- ✅ Alternative part suggestions
New Components:
python/commands/jlcsearch.py- JLCSearch API client (no auth required)python/commands/jlcpcb_parts.py- Enhanced withimport_jlcsearch_parts()docs/JLCPCB_INTEGRATION.md- Comprehensive integration guide
MCP Tools Available:
download_jlcpcb_database- Download full parts catalogsearch_jlcpcb_parts- Parametric search with filtersget_jlcpcb_part- Part details + footprint suggestionsget_jlcpcb_database_stats- Database statisticssuggest_jlcpcb_alternatives- Find similar/cheaper parts
Technical Improvements:
- SQLite database with full-text search (FTS5)
- Package-to-footprint mapping for standard SMD packages
- Price comparison and cost optimization algorithms
- HMAC-SHA256 authentication support (for official JLCPCB API)
Testing:
- All integration tests passing
- Database operations validated
- Live API connectivity confirmed
- End-to-end MCP tool testing complete
Documentation:
- Complete API reference with examples
- Package mapping tables (0402, 0603, 0805, SOT-23, etc.)
- Best practices guide
- Troubleshooting section
[2.1.0-alpha] - 2025-11-30
Phase 1: Schematic Workflow Fix
Critical Bug Fix:
- ✅ Fixed completely broken schematic workflow (Issue #26)
- Created template-based symbol cloning approach
- All schematic tests now passing
Root Cause:
- kicad-skip library limitation: cannot create symbols from scratch, only clone existing ones
Solution:
- Template schematic with cloneable R, C, LED symbols
- Updated
create_projectto create both PCB and schematic - Rewrote
add_schematic_componentto useclone()API - Proper UUID generation and position setting
Files Modified:
python/commands/project.py- Now creates schematic filespython/commands/schematic.py- Uses template approachpython/commands/component_schematic.py- Complete rewrite
Files Created:
python/templates/template_with_symbols.kicad_schpython/templates/empty.kicad_schdocs/SCHEMATIC_WORKFLOW_FIX.md
Testing:
- Created comprehensive test suite
- All 7 tests passing
- KiCad CLI validation successful
[2.0.0-alpha] - 2025-11-05
Router Pattern & Tool Organization
Major Architecture Change:
- Implemented tool router pattern (70% context reduction)
- 12 direct tools, 47 routed tools in 7 categories
- Smart tool discovery system
New Router Tools:
list_tool_categories- Browse available categoriesget_category_tools- View tools in categorysearch_tools- Find tools by keywordexecute_tool- Run any routed tool
Benefits:
- Dramatically reduced AI context usage
- Maintained full functionality (64 tools)
- Improved tool discoverability
- Better organization for users
[2.0.0-alpha] - 2025-11-01
IPC Backend Integration
Experimental Feature:
- KiCad 9.0 IPC API integration for real-time UI sync
- Changes appear immediately in KiCad (no manual reload)
- Hybrid backend: IPC + SWIG fallback
- 20+ commands with IPC support
Implementation:
- Routing operations (interactive push-and-shove)
- Component placement and modification
- Zone operations and fills
- DRC and verification
Status:
- Under active development
- Enable via KiCad: Preferences > Plugins > Enable IPC API Server
- Automatic fallback to SWIG when IPC unavailable
[2.0.0-alpha] - 2025-10-26
Initial JLCPCB Integration (Local Libraries)
Features:
- Local JLCPCB symbol library search
- Integration with KiCad Plugin and Content Manager
- Search by LCSC part number, manufacturer, description
Credit:
- Contributed by @l3wi
Components:
python/commands/symbol_library.py- Basic library search functionality
[1.0.0] - 2025-10-01
Initial Release
Core Features:
- 64 fully-documented MCP tools
- JSON Schema validation for all tools
- 8 dynamic resources for project state
- Cross-platform support (Linux, Windows, macOS)
- Comprehensive error handling
- Detailed logging
Tool Categories:
- Project Management (4 tools)
- Board Operations (9 tools)
- Component Management (8 tools)
- Routing (6 tools)
- Export & Manufacturing (5 tools)
- Design Rule Checking (4 tools)
- Schematic Operations (6 tools)
- Symbol Library (3 tools)
- JLCPCB Integration (5 tools)
Platform Support:
- Linux (KiCad 7.x, 8.x, 9.x)
- Windows (KiCad 9.x)
- macOS (KiCad 9.x)
Documentation:
- Complete README with setup instructions
- Platform-specific guides
- Tool reference documentation
- Contributing guidelines
Version Numbering
- 2.1.0-alpha: Current development version with JLCPCB integration
- 2.0.0-alpha: Router pattern and IPC backend
- 1.0.0: Initial stable release
Breaking Changes
2.1.0-alpha
- None (additive changes only)
2.0.0-alpha
- Tool execution now requires router for 47 tools
- Direct tool access limited to 12 high-frequency tools
- Schema validation stricter (catches errors earlier)
Deprecations
2.1.0-alpha
docs/JLCPCB_USAGE_GUIDE.md- Superseded bydocs/JLCPCB_INTEGRATION.mddocs/JLCPCB_INTEGRATION_PLAN.md- Implementation complete
Migration Guide
Upgrading to 2.1.0-alpha from 2.0.0-alpha
New Dependencies:
- No new system dependencies
- Python packages:
requests(already in requirements.txt)
Database Setup:
- Run
download_jlcpcb_databasetool (one-time, ~5-10 minutes) - Database created at
data/jlcpcb_parts.db - Subsequent searches use local database (instant)
API Changes:
- All existing tools remain compatible
- 5 new JLCPCB tools available
- No breaking changes to existing functionality
Upgrading to 2.0.0-alpha from 1.0.0
Router Pattern:
- Some tools now accessed via
execute_toolinstead of direct calls - Use
list_tool_categoriesto discover available tools - Search with
search_toolsto find specific functionality
IPC Backend (Optional):
- Enable in KiCad: Preferences > Plugins > Enable IPC API Server
- Set
KICAD_BACKEND=ipcenvironment variable - Falls back to SWIG if unavailable
Credits
- JLCSearch API: @tscircuit
- JLCParts Database: @yaqwsx
- Local JLCPCB Search: @l3wi
- KiCad: KiCad Development Team
- MCP Protocol: Anthropic
License
See LICENSE file for details.