Studio Apps
setDomainPathRoutes
Set Domain Path Routes
Set the path routes on a custom domain that serves a Studio app: reserved prefixes the edge sends to an external https origin instead of the app, so myai.so/workspace can serve a console while the…
Ask Claude, ChatGPT, Cursor or any AI connected to The Cloud "send /workspace on myai.so to the console", and it calls setDomainPathRoutes.
Example call
The MCP tools/call params, with the required arguments only.
{
"arguments": {
"domainId": "<domainId>",
"routes": [
{}
]
},
"name": "setDomainPathRoutes"
}Arguments
domainIdstringrequiredDomain id from listCustomDomains or addCustomDomainroutesobject[]requiredThe full list of routes. An empty list clears them.
Returns
The registry does not declare a return shape.
Ask for it
The Cloud routes these requests to this verb.
- send /workspace on myai.so to the console
- route a path on our domain to another site
- clear the domain path routes
Pair it with
The verbs that finish the job.
Questions
What does setDomainPathRoutes do?
Set the path routes on a custom domain that serves a Studio app: reserved prefixes the edge sends to an external https origin instead of the app, so myai.so/workspace can serve a console while the… It is one of the tools The Cloud MCP server gives every connected AI.
How do I use setDomainPathRoutes 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 "send /workspace on myai.so to the console", and it calls setDomainPathRoutes.
Is setDomainPathRoutes safe to let an AI call?
setDomainPathRoutes 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.