# POST /v1/mcp-servers/{}/oauth/authorize is deprecated

v0 API deprecated POST /v1/mcp-servers/{id}/oauth/authorize without giving a shutdown date yet.

v0 API has deprecated OAuth authorization for MCP servers without specifying a shutdown date. This removal affects calls made to the POST /v1/mcp-servers/{id}/oauth/authorize endpoint. Requests sent to this route now fail.

## What to use instead

The documentation names no replacement, and the endpoint now answers 410 Gone.

- API: v0 API (api.v0.dev)
- Kind: Endpoint removal
- Takes effect: no date given yet
- Calls after that day: fail
- Calls it hits: `POST /v1/mcp-servers/{id}/oauth/authorize`
- Source: [Announcement](https://v0.app/docs/api/v1/guides/oauth-mcp-servers)
- Verified: November 6, 2026, against v0 API's own pages
- Page: https://www.okapi.bot/providers/v0-api/breaking-changes/post-v1-mcp-servers-oauth-authorize-is-deprecated/

## v0 API's words

> OAuth authorization for MCP servers through the v0 API is deprecated.

Okapi finds the calls this change hits in your repo and opens the pull request with the fix: https://github.com/apps/okapi-agent
