Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MCP_PORTNoPort for HTTP transport. Default: 3100.
NODE_ENVNoNode environment, e.g., 'production'.
LOG_LEVELNoLog verbosity (error/warn/info/debug or off). Default: info.
PYTHONPATHYesPath to KiCAD Python packages (platform-specific). Required to access the pcbnew module.
KICAD_PYTHONNoPath to the Python executable to use. Overrides auto-detection.
KICAD_BACKENDNoBackend selection: 'auto', 'ipc', or 'swig'. Default: auto.
KICAD_MCP_DEVNoSet to '1' to enable developer mode (saves MCP session logs to project logs/ folder on export_gerber and snapshot_project calls).
MCP_TRANSPORTNoTransport mode: set to 'http' or 'both' to enable the Streamable HTTP endpoint. Default is STDIO.
JLCPCB_API_KEYNoJLCPCB API key (requires enterprise account with order history). Optional for JLCPCB integration.
KICAD_MCP_TOKENNoDeployment secret for HTTP transport. Required when MCP_TRANSPORT is 'http' or 'both'.
JLCPCB_API_SECRETNoJLCPCB API secret (requires enterprise account with order history). Optional for JLCPCB integration.
KICAD_AUTO_LAUNCHNoSet to 'false' to prevent auto-launching the KiCAD UI. Default: true.
KICAD_MCP_LOG_LEVELNoOverrides LOG_LEVEL. Log verbosity (error/warn/info/debug or off).
KICAD_MCP_DEBUG_SKIPNoSet to '1' to re-enable the verbose kicad-skip parser DEBUG logs (muted by default).
KICAD_MCP_LOG_MAX_BYTESNoMax size per log file before it rotates. Default: 10485760 (10 MB). Set to '0' to disable rotation.
KICAD_MCP_LOG_BACKUP_COUNTNoNumber of rotated log backups to keep. Default: 3.
KICAD_INTERACTIVE_SCHEMATICNoSet to '1' to auto-confirm KiCad's reload dialog on Windows after schematic writes.

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

Maintenance

ActivityMaintained
ResponsivenessNo issues