Skip to main content
Use a personal access key from Access Keys when your MCP client needs access to your NEUS account or private data. NEUS MCP uses the same Authorization: Bearer pattern as API authentication. Apply the header on the MCP HTTP connection during setup.

Quick answer

ModeUse it for
No authenticationneus_context, neus_proofs_check, public neus_proofs_get, and verifier catalog reads
Bearer (npk_*)neus_me, authenticated neus_proofs_get, profile reads, and account-aware MCP flows

Authorization header

Authorization: Bearer <npk_...>
Use npk_* when a tool needs your account. Do not use an end user’s browser session for MCP authentication.

What Bearer unlocks

  • neus_me
  • authenticated neus_proofs_get
  • profile reads
  • account-aware MCP flows
neus_verify can complete without an additional signature when your authenticated profile wallet already matches the request walletAddress. See Overview.

Interactive verification flows

Use Hosted Verify when the user needs to complete an interactive step, including:
  • wallet connection or signing
  • passkey authentication
  • OAuth login
  • social verification
When a tool returns hostedVerifyUrl, send the user to that URL to complete the flow on NEUS.

Common situations

SituationWhat to do
User needs passkey, OAuth, or social verificationOpen the returned hostedVerifyUrl
User has a connected walletUse neus_verify with signature, or use the hosted URL when returned
IDE or server automationUse Authorization: Bearer <npk_...> on MCP; direct HTTP uses the same pattern in API authentication

Security

TopicRule
Store keysServer or IDE MCP configuration only
Browser exposureNever expose personal access keys in browser code
RotationRe-issue the key from Access Keys if it is exposed
hostedVerifyUrlSend the user to the returned NEUS hosted flow

MCP overview

Setup

Hosted Verify