Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

Better Auth MCP

MCP server by better-auth Verified · npm:@better-auth

Better Auth MCP is listed as a Model Context Protocol plugin for Better Auth, a framework-agnostic TypeScript authentication library. The source is the main Better Auth README, which covers features such as 2FA and multi-tenant support.

  • Score 91
  • 31k stars
  • 2.1M a week
  • MIT
  • Updated

Install Better Auth MCP

Built from the published package, never by AI.

claude mcp add better-auth-mcp -- npx -y @better-auth/mcp

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install Better Auth MCP in Claude Code

MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the better-auth-mcp block.

About

Better Auth MCP is listed here as a Model Context Protocol (MCP) plugin for Better Auth. Better Auth is a framework-agnostic authentication and authorization framework for TypeScript. It provides a set of features out of the box and a plugin ecosystem for adding functions such as 2FA and multi-tenant support with minimal code. The source is the main Better Auth README and does not describe the MCP plugin's tools or setup.

The framework is free and open source under the MIT License. Its stated aim is to offer authentication beyond basic sign-in without relying only on third-party services. It is aimed at TypeScript developers who want to build their application without reimplementing auth. Security vulnerabilities should be reported through GitHub Security Advisories.

Written from the project's README and checked against it.

Try asking

  • Add two-factor authentication to my TypeScript app with Better Auth
  • Add multi-tenant support to my Better Auth setup
  • Explain how Better Auth plugins extend basic authentication

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work

What you can do with it

  • Adding 2FA to a TypeScript app
  • Adding multi-tenant support
  • Authentication for TypeScript applications

Alternatives to Better Auth MCP

All alternatives →

Compare with GitDiagram, mockserver or XcodeBuildMCP

Better Auth MCP: common questions

What is Better Auth?

Better Auth is a framework-agnostic authentication and authorization framework for TypeScript. It includes a plugin ecosystem for adding features such as 2FA and multi-tenant support.

What license does Better Auth use?

Better Auth is free and open source, licensed under the MIT License.

How do I report a security issue in Better Auth?

Report vulnerabilities through GitHub Security Advisories. The source says all reports will be promptly addressed and reporters will be credited.

How do I install Better Auth MCP?

In Claude Code run claude mcp add better-auth-mcp -- npx -y @better-auth/mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is Better Auth MCP the official server?

Better Auth MCP is published by npm:@better-auth from its verified domain in the official MCP Registry.

Is Better Auth MCP free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is Better Auth MCP safe to use?

It scores 91 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to Better Auth MCP?

Similar MCP servers: GitDiagram, mockserver, XcodeBuildMCP, draw.io.

Does Better Auth MCP work with ChatGPT?

Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.

Better Auth MCP Install

Add to stack

Loading.