Generate an API key
Generate an API key
Create a personal bearer token. Copy it immediately — you won't see it again.
Steps
- Go to Settings → API Keys
- Click Generate Key and label it
CursororClaude Desktop. - Copy plaintext immediately — hashed at rest, shown only once.
What you’ll see
After generating, this modal appears. The small subtext says “Copy this key now — you won’t be able to see it again. Treat it like a password.”
API key created
Copy this key now — you won't be able to see it again. Treat it like a password.
Paste this into your agent's MCP config as an Authorization: Bearer header. See docs/mcp.md for setup.
Small subtext included
Paste this into your agent's MCP config as an Authorization: Bearer header. See docs/mcp.md for setup.
Treat it like a password. If you lose it, revoke and generate a new one. The hash is stored securely — plaintext is never shown again.
Security notes
• Hashed via Better Auth plugin, never stored plaintext.
• Scoped to key owner — tRPC enforces userId on every query.
• Revocable instantly in Settings → API Keys.