We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/mixelpixx/KiCAD-MCP-Server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
project.cpython-312.pyc•8.57 KiB
�
p�h � �l � d Z ddlZddlZddlZddlmZmZmZ ej d� Z G d� d� Z
y)z=
Project-related command implementations for KiCAD interface
� N)�Dict�Any�Optional�kicad_interfacec �� � e Zd ZdZddeej fd�Zdee e
f dee e
f fd�Zdee e
f dee e
f fd�Zdee e
f dee e
f fd �Z
dee e
f dee e
f fd
�Zy)�ProjectCommandsz(Handles project-related KiCAD operationsN�boardc � � || _ y)z'Initialize with optional board instanceN)r )�selfr s �,c:\repo\KiCAD-MCP\python\commands\project.py�__init__zProjectCommands.__init__ s � ���
� �params�returnc �� � |j dd� }|j dt j � � }|j d� }t j j ||� }|j d� s|dz
}t j t j j |� d�� t j � }|j � j |� dd lm} |j � j d
� }|j � j |� |r�t j j! |� } t j j# | � rSt j$ | � }
|j'