Storyblok MCP 服务器 标志

Storyblok MCP 服务器

社区
ArjunCodess

Connect AI tools to Storyblok instantly - use natural language to manage your CMS like magic.

发布者ArjunCodess
代码仓库storyblok-mcp
语言JavaScript
复刻数
9
星标数
9
可用工具
0
传输类型stdio
分类
许可协议MIT
链接
  • 将工具接入 AI 工作流

    Storyblok MCP 服务器 提供 MCP 功能,可供兼容的 AI 客户端和智能体使用。

  • 0 个可用工具

    浏览下方可调用的操作;如果服务器提供了名称和描述,也会一并显示。

  • 可直接复制的配置

    使用安装配置片段,在您首选的 MCP 客户端中配置此服务器。

  • 开源社区热度

    关联的代码仓库有 9 个星标和 9 个复刻。

Storyblok MCP Server

Connect AI tools to Storyblok instantly - use natural language to manage your CMS like magic.

Demo


Table of Contents


Why This Project?

Built for the Storyblok Headless CMS Challenge on DEV.to.

The goal: push AI and Storyblok's power together, make something fresh and useful.


What is Storyblok?

Storyblok is a powerful headless CMS. API-first. Easy for devs and content creators to work together.

It's modular, super flexible, and fits with any frontend or workflow you want.


What's an MCP Server?

MCP = a protocol that connects AI, tools, and data.

The MCP server acts as a middleman, showing AI what it can do and what data it has.

This enables AI clients, such as Cursor or Claude Desktop, to interact with Storyblok through natural language and manage content smoothly.


Challenges I Faced

  • Built for myself (lol): Never made or installed an MCP before. Took way longer than I thought.

  • API stress: Kept checking Storyblok's API docs again and again. Scared I'd miss something.

  • AI stuff pressure: Trying to get AI features right without breaking things was a headache.

  • Security: Had to make sure no sensitive info leaks while exposing Storyblok management.

  • Developer experience: Made the server easy to run, extend, and plug into AI tools. No shortcuts.


How to Set Up (For Contributors)

  1. Clone the repo:

    sh
    git clone https://github.com/ArjunCodess/storyblok-mcp.git
    cd storyblok-mcp
  2. Install dependencies:

    sh
    pnpm install
  3. Run the server:

    sh
    pnpm start

How to Use (For Users)

Clone the repo:

sh
git clone https://github.com/ArjunCodess/storyblok-mcp.git
cd storyblok-mcp

Connect with Cursor

https://github.com/user-attachments/assets/98b77544-81c4-49b3-8dc2-14849e6ba7e5

  • Open Cursor in the same directory.
  • Right click on build/index.js file and click Copy Path.
  • Now, go to Settings → MCP Tools.
  • Click on New MCP Server
  • Inside the opened mcp.json file. Paste this and replace PATH_YOU_COPIED with the path copied in the second step:
    json
    {
      "mcpServers": {
        "storyblok": {
          "command": "node PATH_YOU_COPIED",
          "env": {
            "STORYBLOK_SPACE_ID": "your_space_id",
            "STORYBLOK_MANAGEMENT_TOKEN": "your_management_token",
            "STORYBLOK_DEFAULT_PUBLIC_TOKEN": "your_public_token",
            "GOOGLE_GENERATIVE_AI_API_KEY": "your_gemini_ai_api_key"
          }
        }
      }
    }

Tools

  • fetch_stories
    Retrieve a list of stories (pages, folders, or content entries) from Storyblok. Supports filtering, pagination, and search.

  • get_story
    Fetch a single story by its ID.

  • create_story
    Create a new story (page, folder, or content entry) in Storyblok.

  • update_story
    Update an existing story's content, name, slug, or tags.

  • delete_story
    Delete a story by its ID.

  • publish_story
    Publish a story, making it live.

  • unpublish_story
    Unpublish a story, removing it from the live site.

  • get_story_versions
    Retrieve all previous versions of a story for version history and rollback.

  • restore_story
    Restore a story to a previous version.

  • import_story
    Import a story, optionally specifying language code and whether to import language settings.

  • fetch_tags
    List all tags used in the space.

  • create_tag
    Create a new tag.

  • create_tag_and_add_to_story
    Create a tag and immediately assign it to a story.

  • delete_tag
    Delete a tag by its ID.

  • fetch_webhooks
    List all webhooks registered in the space.

  • get_webhook
    Fetch a single webhook by its ID.

  • create_webhook
    Create a new webhook that will trigger on specified Storyblok events.

  • update_webhook
    Update an existing webhook's endpoint, events, or other properties.

  • delete_webhook
    Delete a webhook by its ID.

  • fetch_releases
    List all releases (content batches for scheduled publishing).

  • create_release
    Create a new release.

  • update_release
    Update an existing release's properties including name, release time and notification settings.

  • add_story_to_release
    Add a story to a release.

  • publish_release
    Publish all stories in a release.

  • delete_release
    Delete a release.

  • fetch_presets
    List all component presets in the space. Supports pagination.

  • get_preset
    Fetch a single preset by its ID.

  • create_preset
    Create a new preset with default values for a component.

  • update_preset
    Update an existing preset's content, name, or appearance settings.

  • delete_preset
    Delete a preset by its ID.

  • fetch_story_schedulings
    Retrieve a list of story scheduling objects (scheduled publishings) for stories. Supports filtering, pagination, and search.

  • get_story_scheduling
    Fetch a single story scheduling object by its ID.

  • create_story_scheduling
    Schedule a story to be published at a specific date and time.

  • update_story_scheduling
    Update an existing story scheduling (e.g., change publish time or language).

  • delete_story_scheduling
    Delete a story scheduling by its ID.

  • fetch_access_tokens
    Retrieve all access tokens (API keys) for the current space.

  • get_access_token
    Fetch a single access token by its ID.

  • create_access_token
    Create a new access token (API key) for the space. Supports public/private, name, min_cache, story_ids, and branch_id.

  • update_access_token
    Update an existing access token's properties (type, name, min_cache, story_ids, branch_id).

  • delete_access_token
    Delete an access token by its ID.

  • fetch_assets
    List all assets (images, files, etc.) in the space.

  • get_asset
    Fetch a single asset by its ID.

  • delete_asset
    Delete an asset.

  • init_asset_upload
    Start uploading a new asset.

  • complete_asset_upload
    Complete the asset upload process.

  • fetch_asset_folders
    List all asset folders.

  • create_asset_folder
    Create a new asset folder.

  • update_asset_folder
    Rename an asset folder.

  • delete_asset_folder
    Delete an asset folder.

  • fetch_components
    List all components (content types) in the space.

  • get_component
    Fetch a single component by its ID.

  • create_component
    Create a new component.

  • update_component
    Update a component's schema or settings.

  • delete_component
    Delete a component.

  • search_stories
    Search for stories using advanced filters (by slug, tag, etc.).

  • get_story_by_slug
    Fetch a story by its slug.

  • fetch_folders
    List all story folders.
  • fetch_datasources
    List all datasources (for dynamic select fields, etc.).

  • get_datasource
    Get a single datasource by its ID.

  • create_datasource
    Create a new datasource with optional dimensions.

  • update_datasource
    Update an existing datasource (name, slug, dimensions).

  • delete_datasource
    Delete a datasource by its ID.

  • fetch_datasource_entries
    List all entries (key-value pairs) for a datasource.

  • get_datasource_entry
    Fetch a single datasource entry.

  • create_datasource_entry
    Create a new entry in a datasource with optional dimension values.

  • update_datasource_entry
    Update an existing datasource entry.

  • delete_datasource_entry
    Delete a datasource entry by its ID.

  • ping
    Check if the server and Storyblok API are reachable.
  • fetch_component_folders
    List all component folders in the space.

  • get_component_folder
    Fetch a single component folder by its ID.

  • create_component_folder
    Create a new component folder with optional parent ID.

  • update_component_folder
    Update an existing component folder's name or parent ID.

  • delete_component_folder
    Delete a component folder by its ID.

  • fetch_space_roles
    List all space roles in your Storyblok space.

  • get_space_role
    Fetch a single space role by its ID.

  • create_space_role
    Create a new space role with custom permissions settings.

  • update_space_role
    Update an existing space role's permissions and settings.

  • delete_space_role
    Delete a space role by its ID.

  • fetch_spaces
    List all spaces accessible to your account. Supports pagination.

  • get_space
    Get information about the current Storyblok space.

  • create_space
    Create a new space with optional configuration for billing, environments, and custom options.

  • update_space
    Update an existing space's settings including name, domain, hooks, and configuration options.

  • delete_space
    Delete a space by its ID.

  • duplicate_space
    Create a copy of an existing space with options to duplicate content and components.

  • backup_space
    Trigger a backup for a space.

  • generate_alt_text
    Automatically create alt text for images based on content or context.

  • translate_story
    Translate the content of a story into different languages using AI.

  • generate_meta_tags
    Generate SEO-friendly meta titles and descriptions for any story.

  • summarize_story
    Get a brief AI-generated summary of a story's content.

  • tag_story_with_ai
    Auto-generate relevant tags for a story using natural language processing.

  • fetch_workflows
    List all workflows in the space with optional pagination.

  • get_workflow
    Fetch a single workflow by its ID.

  • create_workflow
    Create a new workflow with name and associated content types.

  • update_workflow
    Update an existing workflow's name or content types.

  • duplicate_workflow
    Create a duplicate of an existing workflow with a new name and content types.

  • delete_workflow
    Delete a workflow by its ID.

  • fetch_workflow_stages
    List all workflow stages defined in the space.

  • get_workflow_stage
    Fetch a single workflow stage by its ID.

  • create_workflow_stage
    Create a new workflow stage with permissions and settings.

  • update_workflow_stage
    Update an existing workflow stage's permissions, name, color, or position.

  • delete_workflow_stage
    Delete a workflow stage by its ID.

  • fetch_workflow_stage_changes
    List all workflow stage changes with option to filter by story ID.

  • get_workflow_stage_change
    Fetch a single workflow stage change by its ID.

  • create_workflow_stage_change
    Create a new workflow stage change by assigning a story to a specific workflow stage.

  • fetch_branches
    List all pipeline branches in the space. Supports pagination.

  • get_branch
    Fetch a single branch by its ID.

  • create_branch
    Create a new branch with options for name, source branch, URL, and position.

  • update_branch
    Update an existing branch's properties like name, source, URL, or position.

  • delete_branch
    Delete a branch by its ID.

  • deploy_branch
    Manually trigger a deployment of a branch.

  • get_branch_stories
    List all stories within a specific branch. Supports filtering and pagination.

  • compare_branches
    Compare content between two branches to see differences.

  • copy_stories_between_branches
    Copy stories from one branch to another.

  • fetch_branch_deployments
    List all branch deployments in the space. Supports pagination.

  • create_branch_deployment
    Create a new branch deployment with required branch ID and optional release UUIDs. Requires the Pipelines application to be installed.

  • get_branch_deployment
    Fetch a single branch deployment by its ID.


How to Contribute

Fork, make changes, open PRs. Found bugs or want features? Open an issue.


Useful Links


Thanks

Made with ❤️ for the DEV.to Storyblok Challenge.


License

MIT

安装

TypingMind
前提条件:

Node.js 18+

{
  "mcpServers": {
    "arjuncodess-storyblok-mcp": {
      "command": "",
      "args": []
    }
  }
}

将 Storyblok MCP 服务器 MCP 与多个 AI 模型配合使用

TypingMind 在工作区级别连接 MCP 工具,因此连接 Storyblok MCP 服务器 后,您就可以在 TypingMind 中搭配不同的 AI 模型使用,无需为每个模型单独设置。 此 MCP 通过您设备上的 TypingMind MCP 连接器在本地运行。

本地连接器设置指南

如果 MCP 服务器需要访问您电脑上的本地文件、应用或私有资源,请选择此方式。

1

打开 MCP 设置

在 TypingMind 中,依次前往“设置”、“高级设置”和“模型上下文协议”,然后选择“设置连接器”。

  1. 在您的浏览器中打开 TypingMind。
  2. 点击“设置”图标。
  3. 进入“高级设置”。
  4. 打开“模型上下文协议”部分。
  5. 点击“设置连接器”,然后选择“此设备”。
TypingMind MCP 连接器设置界面,已选择“此设备”
2

运行连接器命令

选择“此设备”,从 TypingMind 复制命令并在终端中运行。使用 MCP 时,请保持该进程运行。

  1. 复制 TypingMind 显示的设置命令。
  2. 在 macOS 上打开“终端”,或在 Windows 上打开 Windows Terminal。
  3. 粘贴并运行命令。
  4. 如果终端询问您是否继续,请确认安装软件包。
  5. 使用 MCP 工具时,请勿关闭终端窗口或停止其中的连接器进程。
3

将 Storyblok MCP 服务器 添加为服务器

当连接器状态为“就绪”时,点击“编辑服务器”,然后粘贴 MCP 服务器配置。

  1. 等待连接器状态显示为“就绪”。
  2. 点击“编辑服务器”。
  3. 粘贴 Storyblok MCP 服务器 MCP 服务器配置。
  4. 保存服务器列表。
  5. 如需确认连接器是否仍处于就绪状态,请刷新。
TypingMind MCP 设置界面,显示正在运行的服务器和“编辑服务器”按钮
{
  "mcpServers": {
    "arjuncodess-storyblok-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "storyblok-mcp"
      ]
    }
  }
}
4

在不同模型中使用同一连接

保存服务器列表,打开“插件”,启用 Storyblok MCP 服务器 MCP 工具,然后在 TypingMind 中选择任意受支持的 AI 模型,即可在聊天中使用这些工具,或将其分配给智能体。

  1. 在 TypingMind 中打开“插件”页面。
  2. 启用 Storyblok MCP 服务器 MCP 工具。
  3. 开始聊天并选择您想使用的 AI 模型。
  4. 在聊天中使用 MCP 工具,或将其分配给 AI 智能体。
  5. 根据需要随时切换到其他 AI 模型,无需重新连接 MCP。
在 TypingMind 聊天中使用已启用的 MCP 工具和选定的 AI 模型
您能使用 Storyblok MCP 服务器 帮我完成这项任务吗?
Storyblok MCP 服务器
当然,我看过了。
以下是我使用 Storyblok MCP 服务器 得到的结果。

常见问题

Storyblok MCP 服务器 MCP 服务器有什么用途?

Storyblok MCP 服务器 是一个 MCP 服务器,可让兼容的 AI 客户端连接外部工具并获取上下文。在 TypingMind 中,只需添加一次此 MCP 服务器,即可在您的 AI 工作区中使用其工具。

可以在 TypingMind 中让多个 AI 模型使用 Storyblok MCP 服务器 MCP 吗?

可以。TypingMind 在工作区层面连接 MCP 工具,因此您无需为每个模型单独配置 MCP 服务器,就能在 Claude、ChatGPT、Gemini 或您在 TypingMind 中配置的其他 AI 模型中使用 Storyblok MCP 服务器。

为什么在 TypingMind 中使用 Storyblok MCP 服务器 MCP?

TypingMind 将多个 AI 模型、提示词、插件、AI 智能体、API 密钥和 MCP 工具整合到同一个工作区中,是最出色的大语言模型聊天前端之一。连接 Storyblok MCP 服务器 后,您可以在偏好的不同模型中使用其 MCP 工具,同时在 TypingMind 中井然有序地管理聊天工作流程。

如何将 Storyblok MCP 服务器 MCP 连接到 TypingMind?

Storyblok MCP 服务器 通过 TypingMind 本地 MCP 连接器运行。当 MCP 服务器需要访问您计算机上的本地文件、桌面应用、命令行工具或私有资源时,这种方式最合适。

Storyblok MCP 服务器 MCP 在 TypingMind 中提供哪些工具?

Storyblok MCP 服务器 提供 MCP 功能,您可以在 TypingMind 的插件页面启用这些功能,然后在聊天中使用,或将其分配给 AI 智能体。

使用 Storyblok MCP 服务器 MCP 需要向 TypingMind 提供我的 API 密钥吗?

不需要。TypingMind 采用本地优先的设计,让您自行选择模型提供商,并自行管理 API 密钥、提示词和 MCP 配置。如果 Storyblok MCP 服务器 需要身份验证,请在创建连接时,为该 MCP 服务器添加所需的请求头、OAuth 设置或本地配置。

相关 MCP 服务器

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇