---
title: "Register a pre-existing OAuth client (DCR fallback)"
method: POST
path: "/api/mcp-oauth/{mcpServerId}/manual-client"
tags: ["MCP OAuth"]
---

# Register a pre-existing OAuth client (DCR fallback)

`POST /api/mcp-oauth/{mcpServerId}/manual-client`

## Path parameters

- `mcpServerId` string, required

## Request body

- object
  - `clientId` string, required
  - `clientSecret` string
  - `authorizationServerIssuer` string, uri
  - `authorizeUrl` string, uri
  - `tokenUrl` string, uri
  - `revocationUrl` string, uri
  - `scopes` string[]

## Response `200`

Pending client stored. Call /authorize to start the flow.

- object
  - `ok` true, required

## Other responses

- `400` — Bad input
- `404` — MCP server not found

---

[API](https://skmtc.net/desplega-ai/apis/agent-swarm-api.md) · [All operations](https://skmtc.net/desplega-ai/apis/agent-swarm-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/desplega-ai/agent-swarm-api/versions/e2028c1ef6f5/schema)
