A Model Context Protocol (MCP) implementation for Storyblok that allows you to manage components through natural language descriptions.
A Model Context Protocol (MCP) implementation for Storyblok that allows you to manage components through natural language descriptions.
Start the MCP server:
npm start
Create components by providing a description with display name and schema:
display:Component Name
schema:
field1 (text)
field2 (richtext)
field3 (asset)
field4 (multilink)
Update components by specifying their ID and new properties:
display:New Display Name
schema:
newField1 (text)
newField2 (richtext)
Run in development mode with auto-reload:
npm run dev
Run tests:
npm test
To use this MCP in Cursor, you need to configure it in your Cursor MCP settings:
{
"mcpServers": {
"Storyblok MCP": {
"command": "npx",
"args": [
"tsx",
"/path/to/your/storyblok-mcp/src/main.ts"
],
"env": {
"STORYBLOK_SPACE_ID": "your_space_id",
"STORYBLOK_API_KEY": "your_api_key"
}
}
}
}
Replace:
/path/to/your/storyblok-mcp
with the actual path where you cloned this repositoryyour_space_id
with your Storyblok space IDyour_api_key
with your Storyblok API keyAfter saving the configuration, restart Cursor for the changes to take effect. You can then use natural language commands to manage your Storyblok components directly from Cursor.
harlley/storyblok-mcp
March 28, 2025
May 23, 2025
TypeScript