MCP — editing your CMS from Claude
Every space exposes a Streamable HTTP MCP endpoint so agents can create components, write stories and manage datasources with role-scoped tokens.
Endpoint
POST /v1/mcp speaks Streamable HTTP from the official @modelcontextprotocol/sdk. Auth is a Bearer token with the mcp scope — different from a management token (sbmgmt_...). MCP tokens carry a role (admin / editor / viewer) that controls which tools appear in tools/list.
.mcp.json
{
"mcpServers": {
"osstblok": {
"type": "http",
"url": "https://your-osstblok.example/api/v1/mcp",
"headers": {
"Authorization": "Bearer sbmcp_xxxxxxxxxxxx"
}
}
}
}