What environment variables are required?
You must set `BETTER_AUTH_PROJECT_ID` and `BETTER_AUTH_API_KEY`. Optionally configure `BETTER_AUTH_ENV` and `LOG_LEVEL`.
@MCP-Mirror
Basic information
Mirror of
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"nahmanmate_better-auth-mcp-server": {
"command": "npx",
"args": [
"-y",
"@smithery/cli",
"install",
"@nahmanmate/better-auth-mcp-server",
"--client",
"claude"
]
}
}
}Analyze project structure for auth setup recommendations
Configure auth providers with project ID and API key
Detect existing auth.js/next-auth implementations
Create step-by-step migration path
better-auth-mcp-server is an MCP server for authentication management, providing enterprise-grade secure credential handling with AES-256 encryption, multi-protocol support (OAuth2, SAML, LDAP), and real-time threat detection. It is designed for developers using MCP-compatible clients like Claude Desktop who need to set up, migrate, or audit authentication in their projects.
Install via Smithery with npx @smithery/cli install @nahmanmate/better-auth-mcp-server, or manually add the server configuration to your Claude Desktop config file. Set required environment variables BETTER_AUTH_PROJECT_ID and BETTER_AUTH_API_KEY. Use tools such as setup_better_auth, test_auth_flows, and generate_migration_plan to manage authentication.
You must set `BETTER_AUTH_PROJECT_ID` and `BETTER_AUTH_API_KEY`. Optionally configure `BETTER_AUTH_ENV` and `LOG_LEVEL`.
Use the Smithery CLI: `npx @smithery/cli install @nahmanmate/better-auth-mcp-server --client claude`. Alternatively, manually add the server JSON to your Claude Desktop config file.
Run `npm run inspector` to launch the MCP Inspector, which provides a browser-based debugging interface for the server.
It supports OAuth2, SAML, and LDAP for multi-protocol authentication.
Core tools include `analyze_project`, `setup_better_auth`, `analyze_current_auth`, `generate_migration_plan`, `test_auth_flows`, `test_security`, `analyze_logs`, and `monitor_auth_flows`.
Gives AI agents public URLs (tunnels) for localhost, live HTTP traffic inspection, snapshot publishing, and access control. Part of LocalCan, the ngrok alternative for Mac, Windows and Linux. Free plan.

One case file per task — shared by every session, agent and person that touches it. Self-hosted MCP server and live board. MIT.
Set up and manage the Eddyter AI rich text editor by talking to your AI agent — for Claude, Cursor, Codex and other MCP tools. A Model Context Protocol server that lets AI tools add Eddyter to a React, Next.js, Vite or R
Console, Backend and CLI to manage Capgo Instant update and Native build for Capacitor apps Build and upload to app store your mobile app

Turn Perfex CRM into an AI-ready workspace. This MCP server exposes your full REST API to Claude, ChatGPT and any AI agent, so leads, invoices and tasks are one prompt away.
Comments