Skip to main content

Connect an AI assistant

To connect an AI assistant to CloudYali, add the CloudYali MCP server's URL to the assistant, sign in to CloudYali and approve the connection. It takes about two minutes.

Overview​

StepActionWhere
1Add https://mcp.cloudyali.io/mcp as a remote MCP serverMCP client
2Sign in with your CloudYali accountBrowser
3Select Agree & Allow AccessBrowser
4Enable CloudYali for the chat or agent sessionMCP client

Prerequisites​

  • A CloudYali account.
  • An assistant that supports remote MCP servers. Some plans restrict custom connectors; see the notes on each tab.
  • Server URL:
https://mcp.cloudyali.io/mcp

Connect your MCP client​

Select your client.

Applies to: claude.ai, Claude Desktop, Claude mobile apps.

  1. Go to Settings → Connectors.
  2. Select Add custom connector.
  3. Enter:
    • Name: CloudYali
    • Remote MCP server URL: https://mcp.cloudyali.io/mcp
  4. Select Add.
  5. Select Connect on the CloudYali connector.
  6. Complete sign-in and approval.
  7. In a chat, open the tools menu and enable CloudYali.

Connectors added on claude.ai are also available in Claude Desktop and the Claude mobile apps.

Team and Enterprise plans

An organization owner adds the connector under Admin settings → Connectors. Each member then selects Connect and signs in with their own CloudYali account.

Sign-in and approval​

All clients use the same browser flow.

  1. The assistant opens a CloudYali page in your browser.

  2. Sign in to CloudYali, with multi-factor authentication if you use it. If you are already signed in to the console, this step is skipped.

  3. Check the approval screen:

    ElementWhat it shows
    Requesting clientThe assistant's website, such as claude.ai. An assistant that registers itself instead shows Registered client and an ID
    PermissionsRead cloud cost and inventory data, and, if the assistant asks to stay connected, Stay connected for this session, up to 45 minutes
    Return addressWhere the browser goes after you approve
    Signed-in userThe CloudYali user whose permissions the connection gets
  4. Select Agree & Allow Access, or Cancel to refuse. After you approve, the browser returns to the assistant.

The CloudYali console asks you to approve a connection from claude.ai: read cloud cost and inventory data, and stay connected for up to 45 minutes, with Agree & Allow Access and Cancel buttons.

To approve as a different CloudYali user, select Switch accounts before approving.

Localhost warning

If the client receives the result on a local address such as 127.0.0.1, the approval screen adds a warning. It reads: "Only approve if you started this connection in a trusted local application. A localhost address does not prove which application it is." Desktop and terminal clients commonly use local addresses. Approve only if you started the connection from a trusted application.

Verify the connection​

Send a test prompt:

"Using CloudYali, what did we spend last month?"

A successful response contains a cost figure and the date range used.

Reconnect after expiry​

A connection lasts up to 45 minutes from approval. The assistant can renew its access within that time, but not beyond it. After that, the assistant asks you to sign in again (some show "Sign-in expired. Reconnect to CloudYali.") and you approve a new connection. If you are still signed in to the console, you do not need your password again.

Settings → Connectors → CloudYali → Connect, then approve.

Troubleshooting​

SymptomCauseResolution
"This request has expired. Start again from your MCP client."The approval page expired, or was reopened with the browser Back button.Start the connection again from the client.
"Couldn't reach CloudYali MCP. Retry, or start again from your MCP client."The approval page could not load the request from the MCP server.Select Retry. If the error persists, start again from the client.
"MCP connections can't be made while impersonating a customer."The session is a CloudYali staff impersonation session.End impersonation and sign in as yourself.
Authentication error during a conversation, or a message to run a login toolThe 45-minute connection expired, or the console sign-in behind it ended, for example because the user was removed. The hosted server has no login tool.Reconnect.
"Tenant request limit reached. Retry shortly.", or a message that the request was rate-limited by CloudYaliYour organization's connections sent requests too fast: more than about one a second, or a burst of more than 10.Wait a minute, then ask again. Ask for one broad answer instead of many narrow ones.
"Forbidden origin"A browser-based assistant other than claude.ai, chatgpt.com, www.cursor.com or vscode.dev tried to connect.Use one of those, or a desktop or command-line assistant.
"Could not connect to CloudYali" with "S256 PKCE and finops:read scope are required"The assistant asked for permissions CloudYali does not offer, or skipped the PKCE sign-in protection.Update the assistant, or use the mcp-remote bridge on the Other tab.
"This sign-in can't be completed here. Start again from your MCP client."You approved in a different browser or profile from the one the assistant opened, in a second tab, or after the 10-minute request ended.Start again from the assistant and approve in the browser window it opens.
"Couldn't load your CloudYali account. Try again shortly."CloudYali could not read your organization during approval.Wait a minute, then start again from the assistant.
The assistant does not use CloudYaliThe connector is not enabled for the chat, or the client is not in agent/tool mode.Enable CloudYali in the chat tools menu (ChatGPT: + → Developer mode; Cursor and VS Code: Agent mode), or start the prompt with "Using CloudYali, …".
Create or Add custom connector is not availableThe plan or workspace does not allow custom connectors.Contact your workspace admin, or use another supported client.
Figures differ from the consoleThe assistant used a different grouping, date range or cost type.Ask the assistant which filters it applied and compare with the console.

Disconnect​

Remove the CloudYali connector or server entry from the assistant. A connection already approved can keep working until its 45 minutes are up.