Skip to content

Claude Desktop Configuration

This guide shows you how to connect BlokMCP to Claude Desktop - the easiest way to start managing your Storyblok content through conversation.

Overview

Claude Desktop is a free desktop application from Anthropic that supports the Model Context Protocol (MCP). By adding BlokMCP as an MCP server, you give Claude the ability to manage your Storyblok content.

What you'll need:

  • Claude Desktop installed (download here)
  • Your BlokMCP API key (from dashboard)
  • A text editor (Notepad, TextEdit, VS Code, etc.)

Step 1: Locate the Configuration File

The Claude Desktop configuration file location varies by operating system:

macOS

~/Library/Application Support/Claude/claude_desktop_config.json

How to get there:

  1. Open Finder
  2. Click Go in the menu bar → Go to Folder... (or press Cmd + Shift + G)
  3. Paste: ~/Library/Application Support/Claude/
  4. Find or create the file claude_desktop_config.json

Windows

%APPDATA%\Claude\claude_desktop_config.json

How to get there:

  1. Open File Explorer
  2. In the address bar, type %APPDATA%\Claude\
  3. Find or create the file claude_desktop_config.json

Linux

~/.config/Claude/claude_desktop_config.json

How to get there:

  1. Open your file manager
  2. Navigate to your home directory
  3. Show hidden files (usually Ctrl + H)
  4. Navigate to .config/Claude/
  5. Find or create the file claude_desktop_config.json

Note: If the file doesn't exist, create it. If the Claude directory doesn't exist, create that too.

Step 2: Edit the Configuration File

Open claude_desktop_config.json in your text editor.

If the file is empty or doesn't exist:

Copy and paste this entire configuration:

{
  "mcpServers": {
    "storyblok": {
      "url": "https://mcp.blokmcp.com",
      "headers": {
        "X-Api-Key": "sb_mcp_your_api_key_here"
      }
    }
  }
}

Important: Replace sb_mcp_your_api_key_here with your actual API key from the BlokMCP dashboard.

If the file already has MCP servers configured:

Add the BlokMCP configuration to your existing mcpServers object:

{
  "mcpServers": {
    "existing-server": {
      "url": "https://existing-server.com"
    },
    "storyblok": {
      "url": "https://mcp.blokmcp.com",
      "headers": {
        "X-Api-Key": "sb_mcp_your_api_key_here"
      }
    }
  }
}

Again, replace sb_mcp_your_api_key_here with your actual API key.

Step 3: Save and Restart Claude Desktop

  1. Save the configuration file
  2. Quit Claude Desktop completely
    • macOS: Cmd + Q or Claude → Quit Claude
    • Windows: File → Exit or close all windows
    • Linux: File → Quit
  3. Restart Claude Desktop

Step 4: Verify the Connection

After restarting Claude Desktop, verify that BlokMCP is connected:

  1. Look for the hammer/tool icon 🔨 in the text input area
  2. Click the icon to see available tools
  3. You should see BlokMCP tools like:
    • fetch_stories
    • get_story
    • fetch_components
    • fetch_assets
    • etc.

If you see these tools, congratulations! BlokMCP is successfully connected.

Step 5: Test Your Setup

Try a simple conversation to test the connection:

Show me my Storyblok space information

Or:

List my recent stories

Claude should respond with information from your Storyblok space.

Advanced Configuration

Multiple Storyblok Spaces

If you have multiple Storyblok spaces connected in your BlokMCP dashboard, you can specify which space to use:

{
  "mcpServers": {
    "storyblok": {
      "url": "https://mcp.blokmcp.com",
      "headers": {
        "X-Api-Key": "sb_mcp_your_api_key_here",
        "X-Storyblok-Space-Id": "123456"
      }
    }
  }
}

When to use this:

  • You have multiple spaces connected in BlokMCP
  • You want to always use a specific space (not the default)
  • You want to create separate Claude Desktop profiles for different spaces

How to find your Space ID:

  • BlokMCP Dashboard → Spaces → Click on your space
  • Or from your Storyblok URL: https://app.storyblok.com/#!/me/spaces/123456/...

If you don't specify a space ID, BlokMCP will use:

  1. Your default space (if set in the dashboard)
  2. Your only space (if you only have one)
  3. Ask you to specify which space to use

Alternative: Space Alias

You can also use the space alias instead of the numeric ID:

{
  "mcpServers": {
    "storyblok": {
      "url": "https://mcp.blokmcp.com",
      "headers": {
        "X-Api-Key": "sb_mcp_your_api_key_here",
        "X-Storyblok-Space-Alias": "my-production-blog"
      }
    }
  }
}

The alias is shown in your BlokMCP dashboard next to each space.

Troubleshooting

Tools Not Showing Up

Check these:

  1. Did you restart Claude Desktop after editing the config?
  2. Is the JSON syntax correct? (Use a JSON validator if unsure)
  3. Is your API key correct and not expired?
  4. Is the configuration file in the right location?

Common JSON errors:

  • Missing comma between entries
  • Missing quotes around keys or values
  • Trailing comma after last entry
  • Curly braces {} not properly closed

"Authentication Failed" Error

Possible causes:

  1. API key is incorrect or has typos
  2. API key was deleted or revoked in the dashboard
  3. API key doesn't have the format sb_mcp_...

Solution:

"Space Not Found" Error

Possible causes:

  1. Space ID in configuration doesn't match any connected space
  2. Space was disconnected in the BlokMCP dashboard
  3. Wrong space alias

Solution:

  • Remove the X-Storyblok-Space-Id or X-Storyblok-Space-Alias header to use your default space
  • Or verify the space ID/alias in your BlokMCP dashboard

Rate Limit Errors

If you see rate limit errors:

  1. Check your current plan limits in the dashboard
  2. Consider upgrading to a higher tier for more requests
  3. Spread out your requests over time

See Rate Limiting Guide for more details.

Configuration File Won't Save

macOS/Linux:

  • Make sure you have write permissions to the file
  • Try chmod 644 ~/Library/Application Support/Claude/claude_desktop_config.json

Windows:

  • Make sure the file isn't marked as read-only
  • Right-click → Properties → Uncheck "Read-only"

What's Next?

Now that Claude Desktop is connected to BlokMCP, you're ready to start managing your Storyblok content!

Your First Conversation →

Or jump straight to practical examples:

Conversation Starters →


BlokMCP logo
BlokMCP

Give your AI assistants safe, structured access to Storyblok so content teams can move faster.

Status

Operational insights

Monitor usage, limits, and connection health in your dashboard.

© 2026 BlokMCP. All rights reserved.

Built for teams who ship content with AI.