loading…
Search for a command to run...
loading…
A Storyblok MCP Server built on TypeScript with more than 130+ Actions
A Storyblok MCP Server built on TypeScript with more than 130+ Actions
License: MIT Node.js MCP TypeScript
A TypeScript Model Context Protocol server for the Storyblok Management API. It lets AI assistants and agents manage Storyblok content, workflows, and configuration safely and programmatically.
Storyblok is powerful, but repetitive content operations and release workflows can be time-consuming. This server bridges MCP-compatible assistants with Storyblok so teams can:
Prompt
Find all stories updated in the last 7 days and tag them as "reviewed".
Response (example)
Found 12 stories updated since 2025-12-28.
Applied tag "reviewed" to 12 stories.
# Clone the repository
git clone https://github.com/hypescale/storyblok-mcp-server.git
cd storyblok-mcp-server
# Install dependencies
npm install
# Build
npm run build
Create a .env file from the example and fill in your credentials:
cp .env.example .env
Then start the server:
npm run start
The server requires three environment variables (see .env.example):
STORYBLOK_SPACE_ID=your_space_id
STORYBLOK_MANAGEMENT_TOKEN=your_management_token
STORYBLOK_DEFAULT_PUBLIC_TOKEN=your_public_token
What they are used for:
| Variable | Description |
|---|---|
STORYBLOK_SPACE_ID |
Your numeric Storyblok space ID |
STORYBLOK_MANAGEMENT_TOKEN |
Management API token with appropriate permissions |
STORYBLOK_DEFAULT_PUBLIC_TOKEN |
Public/Preview token for content delivery |
Tip: Use the smallest permission set possible for safety.
This server is designed to work with any MCP-compatible client. Here are ready-to-copy configs for popular tools.
Add to your claude_desktop_config.json:
{
"mcpServers": {
"storyblok": {
"command": "node",
"args": ["/path/to/storyblok-mcp-server/dist/index.js"],
"env": {
"STORYBLOK_SPACE_ID": "your_space_id",
"STORYBLOK_MANAGEMENT_TOKEN": "your_management_token",
"STORYBLOK_DEFAULT_PUBLIC_TOKEN": "your_public_token"
}
}
}
}
Codex supports MCP servers via CLI or by editing ~/.codex/config.toml. The CLI and IDE extension share the same config.
Option A: Configure with the Codex CLI
codex mcp add storyblok \
--env STORYBLOK_SPACE_ID=your_space_id \
--env STORYBLOK_MANAGEMENT_TOKEN=your_management_token \
--env STORYBLOK_DEFAULT_PUBLIC_TOKEN=your_public_token \
-- node /path/to/storyblok-mcp-server/dist/index.js
Option B: Configure with ~/.codex/config.toml
[mcp_servers.storyblok]
command = "node"
args = ["/path/to/storyblok-mcp-server/dist/index.js"]
[mcp_servers.storyblok.env]
STORYBLOK_SPACE_ID = "your_space_id"
STORYBLOK_MANAGEMENT_TOKEN = "your_management_token"
STORYBLOK_DEFAULT_PUBLIC_TOKEN = "your_public_token"
Create a project config at .cursor/mcp.json (or use the global config at ~/.cursor/mcp.json):
{
"mcpServers": {
"storyblok": {
"command": "node",
"args": ["/path/to/storyblok-mcp-server/dist/index.js"],
"env": {
"STORYBLOK_SPACE_ID": "your_space_id",
"STORYBLOK_MANAGEMENT_TOKEN": "your_management_token",
"STORYBLOK_DEFAULT_PUBLIC_TOKEN": "your_public_token"
}
}
}
}
Create ~/.codeium/mcp_config.json:
{
"mcpServers": {
"storyblok": {
"command": "node",
"args": ["/path/to/storyblok-mcp-server/dist/index.js"],
"env": {
"STORYBLOK_SPACE_ID": "your_space_id",
"STORYBLOK_MANAGEMENT_TOKEN": "your_management_token",
"STORYBLOK_DEFAULT_PUBLIC_TOKEN": "your_public_token"
}
}
}
}
Create .vscode/mcp.json in your workspace:
{
"servers": {
"storyblok": {
"type": "stdio",
"command": "node",
"args": ["/path/to/storyblok-mcp-server/dist/index.js"],
"env": {
"STORYBLOK_SPACE_ID": "your_space_id",
"STORYBLOK_MANAGEMENT_TOKEN": "your_management_token",
"STORYBLOK_DEFAULT_PUBLIC_TOKEN": "your_public_token"
}
}
}
}
Create a YAML config at .continue/mcpServers/storyblok.yaml:
name: Storyblok MCP
version: 1.0.0
schema: v1
mcpServers:
- name: storyblok
command: node
args:
- /path/to/storyblok-mcp-server/dist/index.js
env:
STORYBLOK_SPACE_ID: your_space_id
STORYBLOK_MANAGEMENT_TOKEN: your_management_token
STORYBLOK_DEFAULT_PUBLIC_TOKEN: your_public_token
Open Cline settings and use "Configure MCP Servers" to open cline_mcp_settings.json, then add:
{
"mcpServers": {
"storyblok": {
"command": "node",
"args": ["/path/to/storyblok-mcp-server/dist/index.js"],
"env": {
"STORYBLOK_SPACE_ID": "your_space_id",
"STORYBLOK_MANAGEMENT_TOKEN": "your_management_token",
"STORYBLOK_DEFAULT_PUBLIC_TOKEN": "your_public_token"
}
}
}
}
The tool surface mirrors Storyblok's Management API. Total tool count and modules are defined in src/tools/index.ts.
| Module | Tools | Description |
|---|---|---|
| Stories | 18 | CRUD, bulk operations, publishing, versioning |
| Components | 9 | Schema management, versioning, usage tracking |
| Assets | 9 | Upload, organize, bulk operations |
| Workflows | 6 | Workflow management and stages |
| Releases | 5 | Release scheduling and deployment |
| Datasources | 5 | Key-value data management |
| Tags | 5 | Content tagging and organization |
| Webhooks | 5 | Event notifications |
| Collaborators | 4 | Team management |
| Space Roles | 5 | Permissions and access control |
| ... | ... | And 20+ more modules |
Use these prompts in your MCP client to see quick wins:
# Run in development mode with hot reload
npm run dev
# Type check
npm run typecheck
# Build for production
npm run build
src/index.ts - MCP server entry pointsrc/tools/* - Tool modules mapped to Storyblok API areassrc/types/* - Shared API and Storyblok typessrc/utils/* - HTTP helpers and response formattingsrc/config.ts - Environment configuration and validationConfigError: STORYBLOK_* is missing - ensure .env is present and filled out.401 Unauthorized - verify the Management and Public/Preview tokens.404 Not Found - double-check the STORYBLOK_SPACE_ID.When you're ready to cut a release:
package.json version (semantic versioning recommended).README.md if behavior or setup changed.This keeps the project easy to consume for open source users and downstream tools.
.env files or tokens to git.Issues and PRs are welcome. If you're planning a large change, open an issue first so we can align on scope and direction.
MIT
Built by hypescale | Maintained by Martin Kogut
Добавь это в claude_desktop_config.json и перезапусти Claude Desktop.
{
"mcpServers": {
"storyblok-mcp-server": {
"command": "npx",
"args": []
}
}
}