KiCAD MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| LOG_LEVEL | No | Log verbosity (error/warn/info/debug, or off). Default is info. KICAD_MCP_LOG_LEVEL takes precedence. | info |
| PYTHONPATH | No | Path to KiCad's Python packages containing the pcbnew module (e.g. /usr/lib/kicad/lib/python3/dist-packages on Linux, C:\Program Files\KiCad\10.0\lib\python3\dist-packages on Windows, or the KiCad.app site-packages path on macOS). | |
| KICAD_PYTHON | No | Path to the Python interpreter to use, for non-standard KiCad installations. On Linux the server otherwise auto-detects a virtual environment, KiCad's bundled Python, or system python3. | |
| KICAD_BACKEND | No | KiCad backend preference: 'auto' tries IPC first and falls back to SWIG, 'ipc' requires the KiCad IPC API, 'swig' uses the file-based pcbnew backend. | |
| KICAD_MCP_DEV | No | Set to 1 to save the MCP session log into the project's logs/ folder on every export_gerber and snapshot_project call. The log contains full tool call history, including file paths and design details. | |
| JLCPCB_API_KEY | No | JLCPCB Open Platform app key for live stock and tiered pricing via the official JLCPCB API (enterprise account required). | |
| JLCPCB_API_SECRET | No | JLCPCB Open Platform app secret for the official JLCPCB API (enterprise account required). | |
| KICAD_MCP_LOG_LEVEL | No | Log verbosity (error/warn/info/debug, or off). Wins over LOG_LEVEL. | info |
| KICAD_MCP_TOOLBOXES | No | Controls which toolboxes (tool categories) are loaded. Not set or 'all' loads every tool; 'core' loads the 33 core tools plus search_tools and the toolbox controls (37 tools); a comma-separated list such as 'schematic,drc,routing' loads the core plus those toolboxes. | |
| KICAD_MCP_DEBUG_SKIP | No | Set to 1 to re-enable the verbose kicad-skip parser DEBUG logs (muted by default). | |
| KICAD_GUI_DRIVER_ENABLE | No | Set to 1 to enable the opt-in GUI driver helper. The helper is only installed by running install_gui_driver and listens on 127.0.0.1 with a per-session token. | |
| KICAD_MCP_LOG_MAX_BYTES | No | Max size per log file before it rotates; 0 disables rotation. | 10485760 |
| KICAD_MCP_OPERATING_MODE | No | Limits what the assistant can do. Not set or 'write' exposes every tool; 'readonly' exposes only tools that cannot change the design, project, libraries or KiCad settings; 'manufacturing' adds the export tools. Unrecognised values count as readonly. | |
| KICAD_MCP_LOG_BACKUP_COUNT | No | Number of rotated log backups to keep. | 3 |
| KICAD_INTERACTIVE_SCHEMATIC | No | Set to 1 to auto-confirm KiCad's reload dialog on Windows after schematic writes. | |
| KICAD_MCP_COMMAND_TIMEOUT_MS | No | Minimum time the server waits for any command, in milliseconds. Raises, never lowers, the built-in timeouts. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
No tools | |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |