OAuth sign-in
401 + WWW-Authenticate, OAuth-capable clients follow that metadata to sign you in and refresh tokens. Anonymous proof checking is still available through the web UI and the HTTP API.
For full OAuth mechanics, see MCP OAuth.
Access key (fallback)
Use a profile access key from Access Keys when browser OAuth is not available — servers, CI, and automation.Choose an auth mode
Both modes send the same
Authorization: Bearer <token> header against the same NEUS Profile and Account. npk_* keys are long-lived credentials; OAuth sessions are long-lived too — the IDE refreshes the short-lived access token silently for up to 30 days via the offline_access refresh token, exactly like Linear, GitHub, and Notion MCP hosts.
Hosted MCP requires authentication on every request. Anonymous proof checking and verifier catalog reads are available through the web UI and the HTTP API.
Authorization header
Bearer scheme.
Authenticated MCP sessions should reuse existing trust receipts before any browser step. See MCP Overview for the reuse-first flow.
Disconnect
npk_* credentials, it revokes the Profile access key through the NEUS API, then removes the local MCP header from configured clients.
MCP server auth challenge
When a client requests a protected resource without credentials, some hosts return:neus auth from the CLI.
Interactive verification flows
Hosted Verify: passkey, wallet, OAuth, and social verification steps run on NEUS. If a tool returnshostedVerifyUrl, open it once, then continue in MCP.
