Studio Apps
setConvexEnv
Set Convex Env Variable
Set one environment variable on a Convex deployment named explicitly, e.g.
Ask Claude, ChatGPT, Cursor or any AI connected to The Cloud "set OIDC_SCOPES on vivid-camel-379", and it calls setConvexEnv.
Example call
The MCP tools/call params, with the required arguments only.
{
"arguments": {
"confirm": true,
"deployment": "<deployment>",
"key": "<key>",
"value": "<value>"
},
"name": "setConvexEnv"
}Arguments
actorstringoptionalWho is making the change, as it should read in the change log, e.g. your signature chip. Defaults to Ora.confirmbooleanrequiredMust be true: the explicit per-call consent for this write.deploymentstringrequiredThe deployment name itself, e.g. "vivid-camel-379". Never an alias.keystringrequiredVariable name, e.g. OIDC_SCOPESspaceIdstringoptionalSpace this runs under; you must be its owner or admin, and a write is recorded on its change log. Omit only as a platform admin.valuestringrequiredThe value. Never returned or logged.
Returns
Returns the key and whether the value read back (never the value), and records the change under your account.
Declared limits
deployment: minimum length 1key: minimum length 1
Ask for it
The Cloud routes these requests to this verb.
- set OIDC_SCOPES on vivid-camel-379
- set a Convex env var on production
Pair it with
The verbs that finish the job.
Questions
What does setConvexEnv do?
Set one environment variable on a Convex deployment named explicitly, e.g. It is one of the tools The Cloud MCP server gives every connected AI.
How do I use setConvexEnv from Claude or ChatGPT?
Connect your AI to The Cloud at https://mcp.thecloud.so/mcp and sign in once. Then ask Claude, ChatGPT, Cursor or any AI connected to The Cloud "set OIDC_SCOPES on vivid-camel-379", and it calls setConvexEnv.
Is setConvexEnv safe to let an AI call?
setConvexEnv deletes or sends, and calling it again does not undo it, so a careful client confirms with you before it runs. It reaches a system outside The Cloud on your behalf.
Connect
One endpoint gives your AI this tool and every other one: connect Claude, ChatGPT, Cursor or Gemini, read what The Cloud is, or see pricing.