Studio Apps
setStudioAppSecret
Set Studio App Secret
Set (create or overwrite) a Studio app secret's value: WRITE-ONLY.
Ask Claude, ChatGPT, Cursor or any AI connected to The Cloud "set my app's STRIPE_SECRET", and it calls setStudioAppSecret.
Example call
The MCP tools/call params, with the required arguments only.
{
"arguments": {
"key": "<key>",
"value": "<value>"
},
"name": "setStudioAppSecret"
}Arguments
appIdstringoptionalThe Studio app ID. Required when scope is 'app'.environmentstringoptionalDeploy environment. 'prod' (default): the production value; 'preview': the value injected into preview deploys. A key can hold an independent value per environment.keystringrequiredSecret key, UPPER_SNAKE_CASE (e.g. ANTHROPIC_API_KEY).scopestringoptionalScope. 'app' (default): scoped to one Studio app, the safe default; requires appId. 'account': a shared secret apps opt into via attachSecretToApp.valuestringrequiredThe secret value to store. Consumed and encrypted immediately; never echoed back.
Returns
The registry does not declare a return shape.
Ask for it
The Cloud routes these requests to this verb.
- set my app's STRIPE_SECRET
- store the API key for this app
Pair it with
The verbs that finish the job.
Questions
What does setStudioAppSecret do?
Set (create or overwrite) a Studio app secret's value: WRITE-ONLY. It is one of the tools The Cloud MCP server gives every connected AI.
How do I use setStudioAppSecret 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 my app's STRIPE_SECRET", and it calls setStudioAppSecret.
Is setStudioAppSecret safe to let an AI call?
setStudioAppSecret deletes or sends, and calling it again does not undo it, so a careful client confirms with you before it runs.
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.