Convex
The Convex MCP server ships inside the Convex CLI, giving a coding agent direct access to a Convex deployment to inspect schema, read data, run functions and diagnose performance. It is unusually complete for a database server: alongside table and document introspection it runs sandboxed read-only JavaScript queries, executes deployed functions, reads deployment logs, surfaces query-optimization insights, and manages environment variables. Deployment selection is explicit, and production access is opt-in rather than the default.
Tools
data
Page through the documents stored in a given table.
envGet
Read the value of a single environment variable on the deployment.
envList
List every environment variable configured on the deployment.
envRemove
Delete an environment variable from the deployment.
envSet
Create or update an environment variable on the deployment.
functionSpec
Return metadata describing the deployment's functions and their signatures.
insights
Surface query-optimization insights highlighting slow or inefficient queries.
logs
Read the deployment's logs to diagnose failures and trace function execution.
run
Execute a function that is already deployed to the Convex deployment.
runOneoffQuery
Run a sandboxed, read-only JavaScript query against the deployment's data.
status
Find the available Convex deployments and return the selector every other tool requires.
tables
List the tables in a deployment along with their schema and metadata.