Benefits with Ory + Cockroach Labs CockroachDB MCP Server
Use Cases
— 01 use caseAgent IAM
Reporting agents query at Read, backfill agents write rows at Write, row deletion is kept at Admin, and Block covers everyone else.
Core Functionality
— 04 capabilitiesRead, write, admin, or no access
Ory Agent Security classifies every tool on the CockroachDB MCP server as read, write, or admin, so you can give each user, team, or agent type only the level it needs: read for agents exploring schemas and cluster health, write for application agents that write rows, admin for database owners' agents, and no access for agents that shouldn't reach your clusters.
Enforced before execution
Ory Agent Security checks each tool call against the user, the agent acting for them, and any sub-agent inside the agent harness, so a denied delete stops before it reaches CockroachDB, with nothing to roll back and no gateway to deploy.
Observe, then enforce
Observe mode shows which agents run SQL and on whose behalf without blocking anything, so you can apply Ory's pre-built policy for the CockroachDB MCP server and enforce it on your own schedule.
Complete audit trail
Every allow and deny decision on the CockroachDB MCP server streams to your SIEM through OpenTelemetry with the user, agent, and action attached, so you can show which agent changed data and for which user.