Studio Apps
setStudioAppSecretBrowserExposure
Set Studio App Secret Browser Exposure
Make an app-scoped Studio secret readable by the app's served page in the browser (window.cloud.browserKeys), or take it back out.
Ask Claude, ChatGPT, Cursor or any AI connected to The Cloud "let my app's map use the Maps key", and it calls setStudioAppSecretBrowserExposure.
Example call
The MCP tools/call params, with the required arguments only.
{
"arguments": {
"appId": "<appId>",
"exposed": true,
"key": "<key>"
},
"name": "setStudioAppSecretBrowserExposure"
}Arguments
appIdstringrequiredThe Studio app ID the secret belongs to.environmentstringoptionalDeploy environment. 'prod' (default): the production value; 'preview': the value injected into preview deploys. A key can hold an independent value per environment.exposedbooleanrequiredtrue: the served page can read the value. false: server-only again.keystringrequiredApp secret key (UPPER_SNAKE_CASE), e.g. GOOGLE_MAPS_BROWSER_KEY.
Returns
Returns the new exposure state, never the value.
Ask for it
The Cloud routes these requests to this verb.
- let my app's map use the Maps key
- expose the browser key
- stop sending the key to the page
Pair it with
The verbs that finish the job.
Questions
What does setStudioAppSecretBrowserExposure do?
Make an app-scoped Studio secret readable by the app's served page in the browser (window.cloud.browserKeys), or take it back out. It is one of the tools The Cloud MCP server gives every connected AI.
How do I use setStudioAppSecretBrowserExposure 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 "let my app's map use the Maps key", and it calls setStudioAppSecretBrowserExposure.
Is setStudioAppSecretBrowserExposure safe to let an AI call?
setStudioAppSecretBrowserExposure widens who can see or receive something, so the owner approves every call explicitly. An AI cannot approve it for itself.
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.