POST/auth/mcp-key
Generate a new MCP API key for the authenticated user
Website sign-in only
The raw key is returned exactly once -- it is never stored, only its SHA-256 hash is persisted. Store it safely; there is no recovery if lost (generate a new key instead).
| Field | Type | Description |
|---|---|---|
| label | string | null |
| Field | Type | Description |
|---|---|---|
| key * | string | |
| label | string | null |
curl -X POST 'https://api.papervantage.com/auth/mcp-key' \
-H "Authorization: Bearer $COGNITO_ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"label":"<label>"}'