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.

7 functions 7 read 0 write API key auth

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.

Machine-Readable Metadata
integration_slug
modal
route_slug
modal
package
modal
auth_strategy
api_key API key
cli_setup_supported
true
cli_runtime_supported
true
mcp_gateway_supported
true
lua_supported
true
supports_multi_account
true

Quick Links

Modal MCP Client Matrix

Use these pages when a specific agent client or framework needs copy-pasteable MCP setup for Modal.

Modal CLI Matrix

Use these pages for direct Modal CLI workflows in scripts, CI, cron, and agent wrappers.

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.