# DoctoFam authentication

> Authentication entry point for DoctoFam. Canonical URL: https://www.doctofam.com/auth.md. Updated 2026-09-27.

## REST API

Read the [API reference](https://www.doctofam.com/api/) and [OpenAPI specification](https://api.doctofam.com/api/swagger.json) before selecting an authentication method. Never place credentials in URLs, logs, prompts, or tool output.

## MCP

Connect to https://mcp.doctofam.com/mcp. It uses OAuth 2.0 and advertises protected-resource metadata at https://www.doctofam.com/.well-known/oauth-protected-resource. Request only the scopes needed for the task.

## Scopes

- `doctofam:read`
