Community & Engagementmcp:write

configure_greetings

Configure dual-channel welcome and goodbye templates (Components V2, Embed, or Text), welcome DMs, role-safe human and bot auto-roles, and join/leave logs.

readOnlyHint: falseidempotentHint: truedestructiveHint: falseopenWorldHint: false

Overview

Configures GreetingConfig across up to two welcome channels, welcome direct messages, up to two goodbye channels, join/leave forensic log channels, and automatic role assignments for human and bot joins.

All six channel fields are verified against live guild channels via sanitizeGuildChannelId, all auto-roles and role-granting buttons pass isRoleSafeForDelegation (isOwner: false), and all custom external URLs must be public HTTPS addresses.

Permissions

Required Scopes
mcp:write
Discord Role Access
Real Admin or active Temp Admin.
Server-Side Guard
checkManageGuild + isRoleSafeForDelegation (isOwner: false) + cross-guild channel check
Subscription Tier
Available on Free, Pro, and Enterprise.

Input Schema

JSON Schema enforced by the server prior to RBAC and tier validation. Unknown properties are rejected strictly.

configure_greetings.inputSchema.jsonjson
{
  "type": "object",
  "properties": {
    "guildId": {
      "type": "string",
      "pattern": "^\\d{17,22}$",
      "description": "Discord server (guild) snowflake ID."
    },
    "mode": {
      "type": "string",
      "enum": [
        "preview",
        "apply"
      ],
      "default": "preview",
      "description": "Execution mode. Use preview to validate and inspect changes before writing."
    },
    "enabled": {
      "type": "boolean",
      "description": "Master switch for the Greeting module."
    },
    "welcomeEnabled": {
      "type": "boolean",
      "description": "Enable or disable welcome messages."
    },
    "welcomeChannelId": {
      "anyOf": [
        {
          "type": "string",
          "pattern": "^\\d{17,22}$"
        },
        {
          "type": "null"
        }
      ],
      "description": "Primary welcome channel ID (welcome.slot1)."
    },
    "welcomeSecondaryChannelId": {
      "anyOf": [
        {
          "type": "string",
          "pattern": "^\\d{17,22}$"
        },
        {
          "type": "null"
        }
      ],
      "description": "Optional secondary welcome channel ID (welcome.slot2)."
    },
    "goodbyeEnabled": {
      "type": "boolean",
      "description": "Enable or disable goodbye messages."
    },
    "goodbyeChannelId": {
      "anyOf": [
        {
          "type": "string",
          "pattern": "^\\d{17,22}$"
        },
        {
          "type": "null"
        }
      ],
      "description": "Primary goodbye channel ID (goodbye.slot1)."
    },
    "goodbyeSecondaryChannelId": {
      "anyOf": [
        {
          "type": "string",
          "pattern": "^\\d{17,22}$"
        },
        {
          "type": "null"
        }
      ],
      "description": "Optional secondary goodbye channel ID (goodbye.slot2)."
    },
    "welcomeDmEnabled": {
      "type": "boolean",
      "description": "Enable or disable welcome direct messages."
    },
    "style": {
      "type": "string",
      "enum": [
        "container_v2",
        "container",
        "embed",
        "text"
      ],
      "description": "Shorthand layout style applied to primary welcome/goodbye slots."
    },
    "humanAutoRoleIds": {
      "type": "array",
      "items": {
        "type": "string",
        "pattern": "^\\d{17,22}$"
      },
      "maxItems": 10,
      "description": "Delegation-safe roles granted automatically to human members on join."
    },
    "botAutoRoleIds": {
      "type": "array",
      "items": {
        "type": "string",
        "pattern": "^\\d{17,22}$"
      },
      "maxItems": 5,
      "description": "Delegation-safe roles granted automatically to bot accounts on join."
    },
    "joinLeaveLogChannelId": {
      "anyOf": [
        {
          "type": "string",
          "pattern": "^\\d{17,22}$"
        },
        {
          "type": "null"
        }
      ],
      "description": "Shorthand setting both join and leave log channel IDs."
    },
    "joinLogChannelId": {
      "anyOf": [
        {
          "type": "string",
          "pattern": "^\\d{17,22}$"
        },
        {
          "type": "null"
        }
      ],
      "description": "Channel ID for member join forensic logs."
    },
    "leaveLogChannelId": {
      "anyOf": [
        {
          "type": "string",
          "pattern": "^\\d{17,22}$"
        },
        {
          "type": "null"
        }
      ],
      "description": "Channel ID for member leave forensic logs."
    },
    "welcome": {
      "type": "object",
      "properties": {
        "enabled": {
          "type": "boolean"
        },
        "ignoreBots": {
          "type": "boolean"
        },
        "slot1": {
          "type": "object",
          "properties": {
            "enabled": {
              "type": "boolean"
            },
            "channelId": {
              "anyOf": [
                {
                  "type": "string",
                  "pattern": "^\\d{17,22}$"
                },
                {
                  "type": "null"
                }
              ]
            },
            "responseType": {
              "type": "string",
              "enum": [
                "container",
                "container_v2",
                "embed",
                "text"
              ]
            },
            "pingUser": {
              "type": "boolean"
            },
            "deleteAfterSeconds": {
              "type": "integer",
              "minimum": 0,
              "maximum": 86400
            },
            "messageContent": {
              "type": "string",
              "maxLength": 2000
            },
            "container": {
              "type": "object",
              "properties": {
                "accentColor": {
                  "type": "string",
                  "pattern": "^#?[0-9a-fA-F]{6}$"
                },
                "spoiler": {
                  "type": "boolean"
                },
                "blocks": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string",
                        "maxLength": 40
                      },
                      "type": {
                        "type": "string",
                        "enum": [
                          "heading",
                          "text",
                          "footer",
                          "small_text",
                          "divider",
                          "space",
                          "separator",
                          "section",
                          "text_picture",
                          "image",
                          "media"
                        ]
                      },
                      "level": {
                        "type": "string",
                        "enum": [
                          "h1",
                          "h2",
                          "h3"
                        ]
                      },
                      "content": {
                        "type": "string",
                        "maxLength": 4000
                      },
                      "spacing": {
                        "anyOf": [
                          {
                            "type": "string",
                            "enum": [
                              "small",
                              "large"
                            ]
                          },
                          {
                            "type": "integer",
                            "minimum": 1,
                            "maximum": 2
                          }
                        ]
                      },
                      "divider": {
                        "type": "boolean"
                      },
                      "thumbnailUrl": {
                        "type": "string",
                        "maxLength": 2048
                      },
                      "url": {
                        "type": "string",
                        "maxLength": 2048
                      }
                    },
                    "required": [
                      "type"
                    ],
                    "additionalProperties": false
                  },
                  "maxItems": 25
                }
              },
              "additionalProperties": false
            },
            "embed": {
              "type": "object",
              "properties": {
                "color": {
                  "type": "string",
                  "pattern": "^#?[0-9a-fA-F]{6}$"
                },
                "author": {
                  "type": "object",
                  "properties": {
                    "name": {
                      "type": "string",
                      "maxLength": 256
                    },
                    "iconUrl": {
                      "type": "string",
                      "maxLength": 2048
                    },
                    "url": {
                      "type": "string",
                      "maxLength": 2048
                    }
                  },
                  "additionalProperties": false
                },
                "title": {
                  "type": "string",
                  "maxLength": 256
                },
                "url": {
                  "type": "string",
                  "maxLength": 2048
                },
                "description": {
                  "type": "string",
                  "maxLength": 4096
                },
                "thumbnail": {
                  "type": "object",
                  "properties": {
                    "url": {
                      "type": "string",
                      "maxLength": 2048
                    }
                  },
                  "additionalProperties": false
                },
                "image": {
                  "type": "object",
                  "properties": {
                    "url": {
                      "type": "string",
                      "maxLength": 2048
                    }
                  },
                  "additionalProperties": false
                },
                "footer": {
                  "type": "object",
                  "properties": {
                    "text": {
                      "type": "string",
                      "maxLength": 2048
                    },
                    "iconUrl": {
                      "type": "string",
                      "maxLength": 2048
                    }
                  },
                  "additionalProperties": false
                },
                "timestamp": {
                  "type": "boolean"
                },
                "fields": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string",
                        "maxLength": 40
                      },
                      "name": {
                        "type": "string",
                        "maxLength": 256
                      },
                      "value": {
                        "type": "string",
                        "maxLength": 1024
                      },
                      "inline": {
                        "type": "boolean"
                      }
                    },
                    "required": [
                      "name",
                      "value"
                    ],
                    "additionalProperties": false
                  },
                  "maxItems": 25
                }
              },
              "additionalProperties": false
            },
            "buttons": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string",
                    "maxLength": 32
                  },
                  "kind": {
                    "type": "string",
                    "enum": [
                      "wave",
                      "link",
                      "role",
                      "reply"
                    ]
                  },
                  "label": {
                    "type": "string",
                    "maxLength": 80
                  },
                  "style": {
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 5
                  },
                  "emoji": {
                    "anyOf": [
                      {
                        "anyOf": [
                          {
                            "type": "string",
                            "maxLength": 80
                          },
                          {
                            "type": "object",
                            "additionalProperties": {}
                          }
                        ]
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "url": {
                    "type": "string",
                    "maxLength": 512
                  },
                  "roleId": {
                    "type": "string",
                    "maxLength": 24
                  },
                  "roleMode": {
                    "type": "string",
                    "enum": [
                      "toggle",
                      "give"
                    ]
                  },
                  "replyText": {
                    "type": "string",
                    "maxLength": 1800
                  }
                },
                "additionalProperties": false
              },
              "maxItems": 5
            }
          },
          "additionalProperties": false
        },
        "slot2": {
          "type": "object",
          "properties": {
            "enabled": {
              "type": "boolean"
            },
            "channelId": {
              "anyOf": [
                {
                  "type": "string",
                  "pattern": "^\\d{17,22}$"
                },
                {
                  "type": "null"
                }
              ]
            },
            "responseType": {
              "type": "string",
              "enum": [
                "container",
                "container_v2",
                "embed",
                "text"
              ]
            },
            "pingUser": {
              "type": "boolean"
            },
            "deleteAfterSeconds": {
              "type": "integer",
              "minimum": 0,
              "maximum": 86400
            },
            "messageContent": {
              "type": "string",
              "maxLength": 2000
            },
            "container": {
              "type": "object",
              "properties": {
                "accentColor": {
                  "type": "string",
                  "pattern": "^#?[0-9a-fA-F]{6}$"
                },
                "spoiler": {
                  "type": "boolean"
                },
                "blocks": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string",
                        "maxLength": 40
                      },
                      "type": {
                        "type": "string",
                        "enum": [
                          "heading",
                          "text",
                          "footer",
                          "small_text",
                          "divider",
                          "space",
                          "separator",
                          "section",
                          "text_picture",
                          "image",
                          "media"
                        ]
                      },
                      "level": {
                        "type": "string",
                        "enum": [
                          "h1",
                          "h2",
                          "h3"
                        ]
                      },
                      "content": {
                        "type": "string",
                        "maxLength": 4000
                      },
                      "spacing": {
                        "anyOf": [
                          {
                            "type": "string",
                            "enum": [
                              "small",
                              "large"
                            ]
                          },
                          {
                            "type": "integer",
                            "minimum": 1,
                            "maximum": 2
                          }
                        ]
                      },
                      "divider": {
                        "type": "boolean"
                      },
                      "thumbnailUrl": {
                        "type": "string",
                        "maxLength": 2048
                      },
                      "url": {
                        "type": "string",
                        "maxLength": 2048
                      }
                    },
                    "required": [
                      "type"
                    ],
                    "additionalProperties": false
                  },
                  "maxItems": 25
                }
              },
              "additionalProperties": false
            },
            "embed": {
              "type": "object",
              "properties": {
                "color": {
                  "type": "string",
                  "pattern": "^#?[0-9a-fA-F]{6}$"
                },
                "author": {
                  "type": "object",
                  "properties": {
                    "name": {
                      "type": "string",
                      "maxLength": 256
                    },
                    "iconUrl": {
                      "type": "string",
                      "maxLength": 2048
                    },
                    "url": {
                      "type": "string",
                      "maxLength": 2048
                    }
                  },
                  "additionalProperties": false
                },
                "title": {
                  "type": "string",
                  "maxLength": 256
                },
                "url": {
                  "type": "string",
                  "maxLength": 2048
                },
                "description": {
                  "type": "string",
                  "maxLength": 4096
                },
                "thumbnail": {
                  "type": "object",
                  "properties": {
                    "url": {
                      "type": "string",
                      "maxLength": 2048
                    }
                  },
                  "additionalProperties": false
                },
                "image": {
                  "type": "object",
                  "properties": {
                    "url": {
                      "type": "string",
                      "maxLength": 2048
                    }
                  },
                  "additionalProperties": false
                },
                "footer": {
                  "type": "object",
                  "properties": {
                    "text": {
                      "type": "string",
                      "maxLength": 2048
                    },
                    "iconUrl": {
                      "type": "string",
                      "maxLength": 2048
                    }
                  },
                  "additionalProperties": false
                },
                "timestamp": {
                  "type": "boolean"
                },
                "fields": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string",
                        "maxLength": 40
                      },
                      "name": {
                        "type": "string",
                        "maxLength": 256
                      },
                      "value": {
                        "type": "string",
                        "maxLength": 1024
                      },
                      "inline": {
                        "type": "boolean"
                      }
                    },
                    "required": [
                      "name",
                      "value"
                    ],
                    "additionalProperties": false
                  },
                  "maxItems": 25
                }
              },
              "additionalProperties": false
            },
            "buttons": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string",
                    "maxLength": 32
                  },
                  "kind": {
                    "type": "string",
                    "enum": [
                      "wave",
                      "link",
                      "role",
                      "reply"
                    ]
                  },
                  "label": {
                    "type": "string",
                    "maxLength": 80
                  },
                  "style": {
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 5
                  },
                  "emoji": {
                    "anyOf": [
                      {
                        "anyOf": [
                          {
                            "type": "string",
                            "maxLength": 80
                          },
                          {
                            "type": "object",
                            "additionalProperties": {}
                          }
                        ]
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "url": {
                    "type": "string",
                    "maxLength": 512
                  },
                  "roleId": {
                    "type": "string",
                    "maxLength": 24
                  },
                  "roleMode": {
                    "type": "string",
                    "enum": [
                      "toggle",
                      "give"
                    ]
                  },
                  "replyText": {
                    "type": "string",
                    "maxLength": 1800
                  }
                },
                "additionalProperties": false
              },
              "maxItems": 5
            }
          },
          "additionalProperties": false
        },
        "dm": {
          "type": "object",
          "properties": {
            "enabled": {
              "type": "boolean"
            },
            "channelId": {
              "anyOf": [
                {
                  "type": "string",
                  "pattern": "^\\d{17,22}$"
                },
                {
                  "type": "null"
                }
              ]
            },
            "responseType": {
              "type": "string",
              "enum": [
                "container",
                "container_v2",
                "embed",
                "text"
              ]
            },
            "pingUser": {
              "type": "boolean"
            },
            "deleteAfterSeconds": {
              "type": "integer",
              "minimum": 0,
              "maximum": 86400
            },
            "messageContent": {
              "type": "string",
              "maxLength": 2000
            },
            "container": {
              "type": "object",
              "properties": {
                "accentColor": {
                  "type": "string",
                  "pattern": "^#?[0-9a-fA-F]{6}$"
                },
                "spoiler": {
                  "type": "boolean"
                },
                "blocks": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string",
                        "maxLength": 40
                      },
                      "type": {
                        "type": "string",
                        "enum": [
                          "heading",
                          "text",
                          "footer",
                          "small_text",
                          "divider",
                          "space",
                          "separator",
                          "section",
                          "text_picture",
                          "image",
                          "media"
                        ]
                      },
                      "level": {
                        "type": "string",
                        "enum": [
                          "h1",
                          "h2",
                          "h3"
                        ]
                      },
                      "content": {
                        "type": "string",
                        "maxLength": 4000
                      },
                      "spacing": {
                        "anyOf": [
                          {
                            "type": "string",
                            "enum": [
                              "small",
                              "large"
                            ]
                          },
                          {
                            "type": "integer",
                            "minimum": 1,
                            "maximum": 2
                          }
                        ]
                      },
                      "divider": {
                        "type": "boolean"
                      },
                      "thumbnailUrl": {
                        "type": "string",
                        "maxLength": 2048
                      },
                      "url": {
                        "type": "string",
                        "maxLength": 2048
                      }
                    },
                    "required": [
                      "type"
                    ],
                    "additionalProperties": false
                  },
                  "maxItems": 25
                }
              },
              "additionalProperties": false
            },
            "embed": {
              "type": "object",
              "properties": {
                "color": {
                  "type": "string",
                  "pattern": "^#?[0-9a-fA-F]{6}$"
                },
                "author": {
                  "type": "object",
                  "properties": {
                    "name": {
                      "type": "string",
                      "maxLength": 256
                    },
                    "iconUrl": {
                      "type": "string",
                      "maxLength": 2048
                    },
                    "url": {
                      "type": "string",
                      "maxLength": 2048
                    }
                  },
                  "additionalProperties": false
                },
                "title": {
                  "type": "string",
                  "maxLength": 256
                },
                "url": {
                  "type": "string",
                  "maxLength": 2048
                },
                "description": {
                  "type": "string",
                  "maxLength": 4096
                },
                "thumbnail": {
                  "type": "object",
                  "properties": {
                    "url": {
                      "type": "string",
                      "maxLength": 2048
                    }
                  },
                  "additionalProperties": false
                },
                "image": {
                  "type": "object",
                  "properties": {
                    "url": {
                      "type": "string",
                      "maxLength": 2048
                    }
                  },
                  "additionalProperties": false
                },
                "footer": {
                  "type": "object",
                  "properties": {
                    "text": {
                      "type": "string",
                      "maxLength": 2048
                    },
                    "iconUrl": {
                      "type": "string",
                      "maxLength": 2048
                    }
                  },
                  "additionalProperties": false
                },
                "timestamp": {
                  "type": "boolean"
                },
                "fields": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string",
                        "maxLength": 40
                      },
                      "name": {
                        "type": "string",
                        "maxLength": 256
                      },
                      "value": {
                        "type": "string",
                        "maxLength": 1024
                      },
                      "inline": {
                        "type": "boolean"
                      }
                    },
                    "required": [
                      "name",
                      "value"
                    ],
                    "additionalProperties": false
                  },
                  "maxItems": 25
                }
              },
              "additionalProperties": false
            },
            "buttons": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string",
                    "maxLength": 32
                  },
                  "kind": {
                    "type": "string",
                    "enum": [
                      "wave",
                      "link",
                      "role",
                      "reply"
                    ]
                  },
                  "label": {
                    "type": "string",
                    "maxLength": 80
                  },
                  "style": {
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 5
                  },
                  "emoji": {
                    "anyOf": [
                      {
                        "anyOf": [
                          {
                            "type": "string",
                            "maxLength": 80
                          },
                          {
                            "type": "object",
                            "additionalProperties": {}
                          }
                        ]
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "url": {
                    "type": "string",
                    "maxLength": 512
                  },
                  "roleId": {
                    "type": "string",
                    "maxLength": 24
                  },
                  "roleMode": {
                    "type": "string",
                    "enum": [
                      "toggle",
                      "give"
                    ]
                  },
                  "replyText": {
                    "type": "string",
                    "maxLength": 1800
                  }
                },
                "additionalProperties": false
              },
              "maxItems": 5
            }
          },
          "additionalProperties": false
        },
        "autoRoles": {
          "type": "object",
          "properties": {
            "enabled": {
              "type": "boolean"
            },
            "humanRoleIds": {
              "type": "array",
              "items": {
                "type": "string",
                "pattern": "^\\d{17,22}$"
              },
              "maxItems": 10
            },
            "botRoleIds": {
              "type": "array",
              "items": {
                "type": "string",
                "pattern": "^\\d{17,22}$"
              },
              "maxItems": 5
            },
            "delaySeconds": {
              "type": "integer",
              "minimum": 0,
              "maximum": 600
            },
            "waitForScreening": {
              "type": "boolean"
            }
          },
          "additionalProperties": false
        }
      },
      "additionalProperties": false,
      "description": "Welcome channel slots, DM welcome, and human/bot auto-role settings."
    },
    "goodbye": {
      "type": "object",
      "properties": {
        "enabled": {
          "type": "boolean"
        },
        "ignoreBots": {
          "type": "boolean"
        },
        "skipKickedBanned": {
          "type": "boolean"
        },
        "minStaySeconds": {
          "type": "integer",
          "minimum": 0,
          "maximum": 86400
        },
        "slot1": {
          "type": "object",
          "properties": {
            "enabled": {
              "type": "boolean"
            },
            "channelId": {
              "anyOf": [
                {
                  "type": "string",
                  "pattern": "^\\d{17,22}$"
                },
                {
                  "type": "null"
                }
              ]
            },
            "responseType": {
              "type": "string",
              "enum": [
                "container",
                "container_v2",
                "embed",
                "text"
              ]
            },
            "pingUser": {
              "type": "boolean"
            },
            "deleteAfterSeconds": {
              "type": "integer",
              "minimum": 0,
              "maximum": 86400
            },
            "messageContent": {
              "type": "string",
              "maxLength": 2000
            },
            "container": {
              "type": "object",
              "properties": {
                "accentColor": {
                  "type": "string",
                  "pattern": "^#?[0-9a-fA-F]{6}$"
                },
                "spoiler": {
                  "type": "boolean"
                },
                "blocks": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string",
                        "maxLength": 40
                      },
                      "type": {
                        "type": "string",
                        "enum": [
                          "heading",
                          "text",
                          "footer",
                          "small_text",
                          "divider",
                          "space",
                          "separator",
                          "section",
                          "text_picture",
                          "image",
                          "media"
                        ]
                      },
                      "level": {
                        "type": "string",
                        "enum": [
                          "h1",
                          "h2",
                          "h3"
                        ]
                      },
                      "content": {
                        "type": "string",
                        "maxLength": 4000
                      },
                      "spacing": {
                        "anyOf": [
                          {
                            "type": "string",
                            "enum": [
                              "small",
                              "large"
                            ]
                          },
                          {
                            "type": "integer",
                            "minimum": 1,
                            "maximum": 2
                          }
                        ]
                      },
                      "divider": {
                        "type": "boolean"
                      },
                      "thumbnailUrl": {
                        "type": "string",
                        "maxLength": 2048
                      },
                      "url": {
                        "type": "string",
                        "maxLength": 2048
                      }
                    },
                    "required": [
                      "type"
                    ],
                    "additionalProperties": false
                  },
                  "maxItems": 25
                }
              },
              "additionalProperties": false
            },
            "embed": {
              "type": "object",
              "properties": {
                "color": {
                  "type": "string",
                  "pattern": "^#?[0-9a-fA-F]{6}$"
                },
                "author": {
                  "type": "object",
                  "properties": {
                    "name": {
                      "type": "string",
                      "maxLength": 256
                    },
                    "iconUrl": {
                      "type": "string",
                      "maxLength": 2048
                    },
                    "url": {
                      "type": "string",
                      "maxLength": 2048
                    }
                  },
                  "additionalProperties": false
                },
                "title": {
                  "type": "string",
                  "maxLength": 256
                },
                "url": {
                  "type": "string",
                  "maxLength": 2048
                },
                "description": {
                  "type": "string",
                  "maxLength": 4096
                },
                "thumbnail": {
                  "type": "object",
                  "properties": {
                    "url": {
                      "type": "string",
                      "maxLength": 2048
                    }
                  },
                  "additionalProperties": false
                },
                "image": {
                  "type": "object",
                  "properties": {
                    "url": {
                      "type": "string",
                      "maxLength": 2048
                    }
                  },
                  "additionalProperties": false
                },
                "footer": {
                  "type": "object",
                  "properties": {
                    "text": {
                      "type": "string",
                      "maxLength": 2048
                    },
                    "iconUrl": {
                      "type": "string",
                      "maxLength": 2048
                    }
                  },
                  "additionalProperties": false
                },
                "timestamp": {
                  "type": "boolean"
                },
                "fields": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string",
                        "maxLength": 40
                      },
                      "name": {
                        "type": "string",
                        "maxLength": 256
                      },
                      "value": {
                        "type": "string",
                        "maxLength": 1024
                      },
                      "inline": {
                        "type": "boolean"
                      }
                    },
                    "required": [
                      "name",
                      "value"
                    ],
                    "additionalProperties": false
                  },
                  "maxItems": 25
                }
              },
              "additionalProperties": false
            },
            "buttons": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string",
                    "maxLength": 32
                  },
                  "kind": {
                    "type": "string",
                    "enum": [
                      "wave",
                      "link",
                      "role",
                      "reply"
                    ]
                  },
                  "label": {
                    "type": "string",
                    "maxLength": 80
                  },
                  "style": {
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 5
                  },
                  "emoji": {
                    "anyOf": [
                      {
                        "anyOf": [
                          {
                            "type": "string",
                            "maxLength": 80
                          },
                          {
                            "type": "object",
                            "additionalProperties": {}
                          }
                        ]
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "url": {
                    "type": "string",
                    "maxLength": 512
                  },
                  "roleId": {
                    "type": "string",
                    "maxLength": 24
                  },
                  "roleMode": {
                    "type": "string",
                    "enum": [
                      "toggle",
                      "give"
                    ]
                  },
                  "replyText": {
                    "type": "string",
                    "maxLength": 1800
                  }
                },
                "additionalProperties": false
              },
              "maxItems": 5
            }
          },
          "additionalProperties": false
        },
        "slot2": {
          "type": "object",
          "properties": {
            "enabled": {
              "type": "boolean"
            },
            "channelId": {
              "anyOf": [
                {
                  "type": "string",
                  "pattern": "^\\d{17,22}$"
                },
                {
                  "type": "null"
                }
              ]
            },
            "responseType": {
              "type": "string",
              "enum": [
                "container",
                "container_v2",
                "embed",
                "text"
              ]
            },
            "pingUser": {
              "type": "boolean"
            },
            "deleteAfterSeconds": {
              "type": "integer",
              "minimum": 0,
              "maximum": 86400
            },
            "messageContent": {
              "type": "string",
              "maxLength": 2000
            },
            "container": {
              "type": "object",
              "properties": {
                "accentColor": {
                  "type": "string",
                  "pattern": "^#?[0-9a-fA-F]{6}$"
                },
                "spoiler": {
                  "type": "boolean"
                },
                "blocks": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string",
                        "maxLength": 40
                      },
                      "type": {
                        "type": "string",
                        "enum": [
                          "heading",
                          "text",
                          "footer",
                          "small_text",
                          "divider",
                          "space",
                          "separator",
                          "section",
                          "text_picture",
                          "image",
                          "media"
                        ]
                      },
                      "level": {
                        "type": "string",
                        "enum": [
                          "h1",
                          "h2",
                          "h3"
                        ]
                      },
                      "content": {
                        "type": "string",
                        "maxLength": 4000
                      },
                      "spacing": {
                        "anyOf": [
                          {
                            "type": "string",
                            "enum": [
                              "small",
                              "large"
                            ]
                          },
                          {
                            "type": "integer",
                            "minimum": 1,
                            "maximum": 2
                          }
                        ]
                      },
                      "divider": {
                        "type": "boolean"
                      },
                      "thumbnailUrl": {
                        "type": "string",
                        "maxLength": 2048
                      },
                      "url": {
                        "type": "string",
                        "maxLength": 2048
                      }
                    },
                    "required": [
                      "type"
                    ],
                    "additionalProperties": false
                  },
                  "maxItems": 25
                }
              },
              "additionalProperties": false
            },
            "embed": {
              "type": "object",
              "properties": {
                "color": {
                  "type": "string",
                  "pattern": "^#?[0-9a-fA-F]{6}$"
                },
                "author": {
                  "type": "object",
                  "properties": {
                    "name": {
                      "type": "string",
                      "maxLength": 256
                    },
                    "iconUrl": {
                      "type": "string",
                      "maxLength": 2048
                    },
                    "url": {
                      "type": "string",
                      "maxLength": 2048
                    }
                  },
                  "additionalProperties": false
                },
                "title": {
                  "type": "string",
                  "maxLength": 256
                },
                "url": {
                  "type": "string",
                  "maxLength": 2048
                },
                "description": {
                  "type": "string",
                  "maxLength": 4096
                },
                "thumbnail": {
                  "type": "object",
                  "properties": {
                    "url": {
                      "type": "string",
                      "maxLength": 2048
                    }
                  },
                  "additionalProperties": false
                },
                "image": {
                  "type": "object",
                  "properties": {
                    "url": {
                      "type": "string",
                      "maxLength": 2048
                    }
                  },
                  "additionalProperties": false
                },
                "footer": {
                  "type": "object",
                  "properties": {
                    "text": {
                      "type": "string",
                      "maxLength": 2048
                    },
                    "iconUrl": {
                      "type": "string",
                      "maxLength": 2048
                    }
                  },
                  "additionalProperties": false
                },
                "timestamp": {
                  "type": "boolean"
                },
                "fields": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string",
                        "maxLength": 40
                      },
                      "name": {
                        "type": "string",
                        "maxLength": 256
                      },
                      "value": {
                        "type": "string",
                        "maxLength": 1024
                      },
                      "inline": {
                        "type": "boolean"
                      }
                    },
                    "required": [
                      "name",
                      "value"
                    ],
                    "additionalProperties": false
                  },
                  "maxItems": 25
                }
              },
              "additionalProperties": false
            },
            "buttons": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string",
                    "maxLength": 32
                  },
                  "kind": {
                    "type": "string",
                    "enum": [
                      "wave",
                      "link",
                      "role",
                      "reply"
                    ]
                  },
                  "label": {
                    "type": "string",
                    "maxLength": 80
                  },
                  "style": {
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 5
                  },
                  "emoji": {
                    "anyOf": [
                      {
                        "anyOf": [
                          {
                            "type": "string",
                            "maxLength": 80
                          },
                          {
                            "type": "object",
                            "additionalProperties": {}
                          }
                        ]
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "url": {
                    "type": "string",
                    "maxLength": 512
                  },
                  "roleId": {
                    "type": "string",
                    "maxLength": 24
                  },
                  "roleMode": {
                    "type": "string",
                    "enum": [
                      "toggle",
                      "give"
                    ]
                  },
                  "replyText": {
                    "type": "string",
                    "maxLength": 1800
                  }
                },
                "additionalProperties": false
              },
              "maxItems": 5
            }
          },
          "additionalProperties": false
        }
      },
      "additionalProperties": false,
      "description": "Goodbye channel slots and departure filters."
    },
    "logs": {
      "type": "object",
      "properties": {
        "joinEnabled": {
          "type": "boolean"
        },
        "joinChannelId": {
          "anyOf": [
            {
              "type": "string",
              "pattern": "^\\d{17,22}$"
            },
            {
              "type": "null"
            }
          ]
        },
        "leaveEnabled": {
          "type": "boolean"
        },
        "leaveChannelId": {
          "anyOf": [
            {
              "type": "string",
              "pattern": "^\\d{17,22}$"
            },
            {
              "type": "null"
            }
          ]
        },
        "includeBots": {
          "type": "boolean"
        },
        "newAccountThresholdDays": {
          "type": "integer",
          "minimum": 1,
          "maximum": 90
        },
        "trackInvites": {
          "type": "boolean"
        },
        "showAccountAge": {
          "type": "boolean"
        },
        "showReturningCount": {
          "type": "boolean"
        },
        "detectModerationExit": {
          "type": "boolean"
        },
        "showRolesOnLeave": {
          "type": "boolean"
        }
      },
      "additionalProperties": false,
      "description": "Join and leave forensic logging channels and display options."
    }
  },
  "required": [
    "guildId"
  ],
  "additionalProperties": false
}

Parameters

NameTypeRequiredDescription
guildIdstringRequired

Discord server (guild) snowflake ID.

modestringOptional (preview)

Execution mode. Use preview to validate and inspect changes before writing.

Allowed: preview | apply

enabledbooleanOptional

Master switch for the Greeting module.

welcomeEnabledbooleanOptional

Enable or disable welcome messages.

welcomeChannelIdstring | nullOptional

Primary welcome channel ID (welcome.slot1).

welcomeSecondaryChannelIdstring | nullOptional

Optional secondary welcome channel ID (welcome.slot2).

goodbyeEnabledbooleanOptional

Enable or disable goodbye messages.

goodbyeChannelIdstring | nullOptional

Primary goodbye channel ID (goodbye.slot1).

goodbyeSecondaryChannelIdstring | nullOptional

Optional secondary goodbye channel ID (goodbye.slot2).

welcomeDmEnabledbooleanOptional

Enable or disable welcome direct messages.

stylestringOptional

Shorthand layout style applied to primary welcome/goodbye slots.

Allowed: container_v2 | container | embed | text

humanAutoRoleIdsarray<string>Optional

Delegation-safe roles granted automatically to human members on join.

botAutoRoleIdsarray<string>Optional

Delegation-safe roles granted automatically to bot accounts on join.

joinLeaveLogChannelIdstring | nullOptional

Shorthand setting both join and leave log channel IDs.

joinLogChannelIdstring | nullOptional

Channel ID for member join forensic logs.

leaveLogChannelIdstring | nullOptional

Channel ID for member leave forensic logs.

welcomeobjectOptional

Welcome channel slots, DM welcome, and human/bot auto-role settings.

goodbyeobjectOptional

Goodbye channel slots and departure filters.

logsobjectOptional

Join and leave forensic logging channels and display options.

Example

Preview enabling Components V2 welcome cards with a safe Member auto-role.

POST https://mcp.taicket.xyz/mcpjson
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "configure_greetings",
    "arguments": {
      "guildId": "1200000000000000000",
      "mode": "preview",
      "welcomeEnabled": true,
      "welcomeChannelId": "1200000000000000015",
      "style": "container_v2",
      "humanAutoRoleIds": [
        "1300000000000000010"
      ]
    }
  }
}

Response

Validated preview diff or saved GreetingConfig document.

Structured Tool Resultjson
{
  "mode": "preview",
  "valid": true,
  "autoRolesVerified": 1,
  "changedFields": [
    "enabled",
    "welcome"
  ]
}

Errors

Error CodeConditionResolution
UNAUTHORIZEDMissing, expired, or revoked Bearer access token or scoped Personal Access Token.Re-authenticate through OAuth 2.1 or create a fresh token in https://mcp.taicket.xyz/account.
FORBIDDENToken lacks the required OAuth scope, the guild is outside allowedGuildIds, or caller lacks live Discord RBAC permissions.Grant the required scope during consent or confirm your Discord server role permissions.
RATE_LIMITEDCaller exceeded the per-user sliding-window request limit.Wait for the Retry-After window before issuing another request.
VALIDATION_ERRORInput arguments failed Zod schema validation or contained invalid Discord snowflakes.Inspect the parameter schema and supply valid Discord snowflake IDs and field types.
CROSS_GUILD_RESOURCEA referenced channel, category, or role does not belong to the specified guildId.Call get_server_topology for the target server and reference only resources returned for that guild.

Behavior

  • Verifies all 6 channel fields (welcome.slot1, welcome.slot2, goodbye.slot1, goodbye.slot2, logs.joinChannelId, logs.leaveChannelId) belong to guildId.
  • Rejects any human auto-role, bot auto-role, or greeting role button that is @everyone, managed, dangerous, or above Taicket/caller hierarchy.
  • Supports safe test dispatch via deploy_discord_panel with target="greeting_test".