---
title: "GET /v1/mcp/{serverId}/oauth-url"
method: GET
path: "/v1/mcp/{serverId}/oauth-url"
---

# GET /v1/mcp/{serverId}/oauth-url

`GET /v1/mcp/{serverId}/oauth-url`

Generate an OAuth authorization URL for the given MCP server

## Path parameters

- `serverId` string, required

## Query parameters

- `name` string

## Response `200`

OK

- McpOAuthURLSuccessResponse
  - `code` integer
  - `data` object
  - `message` string
  - `requestId` string

## Other responses

- `400` — Bad Request

---

[API](https://skmtc.dev/b3os/apis/b3os-workflow-api.md) · [All operations](https://skmtc.dev/b3os/apis/b3os-workflow-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/b3os/b3os-workflow-api/revisions/a8c7af3c66a1/schema)
