data
Storyblok MCP Integration for Vercel AI SDK
Connect Storyblok to Vercel AI SDK through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect Storyblok to Vercel AI SDK
Use KosmoKrator as a local integration gateway for Vercel AI SDK agents and scripts.
Create an MCP client that starts or connects to the KosmoKrator gateway for the selected integration. The gateway is local, scoped to this integration, and starts with
--write=deny so Vercel AI SDK can inspect read-capable tools without receiving write access by default.
Storyblok MCP Config for Vercel AI SDK
Prefer CLI JSON calls when a workflow only needs one deterministic integration operation.
{
"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 Vercel AI SDK
Vercel AI SDK 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. |