Convex MCP server
19 operations0 webhooks
Reactive backend platform. Manage projects, deployments and deploy keys, delete custom domains, read token details and the available deployment classes and regions, and run query batches, read query timestamps and list log streams on a deployment.
Try Convex with your agent
Connect Convex, then paste this into Claude, ChatGPT or Cursor. For ideas from other apps, see the use cases.
Using Corsair, show me what you can do in Convex on my account, then run one read-only example and show me the result.
Convex tools and triggers
Tools are what your agent can do in Convex through Corsair's MCP server. Triggers are the Convex events a routine can start from.
Deployments
- CreateWrite
Create a new deployment for a Convex project
deployments.create
- DeleteDestructive
Delete a Convex deployment and all of its data and files
deployments.delete
- GetRead-only
Get details about a Convex cloud deployment
deployments.get
- ListRead-only
List deployments for a Convex project
deployments.list
- UpdateWrite
Update properties of an existing Convex deployment
deployments.update
Projects
- CreateWrite
Create a new Convex project, optionally provisioning a deployment
projects.create
- DeleteDestructive
Delete a Convex project and all of its deployments
projects.delete
- Get By IdRead-only
Get a Convex project by its ID
projects.getById
- Get By SlugRead-only
Get a Convex project by team identifier and project slug
projects.getBySlug
- ListRead-only
List projects in a Convex team
projects.list
Deployment
- Execute Query BatchRead-only
Execute a batch of Convex queries against a deployment
deployment.executeQueryBatch
- Get Query TimestampRead-only
Get the current query timestamp for a Convex deployment
deployment.getQueryTimestamp
- List Log StreamsRead-only
List log streams configured for a Convex deployment
deployment.listLogStreams
Platform
- Get Token DetailsRead-only
Get details about the token used to authenticate
platform.getTokenDetails
- List Deployment ClassesRead-only
List the deployment classes available to a Convex team
platform.listDeploymentClasses
- List Deployment RegionsRead-only
List the deployment regions available to a Convex team
platform.listDeploymentRegions
Deploy Keys
- CreateWrite
Create a deploy key for a Convex deployment
deployKeys.create
- ListRead-only
List deploy keys for a Convex deployment
deployKeys.list
Custom Domains
- DeleteDestructive
Remove a custom domain from a Convex deployment
customDomains.delete
Connect Convex to Claude, ChatGPT or Cursor
- 1
Connect Convex in Corsair
Add your Convex API key or sign in with OAuth once in Corsair. Corsair stores the credential encrypted and makes the Convex API calls for your agent, so it never goes into a prompt or a config file. Connect Convex
If your link lets the agent add apps, you can skip this: it gives you a sign-in link the first time it needs Convex. On a ChatGPT personal plan, connect Convex here first.
- 2
Add Corsair's MCP server to your agent
Every client uses the same address:
https://mcp.corsair.dev/mcpOpen Customize → Connectors → Add custom connector, paste the address, then select Connect.Add a custom MCP server with the address and choose OAuth. Personal plans get read tools only.Add to CursorOr add this to~/.cursor/mcp.json. Cursor opens Corsair to sign in the first time it connects.{ "mcpServers": { "corsair": { "url": "https://mcp.corsair.dev/mcp" } } }Run this, then run/mcpin Claude Code to sign in.claude mcp add --transport http corsair https://mcp.corsair.dev/mcpCodex, Gemini CLI, VS Code, Zed and other clients with OAuth sign-in work the same way. Clients without it, such as GitHub Copilot's coding agent, use a link's own address and an API key. Setup for every client
- 3
Sign in and choose what needs your approval
Your client opens Corsair to sign in. Pick a link: the apps your agent can use and a mode that decides what it may do without asking. In the default Cautious mode, Convex's read and write operations run right away and its 3 destructive operations wait for your approval. Strict mode asks before every write and refuses destructive operations, and Read mode allows reads only.
FAQ
Install corsair and @corsair-dev/convex, add the Convex plugin, and connect with an API key or OAuth. Then call methods like corsair.convex.api.customDomains.delete() from your app. Corsair stores tokens, and syncs data per tenant.
Yes. Convex supports an API key or OAuth. Use credentials or OAuth scopes that match what you automate. Create them in the Convex developer console, then paste into Corsair or connect through managed auth in Hub.
Yes. One Corsair client can hit Convex, GitHub, Notion, Stripe, and the rest. Trigger Convex from a webhook, push updates to Slack, or chain actions across plugins. Same tenant context across integrations, plain TypeScript.
Teams use Corsair for reactive backend platform. Manage projects, deployments and deploy keys, delete custom domains, read token details and the available deployment classes and regions, and run query batches, read query timestamps and list log streams on a deployment. Common builds include sync jobs, admin tooling, and agents that call Convex APIs from your backend. Local DB entities let you query synced Convex records without hitting the API on every read.
The SDK is open source. Self-host and you pay Corsair nothing for the integration layer. Hub bills for hosted auth and execution, not per Convex API call. Hub has a generous free tier. For hobby projects you can probably run the whole thing on free. Paid plans start to matter with more tenants or heavier traffic.
We maintain @corsair-dev/convex in the open repo. When Convex ships API changes, upgrade the package. Your call sites stay typed. You should not need to rewrite the integration layer each time.
No. Corsair does not read your Convex data or hold individual access credentials. Credentials stay in your database. API calls run on your instance. We do not store Convex data on your behalf.
Yes. Add https://mcp.corsair.dev/mcp as a custom connector or MCP server in Claude, ChatGPT, Cursor, VS Code, Claude Code, Codex or any client that supports remote MCP servers with OAuth sign-in, then sign in to Corsair. On ChatGPT personal plans, custom servers currently get read tools only.
Yes. Put Convex on a link in Strict mode and every write waits for your approval, while destructive actions are refused. The default Cautious mode asks only before the 3 destructive Convex operations. You can change a link's mode at hub.corsair.dev/me.