Related queries and mutations in AI features. Each has its own section.
Queries
discoverCustomerMcpServerAuth (query)
discoverCustomerMcpServerAuth is a query in the Monte Carlo GraphQL API, in AI features. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: Experimental
Discover OAuth2 authentication capabilities for an MCP server URL. Probes the server's well-known endpoints to determine what auth options are supported: DCR, PKCE, client credentials, scopes, and endpoints.
Arguments
| Argument | Type | Description |
|---|---|---|
mcpServerUrl | String! | MCP server URL to probe |
Returns
McpServerAuthDiscovery!
Example
query DiscoverCustomerMcpServerAuth($mcpServerUrl: String!) {
discoverCustomerMcpServerAuth(mcpServerUrl: $mcpServerUrl) {
authMetadataFound
dcrSupported
pkceSupported
clientCredentialsSupported
pkceClientSecretRequired
codeChallengeMethods
scopes
discoveryUrl
authorizationEndpoint
tokenEndpoint
clientCredentialsTokenEndpoint
registrationEndpoint
tokenEndpointAuthMethods
error
vendor
}
}Types used only by discoverCustomerMcpServerAuth
discoverCustomerMcpServerAuthCustomerMcpIntegrationSource
CustomerMcpIntegrationSourceObject type. An integration whose credentials a new MCP server can be created with
| Field | Type | Description |
|---|---|---|
sourceType | CustomerMcpVendor! | Integration vendor |
uuid | UUID! | Integration UUID |
displayName | String! | Integration name |
eligible | Boolean! | Whether the credentials can be copied |
ineligibleReason | String | Why the credentials cannot be copied, when not eligible |
CustomerMcpVendor
CustomerMcpVendorEnum type. A vendor whose MCP server Monte Carlo recognizes from its URL. For some vendors,
a server can be created with the account's integration credentials.
| Value | Description |
|---|---|
LINEAR | |
DATABRICKS | |
DBT_CLOUD | |
GITHUB | |
GITLAB |
McpServerAuthDiscovery
McpServerAuthDiscoveryObject type. OAuth2 authentication capabilities discovered from an MCP server's well-known endpoints
| Field | Type | Description |
|---|---|---|
authMetadataFound | Boolean! | Whether any OAuth2 metadata was found at a well-known endpoint |
dcrSupported | Boolean! | Dynamic Client Registration (RFC 7591) supported — no pre-registered client_id needed |
pkceSupported | Boolean! | Authorization Code + PKCE flow supported (user-facing OAuth2) |
clientCredentialsSupported | Boolean! | Client Credentials flow supported (server-to-server, no user interaction) |
pkceClientSecretRequired | Boolean! | Whether a new server's OAuth client ID for authorization code + PKCE must be supplied with its client secret. Without one, a public client is used and a secret is rejected. |
codeChallengeMethods | [String!]! | PKCE code challenge methods advertised by the server (e.g. 'S256') |
scopes | [String!]! | OAuth2 scopes the server advertises |
discoveryUrl | String | Well-known URL where OAuth2 metadata was found |
authorizationEndpoint | String | OAuth2 authorization endpoint (where users are redirected) |
tokenEndpoint | String | OAuth2 token endpoint |
clientCredentialsTokenEndpoint | String | Token endpoint to use for the client credentials grant. Null when the server's authorization server does not offer the grant. |
registrationEndpoint | String | Dynamic Client Registration endpoint (RFC 7591) |
tokenEndpointAuthMethods | [String!]! | Client auth methods the token endpoint advertises; empty means the server did not say |
error | String | Error message when auth_metadata_found is False |
vendor | CustomerMcpVendor | Vendor recognized from the URL, if any |
integrationSources | [CustomerMcpIntegrationSource!]! | Integrations of the recognized vendor whose credentials a new server can be created with. Empty unless the user can edit MCP servers and integrations. |
Related types
getAiAgentMcpServerAccess (query)
getAiAgentMcpServerAccess is a query in the Monte Carlo GraphQL API, in AI features. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: Experimental
Which customer MCP servers every run of an AI agent may use. An agent that was never configured may use every server.
Arguments
| Argument | Type | Description |
|---|---|---|
agentType | McpServerAgentType! | The agent to look up. |
Returns
Example
query GetAiAgentMcpServerAccess($agentType: McpServerAgentType!) {
getAiAgentMcpServerAccess(agentType: $agentType) {
mode
allowWriteTools
}
}Related types
McpServerAccessOutput, McpServerAgentType
getCustomerMcpServerAuthorizations (query)
getCustomerMcpServerAuthorizations is a query in the Monte Carlo GraphQL API, in AI features. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: Experimental
Users currently authorized on a customer MCP server. Requires permission to edit MCP servers.
Arguments
| Argument | Type | Description |
|---|---|---|
mcpServerUuid | UUID! | UUID of the MCP server |
Returns
[CustomerMcpServerAuthorizationOutput!]!
Example
query GetCustomerMcpServerAuthorizations($mcpServerUuid: UUID!) {
getCustomerMcpServerAuthorizations(mcpServerUuid: $mcpServerUuid) {
uuid
status
authorizedAt
expiresAt
}
}Types used only by getCustomerMcpServerAuthorizations
getCustomerMcpServerAuthorizationsCustomerMcpServerAuthorizationOutput
CustomerMcpServerAuthorizationOutputObject type. A user's OAuth authorization on a customer MCP server
| Field | Type | Description |
|---|---|---|
uuid | UUID! | Authorization identifier, used to revoke it |
user | User! | Who authorized |
status | CustomerMcpAuthorizationStatus! | |
authorizedAt | DateTime | When the user authorized |
expiresAt | DateTime | When the authorization expires, if known |
Related types
CustomerMcpAuthorizationStatus, DateTime, UUID, User
getCustomerMcpServerDeleteImpact (query)
getCustomerMcpServerDeleteImpact is a query in the Monte Carlo GraphQL API, in AI features. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: Experimental
The groups and AI agents that would lose all customer MCP server access if this server were deleted. Requires permission to edit MCP servers.
Arguments
| Argument | Type | Description |
|---|---|---|
uuid | UUID! | UUID of the server to delete. |
Returns
McpServerDeleteImpactOutput!
Example
query GetCustomerMcpServerDeleteImpact($uuid: UUID!) {
getCustomerMcpServerDeleteImpact(uuid: $uuid) {
agents
}
}Types used only by getCustomerMcpServerDeleteImpact
getCustomerMcpServerDeleteImpactMcpServerDeleteImpactOutput
McpServerDeleteImpactOutputObject type. The groups and AI agents that would lose all customer MCP server access if a server were deleted. They have Selected access with only that server.
| Field | Type | Description |
|---|---|---|
groups | [McpServerAccessGroup!]! | Authorization groups whose members would lose MCP server access. |
agents | [McpServerAgentType!]! | AI agents that would lose MCP server access. |
Related types
McpServerAccessGroup, McpServerAgentType, UUID
getCustomerMcpServers (query)
getCustomerMcpServers is a query in the Monte Carlo GraphQL API, in AI features. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: Experimental
Get the account's customer MCP servers. Callers who can edit MCP servers get every server. Everyone else gets only the servers their groups allow.
Arguments
| Argument | Type | Description |
|---|---|---|
uuid | UUID | Filter by specific server UUID |
status | CustomerMcpServerStatus | Filter by status |
Returns
Example
query GetCustomerMcpServers {
getCustomerMcpServers {
uuid
name
description
mcpServerUrl
authType
status
gatewayEndpoint
errorMessage
apiKeyHeaderName
authHeaderNames
userIdHeaderName
userIdFieldType
oauthGrantType
oauthClientId
oauthCallbackUrl
oauthScopes
oauthTokenEndpoint
oauthTokenEndpointAuthMethod
oauthResource
oauthAudience
}
}Related types
CustomerMcpServerOutput, CustomerMcpServerStatus, UUID
getMcpServerOptions (query)
getMcpServerOptions is a query in the Monte Carlo GraphQL API, in AI features. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: Experimental
Every MCP server in the account, for choosing which servers a group or AI agent may use. Requires permission to edit MCP servers, authorization groups, or AI agent settings.
Returns
[McpServerOption!]!
Example
query GetMcpServerOptions {
getMcpServerOptions {
uuid
name
requiresUserAuthorization
}
}Types used only by getMcpServerOptions
getMcpServerOptionsMcpServerOption
McpServerOptionObject type. A customer MCP server that a group or AI agent may be allowed to use.
| Field | Type | Description |
|---|---|---|
uuid | UUID! | Unique identifier of the MCP server. |
name | String! | Display name of the MCP server. |
requiresUserAuthorization | Boolean! | True when each person must connect their own account before agents can use the server. |
Related types
getMyCustomerMcpServers (query)
getMyCustomerMcpServers is a query in the Monte Carlo GraphQL API, in AI features. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: Experimental
Active customer MCP servers the caller's groups allow, ordered by name. Each lists the AI agents that may use it. Requires access to customer MCP servers in AI agents.
Returns
[CustomerMcpServerBasicInfo!]!
Example
query GetMyCustomerMcpServers {
getMyCustomerMcpServers {
uuid
name
description
authType
oauthGrantType
status
userAuthorizationStatus
allowedAgents
}
}Types used only by getMyCustomerMcpServers
getMyCustomerMcpServersCustomerMcpServerBasicInfo
CustomerMcpServerBasicInfoObject type. A customer MCP server the caller's groups allow, with the caller's own connection status and the agents that may use it.
| Field | Type | Description |
|---|---|---|
uuid | UUID! | Unique identifier |
name | String! | Display name |
description | String | Optional description |
authType | CustomerMcpAuthenticationMethod! | Authentication method |
oauthGrantType | CustomerMcpOAuthGrantType | OAuth2 grant type, for OAuth2 servers |
status | CustomerMcpServerStatus! | Server status |
userAuthorizationStatus | CustomerMcpAuthorizationStatus | The caller's connection to this server. Null for OAuth2 client-credentials servers. AUTHORIZED for other servers that don't need a per-user connection. |
allowedAgents | [McpServerAgentType!]! | AI agents whose MCP server access allows this server. Empty when none do. |
Related types
CustomerMcpAuthenticationMethod, CustomerMcpAuthorizationStatus, CustomerMcpOAuthGrantType, CustomerMcpServerStatus, McpServerAgentType, UUID
Mutations
createCustomerMcpServer (mutation)
createCustomerMcpServer is a mutation in the Monte Carlo GraphQL API, in AI features. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: Experimental
Create a new customer MCP server integration
Arguments
| Argument | Type | Description |
|---|---|---|
apiKey | String | API key (required if auth_type=API_KEY; stored in Vault, never exposed) |
apiKeyHeaderName | String | HTTP header name for the API key (default: 'Authorization'). When 'Authorization', value is sent as 'Bearer <key>'. |
assumableRoleArn | String | IAM role the agent assumes to call the server (COLLECTION_AGENT only). Stored in Vault, never exposed. |
authConfig | CustomerMcpAuthConfigUnionInput | Vendor-specific auth settings (GITHUB_APP: a CUSTOMER_GITHUB_APP config). Its type field picks the member. |
authConfigSecrets | [CustomerMcpAuthConfigSecretInput!] | Secrets of the auth config, such as the GitHub App private_key. Replaces all stored secrets; omit to keep them. Stored in Vault, never exposed. |
authHeaders | [CustomerMcpAuthHeaderInput!] | Custom auth headers (API_KEY only), sent literally. May be combined with api_key; names must not collide with it. |
authType | CustomerMcpAuthenticationMethod | Authentication type Default: "NONE". |
dataCollectorUuid | UUID | Data collector whose remote agent calls the server (COLLECTION_AGENT only). Inferred when the account has exactly one data collector with a remote agent. |
description | String | Optional description |
integrationSourceUuid | UUID | Create the server with credentials copied once from this integration, one of the URL's integrationSources. The auth type follows the integration. Cannot be combined with other credentials. The URL may be narrowed to the vendor's read-only endpoint. |
mcpServerUrl | String | URL of the customer's MCP server. Required unless transport is COLLECTION_AGENT, where it defaults to the AWS MCP Server in the agent's region. |
name | String! | Display name for the server |
oauthAudience | String | Provider-specific audience for the token request |
oauthClientId | String | OAuth2 client ID. Required for CLIENT_CREDENTIALS. Optional for AUTHORIZATION_CODE_PKCE, where it is supplied together with oauth_client_secret; omit both to register a client dynamically. |
oauthClientSecret | String | OAuth2 client secret. Required for CLIENT_CREDENTIALS, where it is stored in Vault. Accepted for AUTHORIZATION_CODE_PKCE on servers whose backend registers a confidential client, where it is held by that backend. Never exposed. |
oauthGrantType | CustomerMcpOAuthGrantType | OAuth2 grant type (required if auth_type=OAUTH2) |
oauthResource | String | OAuth2 resource indicator for the token request (RFC 8707) |
oauthScopes | [String] | OAuth2 scopes to request |
oauthTokenEndpoint | String | OAuth2 token endpoint (CLIENT_CREDENTIALS only). Discovered from the server's metadata when omitted. |
oauthTokenEndpointAuthMethod | CustomerMcpTokenEndpointAuthMethod | Client authentication method for the token endpoint (default: CLIENT_SECRET_BASIC) |
profile | CustomerMcpServerProfile | Server-specific rules applied to tool calls. Defaults to GENERIC. |
transport | CustomerMcpTransport | Who calls the server. Defaults to DIRECT. |
userIdFieldType | CustomerMcpUserIdFieldType | Field type for user identity: EMAIL or USER_ID |
userIdHeaderName | String | HTTP header name for user identity forwarding (e.g., 'Arcade-User-ID') |
Returns
CreateCustomerMcpServer
Example
mutation CreateCustomerMcpServer($name: String!) {
createCustomerMcpServer(name: $name) {
customerMcpServer {
uuid
name
description
mcpServerUrl
authType
status
gatewayEndpoint
errorMessage
apiKeyHeaderName
authHeaderNames
userIdHeaderName
userIdFieldType
oauthGrantType
oauthClientId
oauthCallbackUrl
oauthScopes
oauthTokenEndpoint
oauthTokenEndpointAuthMethod
oauthResource
oauthAudience
}
}
}Types used only by createCustomerMcpServer
createCustomerMcpServerCreateCustomerMcpServer
CreateCustomerMcpServerObject type. Create a new customer MCP server integration
| Field | Type | Description |
|---|---|---|
customerMcpServer | CustomerMcpServerOutput | The created MCP server |
Related types
CustomerMcpAuthConfigSecretInput, CustomerMcpAuthConfigUnionInput, CustomerMcpAuthHeaderInput, CustomerMcpAuthenticationMethod, CustomerMcpOAuthGrantType, CustomerMcpServerOutput, CustomerMcpServerProfile, CustomerMcpTokenEndpointAuthMethod, CustomerMcpTransport, CustomerMcpUserIdFieldType, UUID
deleteCustomerMcpServer (mutation)
deleteCustomerMcpServer is a mutation in the Monte Carlo GraphQL API, in AI features. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: Experimental
Delete a customer MCP server integration
Arguments
| Argument | Type | Description |
|---|---|---|
uuid | UUID! | UUID of the server to delete |
Returns
DeleteCustomerMcpServer
Example
mutation DeleteCustomerMcpServer($uuid: UUID!) {
deleteCustomerMcpServer(uuid: $uuid) {
deleted
}
}Types used only by deleteCustomerMcpServer
deleteCustomerMcpServerDeleteCustomerMcpServer
DeleteCustomerMcpServerObject type. Delete a customer MCP server integration
| Field | Type | Description |
|---|---|---|
deleted | Boolean | Whether the server was deleted |
Related types
getCustomerMcpServerAuthorizationUrl (mutation)
getCustomerMcpServerAuthorizationUrl is a mutation in the Monte Carlo GraphQL API, in AI features. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: Experimental
Get OAuth authorization URL for a customer MCP server
Arguments
| Argument | Type | Description |
|---|---|---|
mcpServerUuid | UUID! | UUID of the MCP server |
redirectUri | String! | Where to redirect after authorization |
Returns
GetCustomerMcpServerAuthorizationUrl
Example
mutation GetCustomerMcpServerAuthorizationUrl($mcpServerUuid: UUID!, $redirectUri: String!) {
getCustomerMcpServerAuthorizationUrl(mcpServerUuid: $mcpServerUuid, redirectUri: $redirectUri) {
authorizationUrl
}
}Types used only by getCustomerMcpServerAuthorizationUrl
getCustomerMcpServerAuthorizationUrlGetCustomerMcpServerAuthorizationUrl
GetCustomerMcpServerAuthorizationUrlObject type. Get OAuth authorization URL for a customer MCP server
| Field | Type | Description |
|---|---|---|
authorizationUrl | String | URL to redirect user for OAuth authorization |
Related types
revokeCustomerMcpServerAuthorization (mutation)
revokeCustomerMcpServerAuthorization is a mutation in the Monte Carlo GraphQL API, in AI features. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: Experimental
Revoke authorization for a customer MCP server
Arguments
Returns
RevokeCustomerMcpServerAuthorization
Example
mutation RevokeCustomerMcpServerAuthorization($mcpServerUuid: UUID!) {
revokeCustomerMcpServerAuthorization(mcpServerUuid: $mcpServerUuid) {
revoked
}
}Types used only by revokeCustomerMcpServerAuthorization
revokeCustomerMcpServerAuthorizationRevokeCustomerMcpServerAuthorization
RevokeCustomerMcpServerAuthorizationObject type. Revoke authorization for a customer MCP server
| Field | Type | Description |
|---|---|---|
revoked | Boolean | Whether the authorization was revoked |
Related types
testCustomerMcpServerConnection (mutation)
testCustomerMcpServerConnection is a mutation in the Monte Carlo GraphQL API, in AI features. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: Experimental
Test connectivity to a customer MCP server
Arguments
| Argument | Type | Description |
|---|---|---|
apiKey | String | API key to use during the test |
apiKeyHeaderName | String | HTTP header name for the API key (default: 'Authorization') |
authConfig | CustomerMcpAuthConfigUnionInput | Vendor-specific auth settings (GITHUB_APP: a CUSTOMER_GITHUB_APP config). Its type field picks the member. |
authConfigSecrets | [CustomerMcpAuthConfigSecretInput!] | Secrets of the auth config, such as the GitHub App private_key. Replaces all stored secrets; omit to keep them. Stored in Vault, never exposed. |
authHeaders | [CustomerMcpAuthHeaderInput!] | The complete set of custom auth headers to test (API_KEY only). An entry without a value uses the saved server's stored value; a stored name left out is not sent. Omit to send every stored header. |
authType | CustomerMcpAuthenticationMethod | Authentication type (defaults to the saved server's when uuid is given) |
mcpServerUrl | String | URL to test; defaults to the saved server's URL when uuid is given |
mcpServerUuid | UUID | Test a saved server; omitted OAuth fields resolve from its stored configuration |
oauthAudience | String | Provider-specific audience |
oauthClientId | String | OAuth2 client ID to test |
oauthClientSecret | String | OAuth2 client secret to test; when omitted for a saved server, the stored secret is used |
oauthGrantType | CustomerMcpOAuthGrantType | OAuth2 grant type to test (defaults to the saved server's) |
oauthResource | String | OAuth2 resource indicator |
oauthScopes | [String] | OAuth2 scopes to request |
oauthTokenEndpoint | String | OAuth2 token endpoint to test |
oauthTokenEndpointAuthMethod | CustomerMcpTokenEndpointAuthMethod | Client authentication method for the token endpoint |
userIdFieldType | CustomerMcpUserIdFieldType | Field type for user identity: EMAIL or USER_ID |
userIdHeaderName | String | HTTP header name for user identity (e.g., 'Arcade-User-ID') |
Returns
TestCustomerMcpServerConnection
Example
mutation TestCustomerMcpServerConnection {
testCustomerMcpServerConnection {
success
errorMessage
errorCode
toolsCount
}
}Types used only by testCustomerMcpServerConnection
testCustomerMcpServerConnectionTestCustomerMcpServerConnection
TestCustomerMcpServerConnectionObject type. Test connectivity to a customer MCP server
| Field | Type | Description |
|---|---|---|
success | Boolean! | Whether the connection succeeded |
errorMessage | String | Error details if the connection failed |
errorCode | String | Sanitized error code if the connection failed |
toolsCount | Int | Number of tools discovered (if successful) |
Related types
CustomerMcpAuthConfigSecretInput, CustomerMcpAuthConfigUnionInput, CustomerMcpAuthHeaderInput, CustomerMcpAuthenticationMethod, CustomerMcpOAuthGrantType, CustomerMcpTokenEndpointAuthMethod, CustomerMcpUserIdFieldType, UUID
updateAiAgentMcpServerAccess (mutation)
updateAiAgentMcpServerAccess is a mutation in the Monte Carlo GraphQL API, in AI features. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: Experimental
Set which customer MCP servers every run of an AI agent may use.
Arguments
| Argument | Type | Description |
|---|---|---|
agentType | McpServerAgentType! | The agent to configure. |
allowWriteTools | Boolean | Whether the agent may call write tools on the servers, asking the person in the conversation to confirm each one. Only CHAT supports it, and the account must also allow write tools. Omit to keep the current value. |
mcpServerIds | [UUID!] | MCP server UUIDs the agent may use. Required with SELECTED, and only allowed with it. |
mode | McpServersAccessMode! | Which servers it may use. |
Returns
UpdateAiAgentMcpServerAccess
Example
mutation UpdateAiAgentMcpServerAccess($agentType: McpServerAgentType!, $mode: McpServersAccessMode!) {
updateAiAgentMcpServerAccess(agentType: $agentType, mode: $mode) {
mcpServerAccess {
mode
allowWriteTools
}
}
}Types used only by updateAiAgentMcpServerAccess
updateAiAgentMcpServerAccessUpdateAiAgentMcpServerAccess
UpdateAiAgentMcpServerAccessObject type. Set which customer MCP servers every run of an AI agent may use.
| Field | Type | Description |
|---|---|---|
mcpServerAccess | McpServerAccessOutput! | The agent's access after the update. |
Related types
McpServerAccessOutput, McpServerAgentType, McpServersAccessMode, UUID
updateCustomerMcpServer (mutation)
updateCustomerMcpServer is a mutation in the Monte Carlo GraphQL API, in AI features. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: Experimental
Update an existing customer MCP server integration
Arguments
| Argument | Type | Description |
|---|---|---|
apiKey | String | New API key (required when changing to API_KEY auth) |
apiKeyHeaderName | String | New header name for API key |
assumableRoleArn | String | IAM role the agent assumes to call the server (COLLECTION_AGENT only). Replaces the stored role; never exposed. |
authConfig | CustomerMcpAuthConfigUnionInput | Vendor-specific auth settings (GITHUB_APP: a CUSTOMER_GITHUB_APP config). Its type field picks the member. |
authConfigSecrets | [CustomerMcpAuthConfigSecretInput!] | Secrets of the auth config, such as the GitHub App private_key. Replaces all stored secrets; omit to keep them. Stored in Vault, never exposed. |
authHeaders | [CustomerMcpAuthHeaderInput!] | The complete set of custom auth headers (API_KEY only). An entry without a value keeps the stored value; a stored name left out is removed. Omit to keep every stored header. |
authType | CustomerMcpAuthenticationMethod | New authentication type |
dataCollectorUuid | UUID | Data collector whose remote agent calls the server (COLLECTION_AGENT only). Changing it resets the connection check. |
description | String | New description |
mcpServerUrl | String | New MCP server URL |
name | String | New display name |
oauthAudience | String | New provider-specific audience; an empty string clears it |
oauthClientId | String | New OAuth2 client ID. Supply oauth_client_secret with it; changing the id alone is rejected. |
oauthClientSecret | String | New OAuth2 client secret. Stored in Vault for CLIENT_CREDENTIALS, held by the credential backend for AUTHORIZATION_CODE_PKCE. Omit to keep the stored one. Never exposed. |
oauthGrantType | CustomerMcpOAuthGrantType | New OAuth2 grant type |
oauthResource | String | New OAuth2 resource indicator; an empty string clears it |
oauthScopes | [String] | New OAuth2 scopes |
oauthTokenEndpoint | String | New OAuth2 token endpoint (CLIENT_CREDENTIALS only) |
oauthTokenEndpointAuthMethod | CustomerMcpTokenEndpointAuthMethod | New client authentication method for the token endpoint |
userIdFieldType | CustomerMcpUserIdFieldType | New field type for user identity |
userIdHeaderName | String | New header name for user identity forwarding |
uuid | UUID! | UUID of the server to update |
Returns
UpdateCustomerMcpServer
Example
mutation UpdateCustomerMcpServer($uuid: UUID!) {
updateCustomerMcpServer(uuid: $uuid) {
customerMcpServer {
uuid
name
description
mcpServerUrl
authType
status
gatewayEndpoint
errorMessage
apiKeyHeaderName
authHeaderNames
userIdHeaderName
userIdFieldType
oauthGrantType
oauthClientId
oauthCallbackUrl
oauthScopes
oauthTokenEndpoint
oauthTokenEndpointAuthMethod
oauthResource
oauthAudience
}
}
}Types used only by updateCustomerMcpServer
updateCustomerMcpServerUpdateCustomerMcpServer
UpdateCustomerMcpServerObject type. Update an existing customer MCP server integration
| Field | Type | Description |
|---|---|---|
customerMcpServer | CustomerMcpServerOutput | The updated MCP server |
Related types
CustomerMcpAuthConfigSecretInput, CustomerMcpAuthConfigUnionInput, CustomerMcpAuthHeaderInput, CustomerMcpAuthenticationMethod, CustomerMcpOAuthGrantType, CustomerMcpServerOutput, CustomerMcpTokenEndpointAuthMethod, CustomerMcpUserIdFieldType, UUID
Source: The GraphQL API reference
This page is generated from the GraphQL schema on each release. Changes made in ReadMe are overwritten.
