Studio Apps
attachSecretToApp
Attach Secret to App
Attach an account-level secret to a Studio app: declares it in the app's capability surface (requestedSecrets) so the runtime proxy can inject it.
Ask Claude, ChatGPT, Cursor or any AI connected to The Cloud "give this app access to my ANTHROPIC_API_KEY", and it calls attachSecretToApp.
Example call
The MCP tools/call params, with the required arguments only.
{
"arguments": {
"appId": "<appId>",
"key": "<key>"
},
"name": "attachSecretToApp"
}Arguments
appIdstringrequiredThe Studio app ID to attach the secret to.keystringrequiredAccount-level secret key (UPPER_SNAKE_CASE).
Returns
The registry does not declare a return shape.
Ask for it
The Cloud routes these requests to this verb.
- give this app access to my ANTHROPIC_API_KEY
- attach the shared key to my app
Pair it with
The verbs that finish the job.
Questions
What does attachSecretToApp do?
Attach an account-level secret to a Studio app: declares it in the app's capability surface (requestedSecrets) so the runtime proxy can inject it. It is one of the tools The Cloud MCP server gives every connected AI.
How do I use attachSecretToApp 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 "give this app access to my ANTHROPIC_API_KEY", and it calls attachSecretToApp.
Is attachSecretToApp safe to let an AI call?
attachSecretToApp changes your workspace. What an AI creates is Private until you share it.
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.