Skip to content

Commit 1fd9026

Browse files
docs(cli): document MCP OAuth resource override (#1327)
1 parent 9bd00bb commit 1fd9026

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

docs/cli/configuration/mcp.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -312,6 +312,7 @@ The `oauth` object on an **http** or **sse** server supports:
312312
| Field | Type | Description |
313313
| :---- | :--- | :---------- |
314314
| `scopes` | `string[]` | OAuth scopes to request instead of the discovered defaults |
315+
| `resource` | `string \| false` | OAuth resource indicator to send instead of the normalized MCP server URL; set to `false` to omit it |
315316
| `authorizationServerIssuer` | `string` | Authorization server issuer URL. Required when `clientId` / `clientSecret` are set. |
316317
| `clientId` | `string` | Pre-registered OAuth client ID, skipping dynamic registration |
317318
| `clientSecret` | `string` | Client secret for the pre-registered client |

docs/jp/cli/configuration/mcp.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -312,6 +312,7 @@ OAuthトークンはシステムキーリング(またはフォールバック
312312
| フィールド || 説明 |
313313
| :---- | :--- | :---------- |
314314
| `scopes` | `string[]` | 検出されたデフォルトの代わりに要求する OAuth スコープ |
315+
| `resource` | `string \| false` | 正規化された MCP サーバー URL の代わりに送信する OAuth リソースインジケーター。`false` に設定すると省略します |
315316
| `authorizationServerIssuer` | `string` | 認可サーバーの issuer URL。`clientId` / `clientSecret` を設定する場合は必須です。 |
316317
| `clientId` | `string` | Dynamic Client Registration をスキップして使う、事前登録済みの OAuth クライアント ID |
317318
| `clientSecret` | `string` | 事前登録済みクライアント用のクライアントシークレット |

0 commit comments

Comments
 (0)