Which credential to use
Both work, on the same endpoint, and neither is going away.
If a human is going to be sitting there when the client first starts, use OAuth: there is no key to paste, nothing to leak into a committed config file, and revoking one client does not break the others. If nothing can open a browser, use a key.
Which clients need a bridge
The Attensira server speaks Streamable HTTP only. Clients that speak remote HTTP natively connect directly. Clients that only launch local stdio processes cannot, and need themcp-remote bridge, which runs locally over stdio and forwards to the HTTPS endpoint.
Connecting with OAuth
Nothing to mint and nothing to paste. You add the URL, a browser opens, you sign in and choose a workspace, and the client stores a token it refreshes on its own.Claude.ai and Claude Desktop
Go to Settings → Connectors → Add custom connector, name itAttensira, and enter:
Server URL
Availability of custom connectors depends on your Claude plan and, on Team and Enterprise, on whether an administrator has allowed them.
Claude Code
Add the server with no credential at all, then authenticate from inside Claude Code:Shell
/mcp, select attensira, and choose to authenticate. A browser opens, you sign in and approve, and the callback returns to a local port Claude Code is listening on.
Add --scope user to make the server available in every project rather than only the current one. Verify with claude mcp list, then ask Claude to call get_account — a successful reply lists the workspaces the credential can reach.
Cursor
Add to Cursor — one-click install link. Cursor must already be installed; clicking it opens Cursor and prompts you to add the server. It writes the URL and nothing else — no key, and nothing is read or transmitted. You can also add it by hand. Create.cursor/mcp.json in the project, or ~/.cursor/mcp.json for all projects. With OAuth there is no secret in the file, so the in-repo path is safe:
.cursor/mcp.json
VS Code + Copilot
VS Code reads.mcp.json at the workspace root or .vscode/mcp.json. With OAuth the whole file is three lines and carries nothing secret:
.vscode/mcp.json
ChatGPT
Under Settings → Connectors → Create, choose a custom or developer-mode connector and enterhttps://mcp.attensira.com/mcp. At the authentication step, select OAuth — Attensira publishes standard OAuth discovery, so there is no client ID or secret for you to fill in. Save, complete the sign-in, and enable the connector per conversation from the tools menu.
Custom MCP connectors in ChatGPT depend on your plan and workspace settings, and some surfaces restrict which tools a connector may call. If write tools such as
add_prompts are unavailable, that is a ChatGPT-side restriction, not a scope problem — check Connections to see what you actually granted before assuming otherwise.Zed and other stdio-only clients
Zed launches MCP servers as local processes, so it needs themcp-remote bridge. The bridge runs the OAuth flow itself and caches the token under your home directory:
Zed settings.json
What you are approving
The consent screen names the application, the workspace, and the access it wants. Read all three. Read covers metrics, prompts, pages, sessions, automations and account details. Read and write adds everything that changes the workspace or spends credits — adding prompts, creating and running automations, deleting things, asking the agent. Most AI clients ask for read and write, because a client that can only read cannot do the half of the job you connected it for. What an approved client can reach, and how to disconnect one, is in Connected applications.Connecting with a static key
This is the path for anything without a human and a browser: n8n, CI, a scheduled script, a server-side agent. It is fully supported and is not going anywhere.Get a key first
Mint a key at app.attensira.com/settings/developer. It is shown exactly once: only a hash is stored, so Attensira cannot re-display it. Copy it somewhere safe — a password manager or your shell environment — before you close the dialog. The key names your workspace, so no tool asks for a workspace id. If you lose it, revoke and mint a new one; there is no recovery path.n8n
Use the MCP Client Tool node inside an AI Agent workflow. Set the endpoint tohttps://mcp.attensira.com/mcp and the transport to HTTP Streamable — not SSE, which the server does not offer.
For credentials, choose the Bearer or header-auth credential type and store the key there. n8n credentials are encrypted at rest and are not written into the workflow JSON, so an exported or version-controlled workflow does not carry the key. Once connected, the node exposes the Attensira tools to the agent; restrict the tool list on the node if you do not want the agent reaching credit-spending tools such as run_automation.
This is exactly the case OAuth cannot serve: a workflow fires at 3am with nobody to approve a browser prompt. Use a key, give it the narrowest scope the workflow needs, and name it after the workflow so revoking it later is unambiguous.
Codex CLI
Codex reads the token from a named environment variable at runtime and sends it as theAuthorization header itself, so the key never enters ~/.codex/config.toml:
Shell
mcp_servers.attensira table to ~/.codex/config.toml without the key. Make sure ATTENSIRA_API_KEY is set in the shell profile Codex launches from.
Only if your Codex build does not support --bearer-token-env-var, edit ~/.codex/config.toml directly with the key written literally:
~/.codex/config.toml
Windsurf
Windsurf reads~/.codeium/windsurf/mcp_config.json:
~/.codeium/windsurf/mcp_config.json
serverUrl, use "url" instead — the two spellings have both shipped. Press the refresh control in the Cascade MCP panel after saving. Since this file lives in your home directory, it is not part of any repository, but it is still plaintext on disk.
Cline
In VS Code, open Cline → MCP Servers → Configure, and add a remote entry:cline_mcp_settings.json
mcp-remote command shown below.
Claude Desktop and Claude Code with a key
Both support OAuth, and OAuth is the better path on a machine with a browser. Use a key only where you deliberately want a fixed credential — a shared build machine, or a container without an interactive session.Claude Code
claude_desktop_config.json, so the key is written literally — protect the file with filesystem permissions and never copy it into a repository:
claude_desktop_config.json
Any other MCP client
Any client that supports remote MCP servers can connect with these facts:Connection details
--header to let the bridge run OAuth for you:
Shell
Shell
Connected. Ask your assistant to call
get_account — it answers without you supplying a workspace id, and its workspaces array is what every other tool’s project takes. With one workspace it is also named as project; with several, project is null until you name one, which is expected rather than a fault.