penpot/mcp/types-generator
Dominik Jain 880b9b61c4 🎉 Integrate mcp repository
Original repository: https://github.com/penpot/penpot-mcp
Imported commit: fcfa67e908fc54e23a3a3543dee432472dc90c5d
2026-02-04 12:22:36 +01:00
..
2026-02-04 12:22:36 +01:00
2026-02-04 12:22:36 +01:00
2026-02-04 12:22:36 +01:00
2026-02-04 12:22:36 +01:00
2026-02-04 12:22:36 +01:00
2026-02-04 12:22:36 +01:00

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.