Mutation
mutation CompleteSidekickMcpServerConnection($input: CompleteSidekickMcpServerConnectionInput!) {
completeSidekickMcpServerConnection(input: $input) {
server {
id
slug
name
url
authType
authParams {
name
placement
}
}
error {
message
type
code
fields {
field
message
type
}
}
}
}Variables
{
"input": {
"sidekickMcpServerId": "id",
"nangoConnectionId": "id"
}
}Response
{
"data": {
"completeSidekickMcpServerConnection": {
"server": {
"id": "id",
"slug": "string",
"name": "string",
"url": "string",
"authType": "OAUTH",
"authParams": [
{
"name": "string",
"placement": "HEADER"
}
]
},
"error": {
"message": "string",
"type": "VALIDATION",
"code": "string",
"fields": [
{
"field": "string",
"message": "string",
"type": "VALIDATION"
}
]
}
}
}
}Mutations
completeSidekickMcpServerConnection
Complete a custom MCP server connection after the admin finishes the in-browser OAuth consent: stores the Nango connection, discovers the server’s tools (tools/list), persists the snapshot, and marks the server connected.
MUTATION
completeSidekickMcpServerConnection(input: CompleteSidekickMcpServerConnectionInput!): CompleteSidekickMcpServerConnectionOutput!Arguments
input
server
error
Mutation
mutation CompleteSidekickMcpServerConnection($input: CompleteSidekickMcpServerConnectionInput!) {
completeSidekickMcpServerConnection(input: $input) {
server {
id
slug
name
url
authType
authParams {
name
placement
}
}
error {
message
type
code
fields {
field
message
type
}
}
}
}Variables
{
"input": {
"sidekickMcpServerId": "id",
"nangoConnectionId": "id"
}
}Response
{
"data": {
"completeSidekickMcpServerConnection": {
"server": {
"id": "id",
"slug": "string",
"name": "string",
"url": "string",
"authType": "OAUTH",
"authParams": [
{
"name": "string",
"placement": "HEADER"
}
]
},
"error": {
"message": "string",
"type": "VALIDATION",
"code": "string",
"fields": [
{
"field": "string",
"message": "string",
"type": "VALIDATION"
}
]
}
}
}
}Was this page helpful?

