> ## Documentation Index
> Fetch the complete documentation index at: https://docs.proofable.me/llms.txt
> Use this file to discover all available pages before exploring further.

# Authentication

> Authenticate servers and apps to the Proofable API with OAuth, server keys, or wallet-signed requests.

Most products use Hosted Verify for people and a server key for backend calls. Creating a proof uses credits; sign-in and checks against existing proofs are free. [Pricing](https://docs.proofable.me/pricing.md)

| Need | Mechanism | Wallet code in your app |
| - | - | - |
| Sign-in for your app | Hosted Verify + `intent=login` + `returnUrl` | No |
| Access or checkout (default) | `VerifyGate` / Hosted Verify + `gateId` | No |
| MCP client sign-in | OAuth 2.0 + PKCE | No |
| Server automation as your profile | Bearer `npk_*` access key | No |
| Server creates proofs for an approved user | App link + `verifyFromApp` | No |
| Sign inside your page | SDK `verify` + `wallet` | Yes. Rare |

## Hosted Verify (default)

Send people to `https://proofable.me/verify` ([Hosted Verify](https://docs.proofable.me/verification/hosted.md)). With a `gateId`, your credits cover the checks unless the listing charges visitors a price.

## MCP OAuth

MCP clients authenticate via **OAuth 2.0 Authorization Code with PKCE**. Register `https://mcp.proofable.me/mcp` and finish the sign-in your client opens. The official CLI is `npx -y @proofable/sdk`.

Request only the scopes you need:

| Scope | What it allows |
| - | - |
| `proofable:core` | Public protocol tools |
| `proofable:profile` | Signed-in profile context |
| `proofable:secrets` | Portable encrypted secrets |
| `offline_access` | Refresh token |

See [Add Proofable to any MCP client](https://docs.proofable.me/mcp/setup.md) and [MCP OAuth](https://docs.proofable.me/mcp/oauth.md).

## Server keys

[Access keys](https://proofable.me/profile?tab=account) (`npk_*`) carry full profile access. Use them for servers, CI, and MCP automation, and keep them out of browser bundles.

## Backend proofs

For backend-created proofs after a user approves your product once, see [Server integrations](https://docs.proofable.me/integrations/server.md). Separate from [creating a listing](https://proofable.me/profile/listings/new), which bills hosted verification to your account.

## Signing inside your app

[Signing format](https://docs.proofable.me/verification/signing-format.md) and `signMessage` from `@proofable/sdk`

## Raw HTTP

`POST /api/v1/verification/standardize` → sign `signerString` → `POST /api/v1/verification`. [Signing format](https://docs.proofable.me/verification/signing-format.md).

[MCP Auth](https://docs.proofable.me/mcp/auth.md) and [SDK Authentication](https://docs.proofable.me/sdks/authentication.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.