Skip to main content
Glama
nahmanmate

Better Auth MCP Server

by nahmanmate

analyze_project

Analyze project structure and dependencies to determine the optimal authentication setup approach for your application.

Instructions

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

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
projectPathYesPath to the project root

Implementation Reference

  • The handler function for the 'analyze_project' tool. It extracts the projectPath from arguments, logs the analysis start, and returns a text content confirming completion. Note: currently a placeholder implementation.
    case "analyze_project": {
      const { projectPath } = request.params.arguments as { projectPath: string };
      logger.info(`Analyzing project at ${projectPath}`);
      // Implementation would analyze package.json, framework usage, etc.
      return {
        content: [{
          type: "text",
          text: `Project analysis complete for ${projectPath}`
        }]
      };
    }
  • src/index.ts:60-73 (registration)
    Registration of the 'analyze_project' tool in the ListTools response, including name, description, and input schema definition.
    {
      name: "analyze_project",
      description: "Analyze project structure and dependencies to recommend Better-Auth setup approach",
      inputSchema: {
        type: "object",
        properties: {
          projectPath: {
            type: "string",
            description: "Path to the project root"
          }
        },
        required: ["projectPath"]
      }
    },
  • Input schema definition for the 'analyze_project' tool, specifying the required 'projectPath' parameter.
    inputSchema: {
      type: "object",
      properties: {
        projectPath: {
          type: "string",
          description: "Path to the project root"
        }
      },
      required: ["projectPath"]
    }

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/nahmanmate/better-auth-mcp-server'

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