Authentication
Every request to /mcp needs a bearer token in the Authorization header. It’s either an OAuth access token, which your client gets when you sign in, or a Deeper Research API key.
| OAuth sign-in | API key | |
|---|---|---|
| Best for | Interactive agents in your editor | CI, scripts, clients without sign-in support |
| How you set it up | The client opens your browser; you sign in and approve | Create a key in Settings → API keys |
| Token format | Issued by the sign-in server | Starts with dr_live_ |
| Access | Read and start research | Read and start research |
| Default limits | $5 per research, $10 a month | $5 per research, $25 a month |
How sign-in works
Section titled “How sign-in works”The server follows the MCP authorization spec, so clients that support it handle sign-in for you:
- The client calls
/mcpwithout a token. The server answers401 Unauthorizedwith aWWW-Authenticateheader whoseresource_metadatapoints tohttps://deeperesearch.com/.well-known/oauth-protected-resource/mcp. - That metadata (RFC 9728) names the authorization server. The client opens it in your browser.
- You sign in with your Deeper Research account, choose this agent’s spending limits, and approve.
- The client receives an access token and sends it on every request.
If you haven’t finished setting up your account yet, the server answers 403 with onboarding_required. Open deeperesearch.com once to finish setup, then reconnect.
API keys
Section titled “API keys”Create a key in Settings → API keys and send it as:
Authorization: Bearer dr_live_...Access is checked per tool with two scopes:
| Scope | Allows |
|---|---|
research:read |
search_research, list_providers, estimate_research, wait_for_research, get_report, and reading resources |
research:write |
start_research, attach_file, cancel_research, merge_research |
Keys created in Settings and agents that sign in with OAuth get both scopes. A tool called without the scope it needs returns a forbidden error.
Connections and revoking access
Section titled “Connections and revoking access”Each OAuth sign-in and each API key becomes a connection in Settings → Connections. There you can see what each agent has spent, change its limits, or disconnect it. A disconnected agent gets 401 with a message asking you to sign in again.
Research an agent starts is marked in the app with the agent that started it.
Rate limits
Section titled “Rate limits”Requests to /mcp share your organization’s per-minute request limit with the Deeper Research API, so an agent can’t get around it by switching to MCP. Over the limit, the server answers 429 with a Retry-After header in seconds.