Skip to content

Credentials

Agents receive access, never the secret. Every credential — OAuth grants, custom headers, cloud role sessions — lives in a vault, namespaced to your organization and write-only from the moment it’s stored, and is applied to a tool call at the scope the server defines without ever entering the agent’s context.

Updated 16 October 2026 · 6 min read

Two scopes

Personal credentials are yours: created when you click Connect in Connected Services — or when a planning agent offers a connection inline and you accept — used whenever an agent acts for you, and removed the moment you Disconnect. A connected card shows Since the date you connected. Tools running on a personal credential authenticate as you and see what you can see.

Organization credentials are shared: an admin-registered header set, a GitHub App installation, or a service that authenticates the workspace as a whole. Admins connect them on the server’s entry in Settings → MCP Registry — Authenticate, or Install for a GitHub App — and Reconnect or Disconnect them there. A catalog server’s catalog entry fixes which scopes it supports; for a server your organization added, the authentication you chose does. Both can exist side by side, and Data scoping covers choosing between them.

What connecting actually does

For most servers, Connect runs a standard OAuth authorization against the service itself — you sign in and consent on their domain, and Lunen receives only the resulting tokens. Under the hood the flow is hardened by default: PKCE on every authorization, the callback pinned to Lunen’s own configured address, and — where servers support it — automatic client registration, so most catalog servers need no OAuth app configured by anyone. A server that needs a client registered by your organization says so on Connect until an administrator has registered one.

For AWS servers, Connect signs you in through your organization’s IAM Identity Center, then asks you to Choose an AWS account and role; the connection is unusable until you pick one.

Tokens refresh automatically when they are used close to expiry. When a credential stops working — the grant was revoked upstream, or it expired for good — the affected call pauses with a Reconnect … to continue. prompt rather than failing, and Lunen discards the dead credential. For a personal credential, reconnect and the run resumes where it stopped; choose Decline and that call does not run. An organization credential can’t be reconnected from the prompt — an administrator reconnects it in the MCP Registry. A server that asks for broader access than the connection was granted pauses the same way, for a sign-in that requests the extra scopes.

Disconnect deletes Lunen’s copy only; it does not revoke the grant at the service, so revoke it there too if you want it gone. Deleting a server your organization added removes every credential stored for it, personal ones included.

What’s never available

Credential values cannot be read back — not by members, not by administrators, not by agents. The dashboard shows that a connection exists and when it changed, never its contents; sensitive header values are write-only from the moment they’re saved; and audit events record credential changes without the value. An agent’s transcript can contain what a tool returned, but never the credential the call ran on.

Note

Every credential you or an administrator connects or removes in the dashboard is an audit event — mcp.credential.upsert and mcp.credential.delete, at either scope — so “who connected what, and when” is always answerable. Automatic token refreshes are not recorded.