KiCAD-MCP-Server
by mixelpixx
Overview
Enables AI assistants like Claude to interact with KiCAD for PCB design automation, providing comprehensive tool schemas and real-time project state access.
Installation
node dist/index.jsEnvironment Variables
- JLCPCB_API_KEY
- JLCPCB_API_SECRET
- KICAD_PYTHON
- PYTHONPATH
- LOG_LEVEL
Security Notes
The server uses `child_process.spawn` in TypeScript to invoke a Python script, and the Python backend then uses `subprocess.run` (or similar) to execute `kicad-cli` commands. Multiple tools (e.g., `export_gerber`, `export_pdf`, `run_drc`) pass user-supplied parameters (`outputDir`, `outputPath`, `reportPath`) to these shell commands. If these parameters are not rigorously sanitized and escaped before interpolation into the shell command string, this creates a potential for command injection vulnerabilities. For instance, providing a malicious path like `'my_output && rm -rf /'` could execute arbitrary commands on the host system. The code snippets provided do not explicitly show robust input sanitization for these shell executions.
Similar Servers
mcp-kubernetes
Enables AI assistants to interact with and debug Kubernetes clusters by translating natural language requests into Kubernetes operations.
Fusion-360-MCP-Server
Enables AI agents to control Autodesk Fusion 360 through its API, execute Python code directly within Fusion, and integrate with other Model Context Protocol (MCP) tools.
Autodesk-Fusion-360-MCP-Server
Integrates AI assistants with Autodesk Fusion 360 via the Model Context Protocol (MCP) to enable conversational CAD, AI-driven automation, and parametric control for 3D modeling.
freecad-addon-robust-mcp-server
Enables AI assistants to integrate with FreeCAD for assisted development and debugging of 3D models, macros, and workbenches, supporting various CAD operations and environment introspection.