UpdateMcpServerBody
Request body for updating a McpServer.
Definition
TypeScript
interface UpdateMcpServerBody {
name?: string | undefined;
url?: string | undefined;
authType?: "none" | "oauth" | "api_key" | undefined;
apiKey?: string | undefined;
oauthClientId?: string | undefined;
oauthClientSecret?: string | undefined;
oauthTokenEndpoint?: string | undefined;
oauthAuthorizationEndpoint?: string | undefined;
oauthScopes?: string | undefined;
headers?: Record<string, unknown> | undefined;
connectorId?: string | undefined;
connectorConfig?: Record<string, unknown> | undefined;
}Fields
| Field | Type | Notes |
|---|---|---|
name | string | undefined | optional — New name |
url | string | undefined | optional — New URL |
authType | "none" | "oauth" | "api_key" | undefined | optional — New auth method. |
apiKey | string | undefined | optional — New API key (for api_key auth type). |
oauthClientId | string | undefined | optional — New OAuth client ID. |
oauthClientSecret | string | undefined | optional — New OAuth client secret; stored encrypted. |
oauthTokenEndpoint | string | undefined | optional — New OAuth token endpoint URL. |
oauthAuthorizationEndpoint | string | undefined | optional — New OAuth authorization endpoint URL. |
oauthScopes | string | undefined | optional — New OAuth scopes. |
headers | Record<string, unknown> | undefined | optional — Replacement set of extra HTTP headers. |
connectorId | string | undefined | optional — Connector catalog entry backing this server. |
connectorConfig | Record<string, unknown> | undefined | optional — New connector-specific config values. |