auth-mcp

v1.3.2
@dotzero.ai/auth-mcp Checked 1 day ago Published 1 month ago

MCP server for centralized DotZero authentication

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

auth_login Login to DotZero

Authenticate with DotZero to obtain a JWT token. Two modes: - Browser login (recommended): provide only tenant_id → opens a browser form where user enters credentials securely (password never seen by AI) - Direct login: provide tenant_id + email + password IMPORTANT: You must ask the user for their tenant_id if not known. IMPORTANT: Prefer browser login — do NOT ask for password unless user explicitly provides it. Returns: JWT token and refresh token for use with other DotZero services.

ParameterTypeDescription
tenant_id *stringTenant ID for authentication (ask user if not known)
emailstringUser email address — omit to use browser login (password not sent through AI)
passwordstringUser password — omit to open browser login form

auth_refresh Refresh Token

Refresh an expired JWT token using a refresh token. Use this tool when your JWT token has expired but you still have a valid refresh token. Args: - refresh_token (string): Refresh token from a previous login - tenant_id (string): Tenant ID for authentication Returns: New JWT token and refresh token.

ParameterTypeDescription
refresh_token *stringRefresh token from a previous login
tenant_id *stringTenant ID for authentication

auth_status Check Auth Configuration

Check the authentication configuration status. Returns: Current User API URL and configuration status. Note: This MCP server provides tokens for use with other services. Each service manages its own authenticated state.