Skip to main content
Glama
KiCAD MCP Server

KiCAD MCP Server

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
LOG_LEVELNoLog verbosity (error/warn/info/debug, or off). Default is info. KICAD_MCP_LOG_LEVEL takes precedence.info
PYTHONPATHNoPath 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_PYTHONNoPath 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_BACKENDNoKiCad 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_DEVNoSet 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_KEYNoJLCPCB Open Platform app key for live stock and tiered pricing via the official JLCPCB API (enterprise account required).
JLCPCB_API_SECRETNoJLCPCB Open Platform app secret for the official JLCPCB API (enterprise account required).
KICAD_MCP_LOG_LEVELNoLog verbosity (error/warn/info/debug, or off). Wins over LOG_LEVEL.info
KICAD_MCP_TOOLBOXESNoControls 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_SKIPNoSet to 1 to re-enable the verbose kicad-skip parser DEBUG logs (muted by default).
KICAD_GUI_DRIVER_ENABLENoSet 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_BYTESNoMax size per log file before it rotates; 0 disables rotation.10485760
KICAD_MCP_OPERATING_MODENoLimits 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_COUNTNoNumber of rotated log backups to keep.3
KICAD_INTERACTIVE_SCHEMATICNoSet to 1 to auto-confirm KiCad's reload dialog on Windows after schematic writes.
KICAD_MCP_COMMAND_TIMEOUT_MSNoMinimum 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

NameDescription

No tools

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources