17 Commits

Author SHA1 Message Date
Lama
15c83c921a nit 2025-03-20 10:33:50 -04:00
Lama
fc7bfbe64d update readme, add gitignore, update paths for drc history to include windows 2025-03-20 10:29:13 -04:00
Lama
50e94d245b add missing import 2025-03-20 10:08:35 -04:00
Lama
9a114bce7b Refactor server to use type-safe lifespan context management
Implement proper context management in the KiCad MCP server:

Add dedicated context.py with typed KiCadAppContext class
Convert tools to access context instead of parameters
Implement caching for thumbnails
Add proper cleanup of resources on shutdown
Improve error handling with cancellation support
2025-03-20 09:58:19 -04:00
Lama
5007d11579 update readme 2025-03-20 09:13:13 -04:00
Lama
f50a2ce1af Enhance PCB thumbnail generation with robust fallback methods
Implements a more reliable PCB thumbnail generation feature using two methods:
- Primary: pcbnew Python module for high-quality rendering
- Fallback: pcbnew_cli for environments without Python modules

Adds detailed progress reporting and comprehensive error handling.
Includes documentation in docs/thumbnail_guide.md.
2025-03-20 03:16:14 -04:00
Lama
b5b5835939 remove old simple mcp server 2025-03-20 03:04:02 -04:00
Lama
646dfe4589 update readme 2025-03-20 02:59:27 -04:00
Lama
27fe2336c1 update readme 2025-03-20 02:49:19 -04:00
Lama
5dd2dbe760 rename drc_resource.py to drc_resources.py and update readme 2025-03-20 02:47:45 -04:00
Lama
100f64186d Add Design Rule Check (DRC) functionality to KiCad MCP server
This commit implements comprehensive DRC support including:
- DRC check tool integration with both pcbnew Python module and CLI fallback
- Detailed DRC reports as resources with violation categorization
- Historical tracking of DRC results with visual trend analysis
- Comparison between current and previous DRC runs
- New prompt templates for fixing violations and custom design rules
- Full documentation in drc_guide.md

The DRC system helps users track their progress over time, focusing on the
most critical design rule violations as they improve their PCB designs.
2025-03-20 02:41:52 -04:00
Lama
b72918daa5 attempt to import pcbnew after adding it to the path 2025-03-20 02:29:08 -04:00
Lama
047f9f6af7 add logger + support for other operating systems (lower prio) 2025-03-20 02:25:49 -04:00
Lama
9fa890bf90 a lot 2025-03-20 02:01:30 -04:00
Lama
e4035bdcb1 create new dir structure 2025-03-20 01:47:29 -04:00
Lama
09ca184da6 initial commit 2025-03-20 00:59:09 -04:00
Lama Al Rajih
5148a39a3e
Initial commit 2025-03-20 00:47:00 -04:00