data
Strapi MCP, CLI, and Lua Integration for AI Agents
Strapi integration docs for AI agents: MCP gateway setup, Strapi CLI commands, Lua API reference, credentials, and function schemas.Strapi 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
| Function | Type | Parameters | Description |
|---|---|---|---|
strapi.strapi_list_entries | Read read | 5 | List entries for a content type in Strapi. Supports pagination, sorting, and field population (relations, media, components). |
strapi.strapi_get_entry | Read read | 3 | Get a single entry from Strapi by content type and ID. Supports population of relations and media. |
strapi.strapi_create_entry | Write write | 2 | Create a new entry in Strapi for a given content type. The data is automatically wrapped in the required "data" envelope. |
strapi.strapi_update_entry | Write write | 3 | Update an existing entry in Strapi by content type and ID. The data is automatically wrapped in the required "data" envelope. |
strapi.strapi_delete_entry | Write write | 2 | Delete an entry from Strapi by content type and ID. This action is permanent. |
strapi.strapi_list_content_types | Read read | 0 | List all content types defined in the Strapi Content-Type Builder. Returns API IDs, display names, and schema information. |
strapi.strapi_get_current_user | Read read | 0 | Get the currently authenticated Strapi user. Useful for verifying the API token and checking permissions. |