Convex for AI agents
Convex is a backend-as-a-service platform with a real-time database and serverless functions, letting developers ship an app backend without managing infrastructure. Connect it once through Arc0, and your agent, or Claude, ChatGPT and Cursor, can use it through one MCP endpoint, limited to what each user approved.
What agents do in Convex.
Check a deployment's details
Check a deployment's details before deciding whether to update or redeploy it.
List a project's deployments
List the deployments under a project to see which environment is active.
Confirm before deleting a deployment
Confirm before deleting a deployment, since its data and functions are removed with it.
19 Convex actions, graded by risk.
Every Convex action is tagged read, write or destructive, so one policy covers the whole app and new actions inherit the right default.
read
11Look things up. Allowed by default.
- convex.list_projectsList Projects
- convex.get_deploymentGet Deployment Details
- convex.list_deploy_keysList Deploy Keys
- convex.list_deploymentsList Deployments
- convex.list_log_streamsList Log Streams
- convex.get_project_by_idGet Project by ID
- convex.get_token_detailsGet token details
- convex.get_project_by_slugGet Project by Slug
- convex.get_query_timestampGet Query Timestamp
- convex.list_deployment_classesList deployment classes
- convex.list_deployment_regionsList deployment regions
write
5Create and change things. Allow, or ask the user first.
- convex.create_projectCreate Project
- convex.create_deploy_keyCreate deploy key
- convex.create_deploymentCreate Deployment
- convex.update_deploymentUpdate Deployment
- convex.execute_query_batchExecute Query Batch
destructive
3Delete, cancel or archive. Ask first, or deny outright.
- convex.delete_projectDelete project
- convex.delete_deploymentDelete Deployment
- convex.delete_custom_domainDelete Custom Domain
Convex in three steps.
- 01Your users connect ConvexThey add their Convex api key on Arc0 Connect, under your brand. It goes straight into the vault.
- 02You set the rulesReads run, writes like “create Project” can wait for the user, and “delete project” can be denied outright.
- 03Any agent can actYour agent calls Convex through the Arc0 SDK or MCP, and so can Claude, ChatGPT and Cursor. Every call lands on the audit log.
await arc0.policies.set('convex', { read: 'allow', write: 'ask', // create_project destructive: 'deny', // delete_project }) # Claude Code: the same connection, one URL $ claude mcp add --transport http arc0 \ https://mcp.arc0.ai/u/u_8f2
How Convex connects.
Users add their Convex api key on Arc0 Connect. It is encrypted in the vault, never shown to the model, and each user can rotate or revoke it at any time.
The same Convex connection serves your agent over MCP and your own backend over REST and the proxy, so a user connects once. How Arc0 handles credentials →
- AUTH
- API key · Bearer token
- CREDENTIALS
- Per-tenant encrypted vault
- MODEL SEES
- Results only, never credentials
- AUDIT LOG
- Every call, on every plan
Use Convex from any agent.
Convex and Arc0, answered.
Can I use Convex with Claude, ChatGPT or Cursor?
Yes. Connect Convex to Arc0 once, then add your Arc0 MCP URL to Claude, ChatGPT, Cursor, Claude Code or any other remote-MCP client. Each assistant only gets the Convex actions you allow.
How do users connect Convex?
Users add their Convex api key on Arc0 Connect. It is encrypted in the vault, never shown to the model, and each user can rotate or revoke it at any time.
Which Convex actions can my agent take?
19 in total: 11 read, 5 write and 3 destructive, such as “create Project”. Your policies decide which of them each agent may call.
Can I stop my agent from deleting things in Convex?
Yes. Actions like “delete project” are graded destructive. Set destructive actions to deny, or to ask so the user approves each one, and blocked calls still show up on the audit log.
Can my own backend call Convex too?
Yes. The same Convex connection is available over REST and through the Arc0 proxy, so your product and your agent share one connection per user.
Plug Convex into your agent.
Your users connect Convex once, under your brand. Your agent gets 19 actions behind your policies, with every call on the record.
Free to build · MCP + REST · Audit log on every plan