MCP integration keys (GraphQL)

Related queries and mutations in AI features. Each has its own section.

Queries

getMyMcpIntegrationKeys (query)

getMyMcpIntegrationKeys 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

Retrieve MCP integration keys created by the current user

Arguments

ArgumentTypeDescription
includeCreatedByServiceAccountsBooleanWhether to include the MCP keys created by service accounts Default: true.

Returns

[IntegrationKeyMetadata]

Example

query GetMyMcpIntegrationKeys {
  getMyMcpIntegrationKeys {
    id
    description
    scope
    createdTime
  }
}

Related types

IntegrationKeyMetadata

Mutations

createMcpIntegrationKey (mutation)

createMcpIntegrationKey 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 an MCP integration key

Arguments

ArgumentTypeDescription
descriptionStringKey description

Returns

CreateMcpIntegrationKey

Example

mutation CreateMcpIntegrationKey {
  createMcpIntegrationKey {
    key {
      id
      secret
    }
  }
}

Types used only by createMcpIntegrationKey

CreateMcpIntegrationKey

Object type. Create an MCP integration key

FieldTypeDescription
keyIntegrationKeyIntegration key id and secret (only available once).

Related types

IntegrationKey

deleteMcpIntegrationKey (mutation)

deleteMcpIntegrationKey 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 an MCP integration key created by the current user

Arguments

ArgumentTypeDescription
keyIdString!Integration key id

Returns

DeleteMcpIntegrationKey

Example

mutation DeleteMcpIntegrationKey($keyId: String!) {
  deleteMcpIntegrationKey(keyId: $keyId) {
    deleted
  }
}

Types used only by deleteMcpIntegrationKey

DeleteMcpIntegrationKey

Object type. Delete an MCP integration key created by the current user

FieldTypeDescription
deletedBooleanTrue if the key was deleted, false otherwise

Source: The GraphQL API reference

This page is generated from the GraphQL schema on each release. Changes made in ReadMe are overwritten.