other
Strapi MCP Integration for OpenAI Agents SDK
Connect Strapi to OpenAI Agents SDK through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect Strapi to OpenAI Agents SDK
Attach KosmoKrator integration tools to OpenAI Agents SDK workflows through a local MCP gateway.
Start the KosmoKrator MCP gateway locally and point the OpenAI Agents SDK MCP tool at that process or wrapper. The gateway is local, scoped to this integration, and starts with
--write=deny so OpenAI Agents can inspect read-capable tools without receiving write access by default.
Strapi MCP Config for OpenAI Agents SDK
Use headless JSON commands for CI-style execution and MCP for agent tool discovery.
{
"mcpServers": {
"kosmokrator-strapi": {
"type": "stdio",
"command": "kosmo",
"args": [
"mcp:serve",
"--integration=strapi",
"--write=deny"
]
}
}
} Run the Gateway Manually
kosmokrator mcp:serve --integration=strapi --write=deny Why Use KosmoKrator Here
Expose only Strapi instead of a broad multi-service tool list.
Reuse credentials already configured for the KosmoKrator CLI and Lua runtime.
Start read-only, then opt into ask or allow for trusted workspaces.
Strapi Tools Visible to OpenAI Agents
OpenAI Agents sees stable MCP tool names generated from the Strapi integration catalog.
| MCP tool | Source function | Type | Description |
|---|---|---|---|
integration__strapi__strapi_list_entries | strapi.strapi_list_entries | Read | List entries for a content type in Strapi. Supports pagination, sorting, and field population (relations, media, components). |
integration__strapi__strapi_get_entry | strapi.strapi_get_entry | Read | Get a single entry from Strapi by content type and ID. Supports population of relations and media. |
integration__strapi__strapi_create_entry | strapi.strapi_create_entry | Write | Create a new entry in Strapi for a given content type. The data is automatically wrapped in the required "data" envelope. |
integration__strapi__strapi_update_entry | strapi.strapi_update_entry | Write | Update an existing entry in Strapi by content type and ID. The data is automatically wrapped in the required "data" envelope. |
integration__strapi__strapi_delete_entry | strapi.strapi_delete_entry | Write | Delete an entry from Strapi by content type and ID. This action is permanent. |
integration__strapi__strapi_list_content_types | strapi.strapi_list_content_types | Read | List all content types defined in the Strapi Content-Type Builder. Returns API IDs, display names, and schema information. |
integration__strapi__strapi_get_current_user | strapi.strapi_get_current_user | Read | Get the currently authenticated Strapi user. Useful for verifying the API token and checking permissions. |