C

convex.dev

Convex is an open-source backend platform centered on a reactive database and TypeScript functions, with managed and self-hosted deployment options. It provides tooling to manage Convex projects and deployments and to expose project functionality to apps and AI tools.

3 integrations · MCP · REST · CLI

Convex exposes a Management REST API, an npm-based CLI, and a local MCP server launched from the CLI; all require Convex-issued credentials.

discovered 2mo ago
MCP servers1
REST · OpenAPI1
CLI1
Credentials
Team access tokenbearerGet token

In Team Settings → Access Tokens, create a team-scoped access token for your Convex team. The Platform APIs overview says this token is used to manage your own projects, and the Management API overview says it is sent as a Bearer token in the Authorization header.

OAuth application tokenoauth2Set up OAuth

Register an OAuth application in Team Settings → OAuth Apps, then send users through the Convex OAuth authorization-code flow described in OAuth Applications. Convex provides authorization endpoints at https://dashboard.convex.dev/oauth/authorize/team and https://dashboard.convex.dev/oauth/authorize/project, and the token endpoint is https://api.convex.dev/oauth/token. The resulting application token is used as a Bearer token for the Management API.

Convex CLI user tokenbearer$ npx convex mcp start

Acquired by the CLI — running npx convex mcp start opens the auth flow and stores the credential.

Convex deploy keybearer

Create a deploy key via the Create deploy key Management API or obtain one through your Convex deployment workflow, then set it in CONVEX_DEPLOY_KEY. The Platform APIs overview shows using CONVEX_DEPLOY_KEY="YOUR_DEPLOY_KEY" npx convex dev / npx convex deploy, and the Deploy Keys page documents CONVEX_DEPLOY_KEY for non-interactive CLI use.

conventions · 2/7 published

Publish these signals → /publishing