Skip to main content
Glama
LexiconAlex

Better Auth MCP Server

by LexiconAlex

better-auth-mcp-server MCP Server

MCP Server for Authentication Management

Enterprise-grade authentication solution providing:

  • 🔐 Secure credential management with AES-256 encryption

  • ⚙️ Multi-protocol auth (OAuth2, SAML, LDAP)

  • 🛡️ Real-time threat detection and prevention

Features

Core Tools

  • analyze_project - Analyze project structure for auth setup recommendations

  • setup_better_auth - Configure auth providers with project ID and API key

  • analyze_current_auth - Detect existing auth.js/next-auth implementations

  • generate_migration_plan - Create step-by-step migration path

Testing & Security

  • test_auth_flows - Validate login/register/reset/2fa flows

  • test_security - Run OWASP-aligned security checks

  • analyze_logs - Review auth system logs for issues

  • monitor_auth_flows - Real-time authentication monitoring

Available Resources

  • better-auth://config - Current Better-Auth configuration settings

  • better-auth://logs - Authentication system logs

Related MCP server: OAuth-Protected CTERA MCP Server

Development

Clone and install:

git clone https://github.com/better-auth-mcp-server/better-auth-mcp-server.git
cd better-auth-mcp-server
npm install

Build the server:

npm run build

For development with auto-rebuild:

npm run watch

Configuration

Environment Variables

# Required
BETTER_AUTH_PROJECT_ID=your-project-id
BETTER_AUTH_API_KEY=your-api-key

# Optional
BETTER_AUTH_ENV=development|staging|production
LOG_LEVEL=info|debug|error

Security Best Practices

  1. API Key Management

    • Store API keys in environment variables

    • Rotate keys regularly

    • Use different keys per environment

  2. Access Control

    • Implement rate limiting

    • Configure IP allowlists

    • Use principle of least privilege

  3. Monitoring

    • Enable audit logging

    • Monitor auth failures

    • Set up alerts for suspicious activity

Installation

Installing via Smithery

To install Better Auth MCP Server for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install @nahmanmate/better-auth-mcp-server --client claude

To use with Claude Desktop, add the server config:

On MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json On Windows: %APPDATA%/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "better-auth-mcp-server": {
      "command": "node",
      "args": ["/path/to/better-auth-mcp-server/build/index.js"],
      "disabled": false,
      "alwaysAllow": []
    }
  }
}

Debugging

Since MCP servers communicate over stdio, debugging can be challenging. We recommend using the MCP Inspector, which is available as a package script:

npm run inspector

The Inspector will provide a URL to access debugging tools in your browser.

Usage Examples

Project Setup

// Initialize Better-Auth in your project
await mcp.useTool('setup_better_auth', {
  projectPath: './my-next-app',
  config: {
    projectId: process.env.BETTER_AUTH_PROJECT_ID,
    apiKey: process.env.BETTER_AUTH_API_KEY
  }
});

// Test core authentication flows
await mcp.useTool('test_auth_flows', {
  flows: ['login', 'register', '2fa']
});

Migration from Auth.js/NextAuth

// Analyze current auth implementation
await mcp.useTool('analyze_current_auth', {
  projectPath: './my-next-app'
});

// Generate migration steps
await mcp.useTool('generate_migration_plan', {
  projectPath: './my-next-app',
  currentAuthType: 'next-auth'
});

Available Tools

8 tools
analyze_current_authC

Detect and analyze existing auth.js/next-auth implementation

ParametersJSON Schema
NameRequiredDescriptionDefault
projectPathYesPath to the project root

TDQS

C2.9/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries full burden. It states the tool detects and analyzes, but doesn't disclose behavioral traits like what 'analyze' entails (e.g., output format, depth of analysis, whether it modifies files, or if it requires specific permissions). For a tool with zero annotation coverage, this is a significant gap in transparency.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, efficient sentence that directly states the tool's purpose without unnecessary words. It is appropriately sized and front-loaded, with every part earning its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given no annotations, no output schema, and a single parameter with full schema coverage, the description is incomplete. It doesn't explain what the analysis returns, how results are presented, or any behavioral context needed for effective use. For a tool with 'analyze' in its name, this lack of output information is a notable gap.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema description coverage is 100%, with the single parameter 'projectPath' well-documented in the schema. The description adds no additional meaning about parameters beyond what the schema provides, such as format expectations or examples. Baseline 3 is appropriate when the schema does the heavy lifting.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's purpose: 'Detect and analyze existing auth.js/next-auth implementation.' It specifies the action (detect and analyze) and the target resource (auth.js/next-auth implementation). However, it doesn't explicitly differentiate from siblings like 'analyze_project' or 'setup_better_auth' which might have overlapping scopes.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus alternatives. It doesn't mention prerequisites, appropriate contexts, or exclusions. With siblings like 'analyze_project' (broader analysis) and 'setup_better_auth' (implementation-focused), the lack of differentiation leaves usage ambiguous.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

analyze_logsC

Analyze Better-Auth logs for issues

ParametersJSON Schema
NameRequiredDescriptionDefault
timeRangeYesTime range to analyze (e.g. '24h', '7d')

TDQS

C2.6/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries the full burden of behavioral disclosure. It mentions analyzing logs for issues but does not specify whether this is a read-only operation, what permissions are required, how results are returned, or any rate limits. This is a significant gap for a tool that likely involves data processing without structured safety hints.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, efficient sentence that directly states the tool's function. It is front-loaded and wastes no words, though it could benefit from more detail to improve utility. The brevity is appropriate but borders on under-specification given the lack of additional context.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the complexity of log analysis and the absence of annotations and output schema, the description is incomplete. It does not explain what 'analyze' entails, what issues it detects, or the format of results. With no structured fields to compensate, the description fails to provide sufficient context for effective tool use.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema has 100% description coverage, with the single parameter 'timeRange' documented as 'Time range to analyze (e.g., '24h', '7d')'. The description does not add any meaning beyond this, such as default values or constraints. With high schema coverage, the baseline score of 3 is appropriate as the schema handles the parameter documentation adequately.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states the tool's purpose as analyzing Better-Auth logs for issues, which is clear but vague. It specifies the resource (Better-Auth logs) and general action (analyze for issues), but lacks specificity on what 'analyze' entails or what types of issues it detects. It does not distinguish from siblings like 'analyze_current_auth' or 'monitor_auth_flows', which might have overlapping functions.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus alternatives. With siblings such as 'analyze_current_auth', 'monitor_auth_flows', and 'test_security', there is no indication of context, prerequisites, or exclusions. This leaves the agent without direction on selecting the appropriate tool for log analysis tasks.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

analyze_projectC

Analyze project structure and dependencies to recommend Better-Auth setup approach

ParametersJSON Schema
NameRequiredDescriptionDefault
projectPathYesPath to the project root

TDQS

C2.9/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries the full burden of behavioral disclosure. It states the tool analyzes and recommends, but doesn't disclose critical traits: whether it's read-only or mutating, what permissions are needed, if it has side effects, rate limits, or what the output looks like. For a tool with no annotations, this is a significant gap in transparency.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, efficient sentence that front-loads the core purpose without unnecessary words. It directly states what the tool does, making it appropriately sized and structured for clarity.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the complexity (analysis and recommendation tool), lack of annotations, and no output schema, the description is incomplete. It doesn't explain what the analysis entails, what the recommendation output includes, or behavioral aspects like safety or performance. With no structured fields to compensate, the description should provide more context to be fully helpful.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema has 100% description coverage, with 'projectPath' clearly documented as 'Path to the project root.' The description adds no additional parameter semantics beyond what the schema provides. According to the rules, with high schema coverage (>80%), the baseline is 3 even with no param info in the description.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's purpose: 'Analyze project structure and dependencies to recommend Better-Auth setup approach.' It specifies the verb ('analyze'), resource ('project structure and dependencies'), and outcome ('recommend Better-Auth setup approach'). However, it doesn't explicitly differentiate from siblings like 'analyze_current_auth' or 'setup_better_auth', which would require a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus alternatives. With siblings like 'analyze_current_auth', 'setup_better_auth', and 'generate_migration_plan', there's no indication of context, prerequisites, or exclusions. The description implies usage for analysis but lacks explicit when/when-not instructions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

generate_migration_planC

Create step-by-step migration plan from existing auth to Better-Auth

ParametersJSON Schema
NameRequiredDescriptionDefault
projectPathYesPath to the project root
currentAuthTypeYesCurrent authentication system type

TDQS

C2.9/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the full burden of behavioral disclosure. It states the tool creates a plan, implying a read-only or advisory operation, but doesn't clarify if it modifies files, requires specific permissions, has side effects, or details output format (e.g., markdown, JSON). For a tool with zero annotation coverage, this is a significant gap in transparency.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, efficient sentence that front-loads the core action ('Create step-by-step migration plan') and specifies the context ('from existing auth to Better-Auth'). There is zero waste or redundancy, making it highly concise and well-structured for quick understanding.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the complexity of migration planning, no annotations, and no output schema, the description is incomplete. It doesn't address behavioral aspects (e.g., whether it generates code snippets or just documentation), output details, or integration with sibling tools. This leaves gaps for an AI agent to understand the tool's full context and usage.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, with both parameters well-documented in the schema ('projectPath' and 'currentAuthType' with enum values). The description adds no additional parameter semantics beyond what the schema provides, such as format examples for 'projectPath' or implications of 'currentAuthType' choices. Baseline 3 is appropriate when the schema does the heavy lifting.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the verb ('Create') and resource ('step-by-step migration plan') with the specific context ('from existing auth to Better-Auth'). It distinguishes from siblings like 'analyze_current_auth' or 'setup_better_auth' by focusing on planning rather than analysis or implementation. However, it doesn't explicitly differentiate from all siblings (e.g., 'monitor_auth_flows' or 'test_auth_flows'), keeping it at a 4 rather than a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus alternatives. It doesn't mention prerequisites (e.g., should 'analyze_current_auth' be run first?), exclusions (e.g., not for non-migration scenarios), or comparisons to siblings like 'setup_better_auth' (which might handle implementation). This lack of contextual usage information limits its effectiveness for an AI agent.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

monitor_auth_flowsC

Real-time monitoring of authentication processes

ParametersJSON Schema
NameRequiredDescriptionDefault
durationYesMonitoring duration (e.g. '1h', '30m')

TDQS

C2.6/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries the full burden of behavioral disclosure. It mentions 'real-time monitoring' but does not explain what this entails—e.g., whether it streams data, requires specific permissions, has side effects, or how results are returned. This leaves critical behavioral traits unspecified for a monitoring tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, efficient sentence with no wasted words. It is front-loaded with the core purpose, though it could be more structured by including key details. It earns a high score for brevity but loses a point for under-specification relative to the tool's complexity.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the complexity of a monitoring tool with no annotations and no output schema, the description is incomplete. It lacks details on behavior, output format, error handling, or integration with sibling tools. This makes it inadequate for an agent to understand the full context of use.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema has 100% description coverage, with the 'duration' parameter fully documented. The description does not add any meaning beyond the schema, as it does not mention parameters at all. Baseline score is 3 since the schema adequately covers the single parameter.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description 'Real-time monitoring of authentication processes' states a general purpose but lacks specificity about what 'monitoring' entails (e.g., observing, logging, alerting) and does not distinguish it from sibling tools like 'analyze_current_auth' or 'test_auth_flows'. It uses a verb ('monitoring') but is vague about the resource scope and operational details.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance is provided on when to use this tool versus alternatives such as 'analyze_current_auth' for static analysis or 'test_auth_flows' for testing. The description implies a real-time context but does not specify prerequisites, exclusions, or comparative use cases with sibling tools.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

setup_better_authC

Install and configure Better-Auth in the project

ParametersJSON Schema
NameRequiredDescriptionDefault
projectPathYesPath to the project root
configYesBetter-Auth configuration options

TDQS

C2.9/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the full burden of behavioral disclosure. It mentions 'Install and configure,' implying a mutation operation, but fails to detail critical aspects like required permissions, whether it modifies existing files, potential side effects, or error handling. This leaves significant gaps for safe and effective use.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, direct sentence that efficiently conveys the core action without unnecessary words. It is front-loaded and wastes no space, making it highly concise and well-structured for quick comprehension.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the complexity of a setup/configuration tool with no annotations and no output schema, the description is insufficient. It lacks details on what 'Install and configure' entails operationally, expected outcomes, error scenarios, or how it interacts with sibling tools, making it incomplete for informed agent use.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema has 100% description coverage, clearly documenting the two parameters ('projectPath' and 'config') and their nested properties. The description does not add any extra meaning beyond the schema, such as explaining the purpose of 'config' options or providing examples, so it meets the baseline for adequate but unenriched parameter information.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the action ('Install and configure') and the target resource ('Better-Auth in the project'), making the purpose understandable. However, it does not explicitly differentiate this tool from siblings like 'analyze_current_auth' or 'generate_migration_plan', which might involve related but distinct operations, so it falls short of a perfect score.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus alternatives, such as whether it's for initial setup versus updates, or how it relates to sibling tools like 'analyze_current_auth' or 'test_auth_flows'. It lacks context on prerequisites or exclusions, leaving usage ambiguous.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

test_auth_flowsC

Test authentication workflows

ParametersJSON Schema
NameRequiredDescriptionDefault
flowsYesAuthentication flows to test

TDQS

C2.7/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries the full burden of behavioral disclosure. It states 'Test authentication workflows' but doesn't explain what the tool does (e.g., simulates flows, validates configurations, returns results), potential side effects (e.g., non-destructive testing), or any constraints like rate limits. This is inadequate for a tool with no annotation coverage.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is extremely concise with just three words, front-loading the core purpose without any wasted text. It's appropriately sized for a simple tool, though this brevity contributes to gaps in other dimensions.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given no annotations and no output schema, the description is incomplete. It doesn't explain what 'testing' involves, what results to expect, or how it differs from siblings, leaving the agent with insufficient context to use the tool effectively. This is a notable shortfall for a tool with one parameter but critical behavioral unknowns.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema has 100% description coverage, with the 'flows' parameter clearly documented as 'Authentication flows to test' and an enum of options. The description adds no additional meaning beyond this, so it meets the baseline of 3 where the schema does the heavy lifting, but doesn't compensate or enhance parameter understanding.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description 'Test authentication workflows' states the general purpose (testing) and domain (authentication workflows), but it's vague about what 'test' entails (e.g., validation, simulation, performance) and doesn't differentiate from siblings like 'monitor_auth_flows' or 'test_security'. It avoids tautology by not just restating the name, but lacks specificity.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance is provided on when to use this tool versus alternatives. It doesn't mention prerequisites, context (e.g., during development or debugging), or exclusions, leaving the agent to infer usage from the name alone. This is a significant gap given siblings like 'monitor_auth_flows' and 'test_security' that might overlap.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

test_securityC

Run security tests on Better-Auth setup

ParametersJSON Schema
NameRequiredDescriptionDefault
testsYes

TDQS

C2.8/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the full burden of behavioral disclosure. It mentions 'Run security tests' but doesn't specify what this entails—whether it's a read-only diagnostic, a destructive test, requires specific permissions, has side effects, or details about output format. This leaves significant gaps for a security testing tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, efficient sentence with no wasted words, clearly front-loading the core action. It's appropriately sized for a simple tool, making it easy to parse quickly.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the complexity of security testing, no annotations, no output schema, and low schema coverage, the description is inadequate. It lacks details on behavior, parameters, and expected results, making it incomplete for effective tool selection and invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, and the description provides no information about the 'tests' parameter beyond what's implied by the tool name. It doesn't explain the enum values ('password-policy', 'rate-limiting', 'session-management') or their meanings, failing to compensate for the low schema coverage.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the verb ('Run') and resource ('security tests') with specific context ('on Better-Auth setup'), making the purpose understandable. However, it doesn't explicitly differentiate from sibling tools like 'test_auth_flows' or 'analyze_current_auth', which might cover overlapping security aspects.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance is provided on when to use this tool versus alternatives like 'test_auth_flows' or 'analyze_current_auth'. The description lacks context about prerequisites, timing, or exclusions, leaving the agent to infer usage based on tool names alone.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

TDQS

B3.2/5.0
Disambiguation4/5

Most tools have distinct purposes, such as analyze_current_auth for detection, setup_better_auth for installation, and test_security for security testing. However, analyze_logs and monitor_auth_flows could be slightly confused as both involve monitoring aspects, though analyze_logs focuses on historical logs while monitor_auth_flows is real-time. Overall, the descriptions help clarify boundaries, but there is minor overlap in monitoring-related tools.

Naming Consistency5/5

All tool names follow a consistent verb_noun pattern with snake_case, such as analyze_current_auth, generate_migration_plan, and test_auth_flows. The verbs (analyze, generate, monitor, setup, test) are clear and predictable, making the naming highly consistent and readable throughout the set.

Tool Count5/5

With 8 tools, the count is well-scoped for a server focused on Better-Auth migration and management. Each tool earns its place by covering distinct aspects like analysis, setup, testing, and monitoring, providing a comprehensive yet manageable surface without being overly sparse or bloated.

Completeness4/5

The tool set covers key areas for Better-Auth migration, including analysis, setup, testing, and monitoring, with no major gaps in the core workflow. However, there might be minor gaps, such as tools for updating or customizing Better-Auth configurations post-setup, but agents can likely work around these with existing tools like setup_better_auth and test_auth_flows.

Maintenance

ActivityInactive
ResponsivenessSyncing

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

  • -
    license
    Not graded
    quality
    Not graded
    maintenance
    Enables secure management of CTERA Portal file systems and administration through OAuth 2.1 authentication. Provides enterprise-grade access to CTERA operations including directory browsing, user management, and team portal administration with proper authentication and authorization controls.
  • A
    license
    Not graded
    quality
    C
    maintenance
    Provides an enterprise-grade Model Context Protocol implementation with advanced security features including multi-factor authentication, encryption, and RBAC. Enables secure tool management and context handling for production deployments with comprehensive monitoring and high availability.
    16
    2
    Apache 2.0
  • A
    license
    A
    quality
    D
    maintenance
    MCP server for enterprise authentication and authorization — JWT validation, OIDC token inspection, OAuth 2.0 introspection, and role-based access control for AI agents.
    8
    MIT

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/LexiconAlex/better-auth-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server