code-fundi-auth-authenticate
Authenticate users by sending a 6-digit email OTP or using a password; after verification, the API key is configured for the current MCP session.
Instructions
Start Code-Fundi authentication (POST /v2/auth/authenticate). No existing API key required. Use auth_mode otp for new or returning users: set should_create_user true on first signup, false on sign-in. Sends a 6-digit email OTP (not a magic link); then call code-fundi-auth-verify after the human user provides the code. Password mode: pass password here (sent as X-CodeFundi-Auth-Password header only); should_create_user false for sign-in. On success with an active key, the API key is configured in-memory for this MCP session only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Yes | Email address to authenticate | ||
| password | No | Password (only used when auth_mode is 'password') | |
| auth_mode | Yes | Authentication mode: 'otp' for email code, 'password' for password-based | |
| should_create_user | No | Set to true for new user registration (default: false) |