Compatible with every major AI agent and IDE
What is the Cerbos (Access Control) MCP Server?
Connect your Cerbos instance to any AI agent to streamline authorization management and policy auditing through natural language.
What you can do
- Permission Checks — Use
check_resourcesto evaluate if a principal (user) has the rights to perform specific actions on resources. - Query Planning — Generate AST query plans with
plan_resourcesto filter database results based on complex authorization logic. - Policy Management — List, retrieve, add, or delete policies (RBAC/ABAC) using the Admin API tools like
list_policiesandadd_policy. - Schema & Auditing — Inspect resource schemas and review access logs with
list_auditLogsto ensure compliance. - Health & Metrics — Monitor your PDP (Policy Decision Point) status with
get_healthandget_metricsdirectly from the chat.
How it works
- Subscribe to this server
- Enter your Cerbos PDP URL and Admin credentials (if required for policy management)
- Start auditing and managing your access control logic from Claude, Cursor, or any MCP client
Who is this for?
- Security Engineers — quickly audit existing policies and verify permission logic without manual API calls
- Backend Developers — test authorization scenarios and generate database filter plans during development
- Compliance Officers — retrieve audit logs and policy definitions to ensure organizational security standards
Built-in capabilities (19)
Add a new policy
Add or update a schema
Perform a single AuthZEN access evaluation
Perform batch AuthZEN access evaluations
Check permissions for a set of resources
Delete a policy by ID
Disable a policy
Enable a policy
Get AuthZEN configuration metadata
Get Cerbos health status
Get Prometheus metrics from Cerbos
Get a specific policy by ID
Get a specific schema by ID
Get Cerbos server version and build information
List audit logs
List all policies
List all schemas
Produce a query plan (AST) for filtering resources
Update an existing policy
Why Vercel AI SDK?
The Vercel AI SDK gives every Cerbos (Access Control) tool full TypeScript type inference, IDE autocomplete, and compile-time error checking. Connect 19 tools through Vinkius and stream results progressively to React, Svelte, or Vue components. works on Edge Functions, Cloudflare Workers, and any Node.js runtime.
- —
TypeScript-first: every MCP tool gets full type inference, IDE autocomplete, and compile-time error checking out of the box
- —
Framework-agnostic core works with Next.js, Nuxt, SvelteKit, or any Node.js runtime. same Cerbos (Access Control) integration everywhere
- —
Built-in streaming UI primitives let you display Cerbos (Access Control) tool results progressively in React, Svelte, or Vue components
- —
Edge-compatible: the AI SDK runs on Vercel Edge Functions, Cloudflare Workers, and other edge runtimes for minimal latency
Cerbos (Access Control) in Vercel AI SDK
Cerbos (Access Control) and 4,000+ other MCP servers. One platform. One governance layer.
Teams that connect Cerbos (Access Control) to Vercel AI SDK through Vinkius don't need to source, host, or maintain individual MCP servers. Every tool call runs inside a hardened runtime with credential isolation, DLP, and a signed audit chain.
Raw MCP | Vinkius | |
|---|---|---|
| Server catalog | Find and host yourself | 4,000+ managed |
| Infrastructure | Self-hosted | Sandboxed V8 isolates |
| Credential handling | Plaintext in config | Vault + runtime injection |
| Data loss prevention | None | Configurable DLP policies |
| Kill switch | None | Global instant shutdown |
| Financial circuit breakers | None | Per-server limits + alerts |
| Audit trail | None | Ed25519 signed logs |
| SIEM log streaming | None | Splunk, Datadog, Webhook |
| Honeytokens | None | Canary alerts on leak |
| Custom domains | Not applicable | DNS challenge verified |
| GDPR compliance | Manual effort | Automated purge + export |
Why teams choose Vinkius for Cerbos (Access Control) in Vercel AI SDK
The Cerbos (Access Control) MCP Server runs on Vinkius-managed infrastructure inside AWS — a purpose-built runtime with per-request V8 isolates, Ed25519 signed audit chains, and sub-40ms cold starts. All 19 tools execute in hardened sandboxes optimized for native MCP execution.
Your AI agents in Vercel AI SDK only access the data you authorize, with DLP that blocks sensitive information from ever reaching the model, kill switch for instant shutdown, and up to 60% token savings. Enterprise-grade infrastructure, zero maintenance.

* Every MCP server runs on Vinkius-managed infrastructure inside AWS - a purpose-built runtime with per-request V8 isolates, Ed25519 signed audit chains, and sub-40ms cold starts optimized for native MCP execution. See our infrastructure
How Vinkius secures
Cerbos (Access Control) for Vercel AI SDK
Every tool call from Vercel AI SDK to the Cerbos (Access Control) MCP Server is protected by DLP redaction, cryptographic audit chains, V8 sandbox isolation, kill switch, and financial circuit breakers.
Frequently asked questions
Can I test if a specific user has access to a resource without writing code?
Yes. You can ask the agent to use the check_resources tool by providing the principal (user) details and the resource you want to check. The agent will return the allowed or denied status based on your Cerbos policies.
How do I view all the authorization policies currently loaded in my Cerbos server?
Simply ask the agent to 'list all policies'. It will invoke the list_policies tool (requires Admin credentials) and display the IDs of all active policies in your environment.
Can the AI help me generate filters for my database based on permissions?
Yes, by using the plan_resources tool. The agent will generate a query plan (AST) that describes the conditions under which a user is allowed to access resources, which you can then apply to your database queries.
How does the Vercel AI SDK connect to MCP servers?
Import createMCPClient from @ai-sdk/mcp and pass the server URL. The SDK discovers all tools and provides typed TypeScript interfaces for each one.
Can I use MCP tools in Edge Functions?
Yes. The AI SDK is fully edge-compatible. MCP connections work on Vercel Edge Functions, Cloudflare Workers, and similar runtimes.
Does it support streaming tool results?
Yes. The SDK provides streaming primitives like useChat and streamText that handle tool calls and display results progressively in the UI.
createMCPClient is not a function
Install: npm install @ai-sdk/mcp
Explore More MCP Servers
View all →
Nile (PostgreSQL for Multi-Tenant Apps)
6 toolsManage tenant-aware databases via Nile — provision B2B tenants, monitor DB metrics, and audit user access.

ElevenLabs Alternative
34 toolsGenerate lifelike speech, clone voices, and create sound effects using ElevenLabs' industry-leading AI audio technology.

Mustache Template Engine
1 toolsRender logic-less Mustache templates with JSON data — the universal spec implemented in 40+ languages. Same template works in JS, Python, Go, Ruby, Rust, and Java.

Couchbase (Vector & NoSQL)
7 toolsManage vector search and NoSQL via Couchbase — execute N1QL queries, perform KNN vector searches, and audit documents directly from any AI agent.
