Skip to content

Connect an agent ​

As of: November 30, 2026

Your AI agent controls Helfinity Cloud over the Model Context Protocol (MCP). For that you enter one address in your agent and confirm the connection once in the browser with your passkey. You never have to copy an API key or token.

text
https://mcp.helfinity.cloud/mcp

Choose your tool ​

ToolGuide
CursorConnect Cursor
Claude Code (terminal)Connect Claude Code
Claude Desktop and claude.aiConnect Claude Desktop
VS Code with GitHub CopilotConnect VS Code
OpenAI Codex (CLI, IDE, app)Connect Codex
Windsurf / Devin DesktopConnect Windsurf
Another MCP clientAny MCP client (below)
An agent in a cloud container, on a server or in CIAgent without a browser (below)

Before you start ​

  • You have an account with a passkey and can sign in at helfinity.cloud. Currently this works by invitation only.
  • You are owner or admin of the account. Only they may connect agents.
  • For services to actually run you need trust level 1 (details in the account plus credit, see Account and trust levels). Connecting, creating projects and planning work before that too.

How the sign-in works ​

The flow is the same for all tools, only the button is called differently:

  1. You enter the address. On the first contact the server answers "not signed in", and through that your agent automatically finds the authorization server https://helfinity.cloud.
  2. Your agent registers itself and opens your browser with the page "Connect agent".
  3. If you are not signed in, click "Sign in to the portal" and sign in with your passkey (fingerprint, face, security key or password manager). Afterwards you come back to the consent automatically. If not, click "I am signed in, continue".
  4. The consent shows the agent's name, your account and the rights it gets. Check that you just started the connection yourself, and click "Allow".
  5. The page "Connected" sends you back to your agent automatically (if not: button "Back to the agent"). The agent now has access, you can close the tab.

The access renews itself. You only have to sign in again when you disconnect the connection or it was not used for 30 days.

Which rights does the agent get? ​

If the agent asks for nothing specific, it gets these rights: read projects, create projects and configure services, deploy and roll back, read logs, set secrets (never read them) and read costs. Some tools ask for all rights the server offers; then the consent page also lists "Change budgets" and "Delete projects". Even then: an agent sets budgets up to 10 € per month and project at most, everything above and every deletion needs your approval in the portal.

Rights per tool ​

On the consent page you choose how independently the agent works: Full help, Ask first (rolling out, stopping, secrets and deleting only with your approval), Deploy only (reading, uploading, planning, rolling out, rolling back and jobs; secrets, stopping, storage and deleting blocked, meant for CI) or Read only. Afterwards you set every tool on its own in the portal under Agents › Connections › Rights to Allowed, Only with approval or Blocked, and bind the connection to certain projects if you like. The tools are a table there with one column per level, grouped by area; “all” in an area's row switches the whole area after a confirmation, search and filters (Changed, Approval, Blocked, Changing only) shorten the list, and above the table you see what differs from the preset. Each row shows when the agent last used the tool and how often it was held back in the last 30 days; every held-back attempt is listed in the activity, under Guardrails and as a yellow speech bubble on the live map. Details and limits: Rights per tool.

If the agent should work freely in staging but only read in production, give it a role per project or environment under Rights › Roles per project; the shortcut Roll out only outside production does that in one step. You create own roles under Agents › Roles. See Roles per project.

Disconnect a connection ​

If the same agent connects again (for example after an expired sign-in or a logout in the agent), it keeps the rights of its last connection of the past 30 days, also those switched on in the portal, plus blocked tools and the project binding. The consent page shows them with "from the previous connection, is kept". If you disconnected the last connection in the portal, the agent starts again with the rights it asks for.

In the portal under Agents › Connections you see every connection with its rights and last use. Disconnect ends all tokens of this connection at once.

Check that it worked ​

Ask your agent:

Call get_platform_info on Helfinity and tell me which runtime and regions there are.

If it answers with details about the platform, the connection works. Over the same connection it can also read this documentation (search_docs, read_docs), for example when you ask it how something works on Helfinity. Then continue with the first deployment.

Any MCP client ​

Every client that supports Streamable HTTP and OAuth for MCP works. It needs these details:

WhatValue
TransportStreamable HTTP (not SSE, not stdio)
Addresshttps://mcp.helfinity.cloud/mcp
MCP protocol2026-07-28, also 2025-11-25 and 2025-06-18
Sign-inOAuth 2.1 with PKCE (S256); client by Client ID Metadata Document (client_id is an https URL) or Dynamic Client Registration
Resource metadatahttps://mcp.helfinity.cloud/.well-known/oauth-protected-resource/mcp
Authorization serverhttps://helfinity.cloud (/.well-known/oauth-authorization-server)
Redirect addresshttps or http on localhost/127.0.0.1 (any port). Own schemes like myapp:// are not registered. Without a reachable redirect address: device code
Device code (RFC 8628)https://helfinity.cloud/oauth/device_authorization, entry on /oauth/device

If your client can only start local servers over stdio, the bridge mcp-remote helps (needs Node.js). It takes care of the sign-in in the browser:

json
{
  "mcpServers": {
    "helfinity": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "https://mcp.helfinity.cloud/mcp"]
    }
  }
}

On purpose there is no fixed API key to paste: you confirm every connection with a passkey, and each one can be disconnected on its own.

Agent without a browser (container, server, CI) ​

If your agent runs in a cloud container, on a server or in a CI pipeline, your browser cannot reach its redirect address localhost. For that there is the sign-in with a device code (OAuth Device Authorization Grant, RFC 8628). The agent shows you a short code; you enter it on https://helfinity.cloud/oauth/device and confirm as usual with your passkey and "Allow". There is still no permanent key.

With a message to the agent ​

An agent that can run commands itself (such as Claude Code on the web or Codex in the cloud) handles the sign-in on its own. Write to it in the chat, for example:

Connect to the MCP server https://mcp.helfinity.cloud/mcp and sign in with a device code (OAuth device authorization grant, guide: https://helfinity.cloud/docs/en/verbinden/#agent-ohne-browser-container-server-ci). Show me the link with the code, I will confirm it in the browser.

The agent answers with a link such as https://helfinity.cloud/oauth/device?user_code=BCDF-GHJK. Open it on any device, your phone works too, sign in with your passkey and check that the code and the name match your agent. After "Allow" the agent notices this by itself and can use the tools. The same message is ready to copy in the portal under Connect an agent in the tab "Agent in the cloud".

With your own script ​

This is how your own script signs in:

sh
# 1. Register once (without a redirect address)
curl -s https://helfinity.cloud/oauth/register -H 'Content-Type: application/json' \
  -d '{"client_name":"My agent in a container","grant_types":["urn:ietf:params:oauth:grant-type:device_code","refresh_token"]}'
# → client_id

# 2. Request a code
curl -s https://helfinity.cloud/oauth/device_authorization -d client_id=CLIENT_ID
# → user_code (such as BCDF-GHJK), verification_uri_complete, device_code, interval 5, expires_in 900

# 3. Ask every 5 seconds until you chose "Allow" in the browser
curl -s https://helfinity.cloud/oauth/token -d grant_type=urn:ietf:params:oauth:grant-type:device_code \
  -d device_code=DEVICE_CODE -d client_id=CLIENT_ID
# → first authorization_pending, then access_token and refresh_token
WhatValue
Code valid15 minutes, redeemable once
Pollingat most every 5 seconds, else slow_down
Answers while waitingauthorization_pending, slow_down, access_denied (declined), expired_token (expired or already redeemed)
Tokensas usual: access token 10 minutes, refresh token 30 days, rotated on every use

The agent stores the refresh token itself, best as a secret of its environment, not in the repository. If the container restarts without it, it signs in with a new code. The built-in sign-in of Cursor, Claude Code and other clients does not use this route yet. There you ask the agent as above to sign in with a device code itself, or use mcp-remote on your own computer.

Frequently asked questions ​

Do I have to restart anything after adding the server? ​

Usually not, but each client loads its servers differently. A client reads the list of servers and their tools when a connection starts. When a server is added, some clients pick it up at once, others only at the next start or in a new chat. If you do not see helfinity, or see it without tools, this almost always helps: switch the entry off and on again, otherwise restart the client and open a new chat.

When does the sign-in in the browser come? ​

Only when the client talks to the server for the first time and gets "not signed in" back. Some clients then open the browser themselves, in others you click Connect, Authenticate or Login. After that the access renews itself until you disconnect or it stays unused for 30 days.

What about Cursor? ​

After "Set up in Cursor" or saving mcp.json, helfinity shows up under Settings → Tools & MCP. If the Connect button is missing there, or the tools stay empty after signing in, switch the entry off and on again. This is a known quirk of Cursor, not of your account.

And with Claude Code, VS Code and Claude Desktop? ​

Claude Code reads new servers at start: after claude mcp add start a new session, then /mcp and Authenticate. VS Code starts the server with Start in mcp.json or on the first chat in agent mode and then asks you to sign in. In Claude Desktop and claude.ai you click Connect at the connector; the tools are then ready in a new chat, no restart needed.

A tool is missing after an update. What now? ​

Many clients remember the tool list from the last connection. Signing in again often renews only the access, not the list. Quit the client completely, start it again and open a new chat.

When something does not work ​

What you seeWhat causes itWhat helps
Server stays red or "Needs login", but no browser opensThe client did not start the sign-inPress the button Connect, Authenticate or Login in the client (see the page of your tool)
"This agent is not registered"The registration expired or was deletedRemove the connection in the agent and add it again
"The agent's metadata at … cannot be used"The agent signs in with a URL as client_id, and the document there cannot be reached or does not fit (such as another client_id, no allowed redirect address, not publicly reachable)Report the reason in brackets to the agent's vendor; until then an older version or mcp-remote often helps
"The agent's redirect address is not registered"The client uses only an address we do not allow (own scheme)Update the client or use mcp-remote (see above)
"This request expired or was already answered"More than 30 minutes passed between start and consent, or "Allow" was clicked twiceRestart the sign-in in the agent
After "Allow" the browser shows "site can't be reached" for localhost:<port>The agent on your computer no longer waits for the answer: sign-in cancelled or took too long, or the agent runs on another computer than the browserRestart the sign-in in the agent and confirm in the browser of the same computer; with Claude Desktop use a connector instead of claude_desktop_config.json (Claude Desktop)
A chat app has no place for an MCP server (such as DeepSeek's web app)The app cannot do MCPUse a client with MCP; there you can often choose the model too
"Only owners and admins of an account can connect agents"Your account is a member without admin rightsAsk the owner to make you an admin
A certain tool is missing although the connection is green (e.g. after an update of the platform)The client remembered the old tool list; signing in again or "Reload" often changes nothingQuit the client completely and start it again, then open a new chat (Cursor); this also applies when a tool has new parameters the agent does not know
Tools missing, error 401Connection disconnected in the portal or token expiredSign in again in the agent
Error AUTH_INSUFFICIENT_SCOPEThe tool needs a right the connection does not have (such as domains:write, which no connection gets by itself, or a right switched off like billing:write)Switch the right on for the connection in the portal under Agents › Connections; the change applies from the next call, reconnecting is not needed
Error TOOL_NOT_PERMITTEDYou blocked the tool for this connection, or the project is not one of the projects you bound it toAllow it in the portal under Agents › Connections › Rights; applies from the next call
TRUST_LEVEL_REQUIREDYour account is still below trust level 1Complete your details in the portal under Account and top up credit
Only get_platform_info is thereYou are connected to a local development instance without a databaseCheck the address: https://mcp.helfinity.cloud/mcp