Skip to main content
Glama
Storyblok MCP Server

Storyblok MCP Server

Official
by storyblok

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
STORYBLOK_PERSONAL_ACCESS_TOKENYesYour Storyblok Personal Access Token for authentication.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

Use the Storyblok Management API in three steps:

  1. Find the right operation: call search with a keyword to get matching operationIds and their behavior.

  2. Pick the execute tool by behavior: "readOnly" → execute_readonly | "destructive" → execute_destructive | "idempotent" or none → execute.

  3. Call the execute tool with the operationId and required parameters.

Key notes:

  • Most operations require a numeric space_id. Ask the user if you don't have it.

  • List operations support page and per_page for pagination; check pagination.total_pages in the response.

  • Use the fields parameter to limit large responses to only needed fields.

  • To upload files or images, use the dedicated upload_asset tool instead of execute.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
searchA

Search for available Storyblok API endpoints. Returns operations with their operationId, behavior, and available response fields.

Always use this first when you don't know which operation to call. Then pass the operationId to the matching execute tool based on the behavior field:

  • "readOnly" → execute_readonly

  • "destructive" → execute_destructive

  • "idempotent" or no behavior → execute

execute_readonlyA

Execute a read-only Storyblok API operation. Use for operations with behavior: 'readOnly' (e.g., listing stories, getting assets).

Operation IDs are not guessable — always call search first to get the exact operationId. Never assume or infer operation names.

List operations support pagination via page and per_page parameters (default: page=1, per_page=25, max per_page=1000). When paginating, the response includes a pagination object with total, page, per_page, and total_pages. Use this to determine if more pages exist and fetch them with subsequent calls.

executeA

Execute a mutating Storyblok API operation. Use for operations with behavior: 'idempotent' or no behavior hint (e.g., creating stories, updating stories, publishing, uploading assets).

Operation IDs are not guessable — always call search first to get the exact operationId. Never assume or infer operation names.

execute_destructiveA

Execute a destructive Storyblok API operation. Use for operations with behavior: 'destructive' (e.g., deleting stories, clearing trash). Data may be permanently lost.

Operation IDs are not guessable — always call search first to get the exact operationId. Never assume or infer operation names.

upload_assetB

Upload an asset to Storyblok in a single operation. Handles the Storyblok asset record creation, S3 file upload, and finalization automatically. Supports local file paths and HTTP/HTTPS URLs as source.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.9/5.0

Scored across 5 tools

Disambiguation3/5

The three execute tools are differentiated mainly by the behavior metadata returned by search, so an agent must carefully route operations to avoid misselection. There is also direct overlap between upload_asset and execute, whose description explicitly includes uploading assets.

Naming Consistency4/5

All names are snake_case and action-first, with execute_readonly and execute_destructive following a clear execute_{modifier} pattern. Minor deviations are that search lacks an object noun and the execute variants rely on suffixes rather than distinct resource names.

Tool Count5/5

Five tools is well-scoped for a dynamic API gateway: one discovery tool, three execution tiers by behavior, and one specialized upload tool. Each tool has a clear role in the overall search-then-execute workflow.

Completeness5/5

The search tool plus behavior-based execute tools provide full coverage of all Storyblok API operations, including read, mutate, and destructive actions. upload_asset covers the special multi-step asset upload flow, leaving no obvious dead ends.