Skip to content

Authentication Overview

BlokMCP uses API key-based authentication with multi-tenant isolation and secure token management.

Authentication Flow

  1. Request Validation
    • Client includes API key in request header
    • Server validates key format and authenticity
  2. Organization Context
    • Loads organization details and subscription tier
    • Checks rate limits and usage quotas
    • Validates account status
  3. Token Resolution
    • Retrieves encrypted Storyblok credentials
    • Decrypts tokens for the request
    • Determines which Storyblok space to use
  4. Request Authorization
    • Verifies permissions for requested operation
    • Tracks usage for billing
    • Logs request for audit trail

Security Features

  • Secure Key Storage: API keys are hashed using industry-standard algorithms
  • Token Encryption: Storyblok tokens encrypted at rest
  • Multi-Tenant Isolation: Database-level security ensures data separation
  • Rate Limiting: Per-organization limits based on subscription tier
  • Audit Logging: All requests logged for security and compliance

Space Selection

When multiple Storyblok spaces are connected:

  • Use X-Storyblok-Space-Id header to specify space
  • Falls back to default space if set
  • Single-space organizations auto-select

Error Responses

Authentication errors return appropriate HTTP status codes with descriptive messages:

  • Invalid API key
  • Rate limit exceeded
  • Subscription expired
  • Insufficient permissions
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.