KosmoKrator

data

Storyblok MCP Integration for Claude Agent SDK

Connect Storyblok to Claude Agent SDK through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.

7 functions 4 read 3 write Bearer token auth

Connect Storyblok to Claude Agent SDK

Give Claude Agent SDK workflows access to KosmoKrator integrations through a local MCP server.

Add a KosmoKrator stdio MCP server to the Claude Agent SDK options. The gateway is local, scoped to this integration, and starts with --write=deny so Claude Agent SDK can inspect read-capable tools without receiving write access by default.

Storyblok MCP Config for Claude Agent SDK

Use a narrow integration list so the agent does not load unrelated tools.

{
  "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

Scoped tools

Expose only Storyblok instead of a broad multi-service tool list.

Local credentials

Reuse credentials already configured for the KosmoKrator CLI and Lua runtime.

Write policy

Start read-only, then opt into ask or allow for trusted workspaces.

Storyblok Tools Visible to Claude Agent SDK

Claude Agent SDK sees stable MCP tool names generated from the Storyblok integration catalog.

MCP toolSource functionTypeDescription
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.

Related Storyblok Pages