data
Storyblok MCP Integration for OpenAI Agents SDK
Connect Storyblok to OpenAI Agents SDK through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect Storyblok 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.
Storyblok MCP Config for OpenAI Agents SDK
Use headless JSON commands for CI-style execution and MCP for agent tool discovery.
{
"mcpServers": {
"kosmokrator-storyblok": {
"type": "stdio",
"command": "kosmo",
"args": [
"mcp:serve",
"--integration=storyblok",
"--write=deny"
]
}
}
} Run the Gateway Manually
kosmokrator mcp:serve --integration=storyblok --write=deny Why Use KosmoKrator Here
Expose only Storyblok 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.
Storyblok Tools Visible to OpenAI Agents
OpenAI Agents sees stable MCP tool names generated from the Storyblok integration catalog.
| MCP tool | Source function | Type | Description |
|---|---|---|---|
integration__storyblok__storyblok_list_stories | storyblok.storyblok_list_stories | Read | List stories in the configured Storyblok space. Supports pagination, search, and sorting. |
integration__storyblok__storyblok_get_story | storyblok.storyblok_get_story | Read | Retrieve a single Storyblok story by its numeric ID, including full content. |
integration__storyblok__storyblok_create_story | storyblok.storyblok_create_story | Write | Create a new story in the configured Storyblok space. Requires a name, slug, and content object. |
integration__storyblok__storyblok_update_story | storyblok.storyblok_update_story | Write | Update an existing Storyblok story. Provide the story ID and the fields to update (e.g., content, name, slug). |
integration__storyblok__storyblok_delete_story | storyblok.storyblok_delete_story | Write | Delete a story from the configured Storyblok space by its numeric ID. This action is irreversible. |
integration__storyblok__storyblok_list_components | storyblok.storyblok_list_components | Read | List all component schemas defined in the configured Storyblok space. Useful for understanding available content structures. |
integration__storyblok__storyblok_get_current_user | storyblok.storyblok_get_current_user | Read | List all available Storyblok spaces for the authenticated user. Useful as a health check or to discover space IDs. |