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.
https://mcp.helfinity.cloud/mcpChoose your tool
| Tool | Guide |
|---|---|
| Cursor | Connect Cursor |
| Claude Code (terminal) | Connect Claude Code |
| Claude Desktop and claude.ai | Connect Claude Desktop |
| VS Code with GitHub Copilot | Connect VS Code |
| OpenAI Codex (CLI, IDE, app) | Connect Codex |
| Windsurf / Devin Desktop | Connect Windsurf |
| Another MCP client | Any MCP client (below) |
| An agent in a cloud container, on a server or in CI | Agent 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:
- 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. - Your agent registers itself and opens your browser with the page "Connect agent".
- 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".
- 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".
- 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_infoon 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:
| What | Value |
|---|---|
| Transport | Streamable HTTP (not SSE, not stdio) |
| Address | https://mcp.helfinity.cloud/mcp |
| MCP protocol | 2026-07-28, also 2025-11-25 and 2025-06-18 |
| Sign-in | OAuth 2.1 with PKCE (S256); client by Client ID Metadata Document (client_id is an https URL) or Dynamic Client Registration |
| Resource metadata | https://mcp.helfinity.cloud/.well-known/oauth-protected-resource/mcp |
| Authorization server | https://helfinity.cloud (/.well-known/oauth-authorization-server) |
| Redirect address | https 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:
{
"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:
# 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| What | Value |
|---|---|
| Code valid | 15 minutes, redeemable once |
| Polling | at most every 5 seconds, else slow_down |
| Answers while waiting | authorization_pending, slow_down, access_denied (declined), expired_token (expired or already redeemed) |
| Tokens | as 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 see | What causes it | What helps |
|---|---|---|
| Server stays red or "Needs login", but no browser opens | The client did not start the sign-in | Press 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 deleted | Remove 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 twice | Restart 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 browser | Restart 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 MCP | Use 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 rights | Ask 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 nothing | Quit 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 401 | Connection disconnected in the portal or token expired | Sign in again in the agent |
Error AUTH_INSUFFICIENT_SCOPE | The 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_PERMITTED | You blocked the tool for this connection, or the project is not one of the projects you bound it to | Allow it in the portal under Agents › Connections › Rights; applies from the next call |
TRUST_LEVEL_REQUIRED | Your account is still below trust level 1 | Complete your details in the portal under Account and top up credit |
Only get_platform_info is there | You are connected to a local development instance without a database | Check the address: https://mcp.helfinity.cloud/mcp |