Connect Claude to Sovrium over MCP
You want Claude (Desktop, Code, or any MCP client) to read and act on a Sovrium app's tables, automations, and actions — securely, over the Model Context Protocol.
Enable the MCP server
It is off by default. Turn it on and mint a role-scoped bearer token:
export MCP_ENABLED=true
export MCP_TRANSPORT=streamable-http
export MCP_AUTH_STRATEGY=token
export MCP_TOKEN_ADMIN="$(openssl rand -hex 32)"
sovrium start app.ts
The server mounts one JSON-RPC endpoint at /mcp. The connecting token's role drives RBAC — hand out a viewer token and the client only ever sees read tools.
Point Claude at it
Add an entry to your client's mcpServers config (the token goes in an Authorization: Bearer header per your client's setup):
{
"mcpServers": {
"my-app": { "url": "https://your-app.example.com/mcp", "transport": "http" }
}
}
Verify
Ask Claude to list your app's tables — it calls the MCP tools and returns live data.
Next
- MCP Integration — every token, transport, and tool the server exposes.
- Auth & RBAC — the roles a token maps to.
Last updated July 21, 2026
This documentation was written with Claude Fable 5 (Anthropic), so errors or outdated content are possible. Sovrium is in beta — contributions and corrections are welcome.