McpServerRequest
Request to create/update an MCP server.
Shape: object
| Property | Required | Type | Description | Rules |
|---|---|---|---|---|
description |
no | string |
Description. | — |
endpoint |
yes | string |
Server address. Only http and https are accepted. |
— |
transport |
no | McpTransportMode |
Transport mode. | — |
authorizationConfigurationKey |
no | string |
Configuration key the Authorization header’s value is read from. Example: AgentPrism:McpSecrets:GithubToken. |
— |
headers |
no | object |
Extra request headers. Must not carry secrets — these values are stored as-is and appear in the listing endpoint. | — |
enabled |
no | boolean |
Whether the server is enabled. | — |
requiresApproval |
no | boolean |
Whether this server’s tools require approval. Default true. |
— |
oauthEnabled |
no | boolean |
Whether OAuth authentication is enabled. While on, AuthorizationConfigurationKey must be empty. |
— |
oauthClientId |
no | string |
OAuth client identifier. | — |
oauthClientSecretConfigurationKey |
no | string |
Configuration key the OAuth client secret’s value is read from. The value itself is not sent; only the key’s name is. | — |
oauthScopes |
no | string |
Space-separated list of OAuth scopes. | — |
oauthAuthorizationMode |
no | McpOAuthAuthorizationMode |
OAuth authorization flow. | — |