Better Auth MCP Server
by nahmanmate
Server Configuration
Describes the environment variables required to run the server.
Name | Required | Description | Default |
---|---|---|---|
LOG_LEVEL | No | Logging level | |
BETTER_AUTH_ENV | No | Environment setting (development, staging, or production) | |
BETTER_AUTH_API_KEY | Yes | Your Better Auth API key | |
BETTER_AUTH_PROJECT_ID | Yes | Your Better Auth project ID |
Schema
Prompts
Interactive templates invoked by user choice
Name | Description |
---|---|
No prompts |
Resources
Contextual data attached and managed by the client
Name | Description |
---|---|
Better-Auth Configuration | Current Better-Auth configuration settings |
Better-Auth Logs | Authentication system logs |
Tools
Functions exposed to the LLM to take actions
Name | Description |
---|---|
analyze_project | Analyze project structure and dependencies to recommend Better-Auth setup approach |
setup_better_auth | Install and configure Better-Auth in the project |
analyze_current_auth | Detect and analyze existing auth.js/next-auth implementation |
generate_migration_plan | Create step-by-step migration plan from existing auth to Better-Auth |
test_auth_flows | Test authentication workflows |
test_security | Run security tests on Better-Auth setup |
analyze_logs | Analyze Better-Auth logs for issues |
monitor_auth_flows | Real-time monitoring of authentication processes |