Skip to main content
Glama

Storyblok MCP Server

create_access_token

Generate a new access token for Storyblok spaces via the Management API. Define access level, optional name, branch ID, story IDs, and minimum cache time. Retrieve the API response for token creation or error details.

Instructions

    Create a new access token in the current Storyblok space via the Management API.
    
    Request Body:
        access (str): The access level for the token (e.g., 'draft', 'published').
        name (Optional[str]): Optional name for the token.
        branch_id (Optional[int]): Optional branch ID to associate with the token.
        story_ids (Optional[List[int]]): Optional list of story IDs to restrict access.
        min_cache (Optional[int]): Optional minimum cache time in seconds.
    
    Returns:
        Any: The API response containing the created access token or an error message.
    

Input Schema

NameRequiredDescriptionDefault
accessYes
branch_idNo
min_cacheNo
nameNo
story_idsNo

Input Schema (JSON Schema)

{ "properties": { "access": { "title": "Access", "type": "string" }, "branch_id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "default": null, "title": "Branch Id" }, "min_cache": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "default": null, "title": "Min Cache" }, "name": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Name" }, "story_ids": { "anyOf": [ { "items": { "type": "integer" }, "type": "array" }, { "type": "null" } ], "default": null, "title": "Story Ids" } }, "required": [ "access" ], "title": "create_access_tokenArguments", "type": "object" }

Other Tools from Storyblok MCP Server

Related Tools

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Kiran1689/storyblok-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server