MCP server

Let an AI assistant read, write, translate and publish content through the Model Context Protocol.

Endpoint: https://api.blokcms.app/mcp (Streamable HTTP). Authenticate with a personal access token: the assistant can do exactly what you can.

claude mcp add --transport http blokcms https://api.blokcms.app/mcp \
  --header "Authorization: Bearer blok_pat_…"

Tools

list_spaces, get_schemaDiscover spaces and their content model.
list_entries, get_entry, semantic_search, list_assetsRead content (drafts included).
import_assetAdd a file to the media library from a public https URL; a file the space already has comes back as that asset.
create_entry, update_entryWrite drafts. update_entry merges fields, or writes a locale's translations.
publish_entry, unpublish_entryGo live or offline.
translate_entryMachine translation into a locale (spaces with AI switched on).
list_redirects, create_redirect, delete_redirectOld paths that send visitors to a page (followed when it moves) or a URL, e.g. a previous site's addresses.
get_usageA space's plan limits, this month's usage (space and organization) and daily traffic.

Every change shows up in the space's activity feed and the entry's version history.