analyze_project
Analyze project structure and dependencies to determine the optimal setup approach for implementing authentication systems with Better Auth MCP Server.
Instructions
Analyze project structure and dependencies to recommend Better-Auth setup approach
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectPath | Yes | Path to the project root |
Implementation Reference
- src/index.ts:205-215 (handler)The handler function that executes the 'analyze_project' tool logic. It extracts the projectPath from arguments, logs the analysis, and returns a text content response indicating completion (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:61-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"] } },
- src/index.ts:63-72 (schema)Input schema for the 'analyze_project' tool, defining the required 'projectPath' parameter.inputSchema: { type: "object", properties: { projectPath: { type: "string", description: "Path to the project root" } }, required: ["projectPath"] }