1. Conduid
  2. Documentation
  3. Better Auth Server
MCP server · Documentation

Better Auth Server

# Better Auth MCP Server [![smithery badge](https://smithery.ai/badge/@dabhivijay2478/auth)](https://smithery.ai/server/@dabhivijay2478/auth) **Comprehensive Better Auth integration tools for TypeScript applications.** Access complete documentation, configure **6+ authentication providers** (Google, GitHub, Apple, Facebook, Microsoft, Email/Password), **6 database adapters** (PostgreSQL, MySQL, SQLite, MongoDB, Prisma, Drizzle), and **14+ security plugins**. With this MCP server you can: - Generate **production-ready configurations** - Validate setups with best-practice recommendations - Explore detailed **framework-specific guides** for Next.js, Nuxt, SvelteKit, Remix, and more

Unclaimed docs
34Low

Scored 4 months ago · breakdown

About Better Auth Server

Better Auth Server is an MCP server in the Documentation category: # Better Auth MCP Server [![smithery badge](https://smithery.ai/badge/@dabhivijay2478/auth)](https://smithery.ai/server/@dabhivijay2478/auth) **Comprehensive Better Auth integration tools for TypeScript applications.** Access complete documentation, configure **6+ authentication providers** (Google, GitHub, Apple, Facebook, Microsoft, Email/Password), **6 database adapters** (PostgreSQL, MySQL, SQLite, MongoDB, Prisma, Drizzle), and **14+ security plugins**. With this MCP server you can: - Generate **production-ready configurations** - Validate setups with best-practice recommendations - Explore detailed **framework-specific guides** for Next.js, Nuxt, SvelteKit, Remix, and more. It has been installed 0 times through Conduid.

Install

Clone
git clone https://github.com/dabhivijay2478/auth

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

Ask AI about Better Auth Server

Powered by Claude · Grounded in docs

I know everything about Better Auth Server. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

  • ·README presentNot checked yet.
  • ·License declaredNot checked yet.
  • ·Tests presentNot checked yet.
  • ·Dependencies pinnedNot checked yet.
  • ·No dynamic code executionNot checked yet.
  • ·Scoped permissionsNot checked yet.

README

Better Auth MCP Server

smithery badge

A modern Model Context Protocol (MCP) server for the Better Auth authentication framework.
This server provides developer-friendly tools, searchable documentation, ready-to-use integrations, and configuration generators for authentication providers, database adapters, and plugins.


✨ Highlights

  • 📚 Full Documentation Access – categorized, searchable, and framework-specific examples
  • 🔐 Authentication Providers – Email/Password, Google, GitHub, Apple, Microsoft, Facebook, and more
  • 🗄️ Database Adapters – PostgreSQL, MySQL, SQLite, MongoDB, Prisma, Drizzle
  • 🔧 Plugins & Extensions – OTP, Magic Link, 2FA, Passkey, Organization Management, API Tokens
  • ⚙️ Smart Tools – Config generation, validation, migration guides, and framework integration
  • 🔒 Security Built-in – CSRF protection, secure cookies, rate limiting, WebAuthn/Passkeys, 2FA

🚀 Quick Start

Install via Smithery (Recommended)

npx -y @smithery/cli install @dabhivijay2478/auth --client claude

Manual Setup

git clone <repository-url>
cd better-auth-mcp-server
npm install
npm run build

Update claude_desktop_config.json:

{
  "mcpServers": {
    "better-auth": {
      "command": "node",
      "args": ["path/to/dist/index.js"],
      "env": {
        "NODE_ENV": "production"
      }
    }
  }
}

🛠️ Core Tools

Documentation

  • list_better_auth_features – List all available features and plugins
  • get_feature_details – Get details for a specific feature or plugin
  • search_better_auth – Search Better Auth documentation

Integrations

  • get_integration_guide – Framework-specific setup (Next.js, Nuxt, Remix, SvelteKit, Expo, etc.)
  • get_auth_examples – Code snippets and usage examples

Advanced Context

  • target_llms_context – Access Better Auth LLMs.txt for comprehensive context

📦 Usage Examples

1. Generate a Complete Auth Config

const setup = await generate_auth_config({
  providers: ["email-password", "google", "github"],
  adapter: "postgresql",
  plugins: ["magic-link", "two-factor"],
  framework: "nextjs"
});

console.log(setup.serverConfig);

2. Get Provider Config

const google = await get_auth_provider_config({ provider_name: "google" });
console.log(google.setupSteps);

3. Validate Config

const validation = await validate_auth_setup({
  config: "your auth.ts config here",
  framework: "nextjs"
});
console.log(validation);

🔐 Security Features

  • CSRF Protection – Safe request handling
  • Session Security – Rotation, expiration, validation
  • Passkeys & WebAuthn – FIDO2 support
  • Two-Factor Auth – TOTP, backup codes
  • Rate Limiting – Prevent abuse
  • Password Security – Strong hashing and validation

🏗️ Architecture

  • Language: TypeScript (ES2022 target)
  • Validation: Zod schemas
  • Protocol: Model Context Protocol (MCP)
  • Code Generation: Production-ready configs and migration scripts
  • Error Handling: Detailed and recoverable

🤝 Contributing

  1. Clone repo
  2. Install dependencies: npm install
  3. Build: npm run build
  4. Update src/index.ts with new features

When Better Auth adds features:

  • Extend AUTH_PROVIDERS, DATABASE_ADAPTERS, PLUGINS
  • Add documentation mappings
  • Write tool handlers
  • Test thoroughly

📄 License

MIT License – see LICENSE file


🔗 Resources


README mirrored from the source repository 4 months ago. The original is authoritative.

Questions

About Better Auth Server

How do I install Better Auth Server?

Run git clone https://github.com/dabhivijay2478/auth, then add the server to your MCP client's configuration. Conduid has recorded 0 installs, so the command is known to work with current clients.

Is Better Auth Server safe to use with an AI agent?

Its trust score is 34 out of 100 (low). Conduid hasn't run static security checks on this repository yet, so review the source yourself before granting it credentials. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Better Auth Server still maintained?

Conduid hasn't recorded a commit date for this repository yet. Check the repository directly for recent activity.