KosmoKrator

data

Storyblok MCP Integration for Generic MCP Clients

Connect Storyblok to Generic MCP Clients 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 Generic MCP Clients

Connect any stdio-compatible MCP client to local KosmoKrator integration tools.

Register kosmo mcp:serve as the command for a local stdio MCP server. The gateway is local, scoped to this integration, and starts with --write=deny so MCP clients can inspect read-capable tools without receiving write access by default.

Storyblok MCP Config for Generic MCP Clients

Start with read-only write policy and expand only for trusted projects.

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

MCP clients 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