KosmoKrator

productivity

Caddy MCP, CLI, and Lua Integration for AI Agents

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

Caddy 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
caddy.caddy_list_sites Read read 2 List all Caddy sites. Returns site IDs, domain names, status, and configuration details.
caddy.caddy_get_site Read read 1 Get detailed information about a specific Caddy site, including its configuration, domain, and status.
caddy.caddy_create_site Write write 2 Create a new site in Caddy. Specify the domain name and optional configuration parameters.
caddy.caddy_delete_site Write write 1 Delete a site from Caddy. This action is irreversible and will remove the site and its configuration.
caddy.caddy_list_certificates Read read 2 List all TLS certificates managed by Caddy. Returns certificate IDs, domains, expiry dates, and status.
caddy.caddy_get_certificate Read read 1 Get detailed information about a specific TLS certificate, including domain, issuer, validity, and SANs.
caddy.caddy_get_current_user Read read 0 Get details of the currently authenticated Caddy user. Returns user ID, email, username, and account info.