data
Storyblok MCP Integration for LangChain
Connect Storyblok to LangChain through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect Storyblok to LangChain
Bridge LangChain agents to local KosmoKrator integration tools through MCP or headless CLI calls.
Use the MCP gateway when the agent should discover tools, or wrap kosmo integrations:call for fixed chains. The gateway is local, scoped to this integration, and starts with
--write=deny so LangChain can inspect read-capable tools without receiving write access by default.
Storyblok MCP Config for LangChain
Keep the gateway scoped to the integration and operation class needed by the chain.
{
"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 LangChain
LangChain 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. |