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_schema | Discover spaces and their content model. |
list_entries, get_entry, semantic_search, list_assets | Read content (drafts included). |
import_asset | Add 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_entry | Write drafts. update_entry merges fields, or writes a locale's translations. |
publish_entry, unpublish_entry | Go live or offline. |
translate_entry | Machine translation into a locale (spaces with AI switched on). |
list_redirects, create_redirect, delete_redirect | Old paths that send visitors to a page (followed when it moves) or a URL, e.g. a previous site's addresses. |
get_usage | A 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.