Studio Apps
rotateStudioAppSecret
Rotate Studio App Secret
Rotate a Studio app secret: replace its value with a new one.
Ask Claude, ChatGPT, Cursor or any AI connected to The Cloud "rotate my app's STRIPE_SECRET", and it calls rotateStudioAppSecret.
Example call
The MCP tools/call params, with the required arguments only.
{
"arguments": {
"key": "<key>",
"value": "<value>"
},
"name": "rotateStudioAppSecret"
}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 to rotate (UPPER_SNAKE_CASE).scopestringoptionalScope. 'app' (default): scoped to one Studio app, the safe default; requires appId. 'account': a shared secret apps opt into via attachSecretToApp.valuestringrequiredThe new secret value. Consumed and encrypted; never echoed.
Returns
The registry does not declare a return shape.
Ask for it
The Cloud routes these requests to this verb.
- rotate my app's STRIPE_SECRET
- replace the key
Pair it with
The verbs that finish the job.
Questions
What does rotateStudioAppSecret do?
Rotate a Studio app secret: replace its value with a new one. It is one of the tools The Cloud MCP server gives every connected AI.
How do I use rotateStudioAppSecret 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 "rotate my app's STRIPE_SECRET", and it calls rotateStudioAppSecret.
Is rotateStudioAppSecret safe to let an AI call?
rotateStudioAppSecret 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.