Skip to main content

McpConnectionMutations

No description

type McpConnectionMutations {
suggestMcpToolTier(
integrationId: Long!
toolName: String!
expectedDefinitionHash: String!
aiIntegrationId: Long!
model: String!
): McpConnectionTool
syncMcpConnection(
integrationId: Long!
): McpConnectionDetail
approveMcpTools(
integrationId: Long!
approvals: [McpToolApprovalInput!]!
): McpConnectionDetail
revokeMcpTools(
integrationId: Long!
toolNames: [String!]!
): McpConnectionDetail
testMcpConnection(
config: String!
secret: String
integrationId: Long
): String
}

Fields​

McpConnectionMutations.suggestMcpToolTier ● McpConnectionTool object​

Suggest a tier for one current tool definition; never approves (requires canManageIntegrations)

McpConnectionMutations.suggestMcpToolTier.integrationId ● Long! non-null scalar​
McpConnectionMutations.suggestMcpToolTier.toolName ● String! non-null scalar​
McpConnectionMutations.suggestMcpToolTier.expectedDefinitionHash ● String! non-null scalar​
McpConnectionMutations.suggestMcpToolTier.aiIntegrationId ● Long! non-null scalar​
McpConnectionMutations.suggestMcpToolTier.model ● String! non-null scalar​

McpConnectionMutations.syncMcpConnection ● McpConnectionDetail object​

Contact the server now and reconcile the tool ledger (requires canManageIntegrations)

McpConnectionMutations.syncMcpConnection.integrationId ● Long! non-null scalar​

McpConnectionMutations.approveMcpTools ● McpConnectionDetail object​

Approve tools at an access tier, pinning the reviewed definitions

McpConnectionMutations.approveMcpTools.integrationId ● Long! non-null scalar​
McpConnectionMutations.approveMcpTools.approvals ● [McpToolApprovalInput!]! non-null input​

McpConnectionMutations.revokeMcpTools ● McpConnectionDetail object​

Revoke previously approved tools

McpConnectionMutations.revokeMcpTools.integrationId ● Long! non-null scalar​
McpConnectionMutations.revokeMcpTools.toolNames ● [String!]! non-null scalar​

McpConnectionMutations.testMcpConnection ● String scalar​

Handshake with an MCP server without saving: discovery IS the connection test

McpConnectionMutations.testMcpConnection.config ● String! non-null scalar​
McpConnectionMutations.testMcpConnection.secret ● String scalar​
McpConnectionMutations.testMcpConnection.integrationId ● Long scalar​

Returned By​

mcpConnections mutation