KosmoKrator

productivity

Modal MCP, CLI, and Lua Integration for AI Agents

Modal integration docs for AI agents: MCP gateway setup, Modal CLI commands, Lua API reference, credentials, and function schemas.

Modal for agents

Credentials can be configured manually in web or CLI hosts.

Use this integration from Lua code mode, the headless integrations CLI, or the KosmoKrator MCP gateway. The same package metadata powers all three surfaces.

Agent Surfaces

Machine-Readable Metadata

Function Catalog

FunctionTypeParametersDescription
modal.modal_list_apps Read read 0 List all Modal apps. Returns app IDs, names, and status details.
modal.modal_get_app Read read 1 Get details for a specific Modal app by ID, including status and metadata.
modal.modal_list_functions Read read 1 List all functions for a Modal app. Returns function IDs, names, and runtime details.
modal.modal_list_schedules Read read 1 List all scheduled functions for a Modal app. Returns schedule IDs, cron expressions, and function details.
modal.modal_list_volumes Read read 0 List all Modal volumes. Returns volume IDs, names, and size details.
modal.modal_list_secrets Read read 0 List all Modal secrets. Returns secret names and creation dates (values are not exposed).
modal.modal_get_current_user Read read 0 Get the current authenticated Modal user information, including name, email, and account details.