monitor_auth_flows
Track and analyze authentication processes in real-time using the monitoring tool for Better Auth MCP Server. Specify duration (e.g., '1h', '30m') to oversee and optimize secure credential handling and multi-protocol auth systems.
Instructions
Real-time monitoring of authentication processes
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| duration | Yes | Monitoring duration (e.g. '1h', '30m') |
Implementation Reference
- src/index.ts:296-306 (handler)The handler function for the 'monitor_auth_flows' tool. It extracts the duration argument, logs the start of monitoring, and returns a text response indicating completion.case "monitor_auth_flows": { const { duration } = request.params.arguments as { duration: string }; logger.info(`Starting auth flow monitoring for duration: ${duration}`); // Implementation would monitor auth processes return { content: [{ type: "text", text: `Auth flow monitoring complete for duration: ${duration}` }] }; }
- src/index.ts:183-196 (registration)Registration of the 'monitor_auth_flows' tool in the listTools handler, including its name, description, and input schema.{ name: "monitor_auth_flows", description: "Real-time monitoring of authentication processes", inputSchema: { type: "object", properties: { duration: { type: "string", description: "Monitoring duration (e.g. '1h', '30m')" } }, required: ["duration"] } }