mirror of
https://github.com/penpot/penpot.git
synced 2026-04-28 20:58:06 +00:00
Original repository: https://github.com/penpot/penpot-mcp Imported commit: fcfa67e908fc54e23a3a3543dee432472dc90c5d
Types Generator
This subproject contains helper scripts used in the development of the Penpot MCP server for generate the types yaml.
Setup
This project uses pixi for environment management (already included in devenv).
Install the environment via
pixi install
Scripts
Preparation of API Documentation for the MCP Server
The script prepare_api_docs.py reads API documentation from the Web
and collects it in a single yaml file, which is then used by an MCP
tool to provide API documentation to an LLM on demand.
Running the script:
pixi run python prepare_api_docs.py
This will generate ../mcp-server/data/api_types.yml.