configure_music
Configure MusicGuildConfig DJ role, dedicated voice and text channels, tier-enforced volume/queue/duration limits, 24/7 mode, autoplay, and default search provider.
Overview
Manages server voice playback settings in MusicGuildConfig with strict Free, Pro, and Enterprise tier enforcement via enforceMusicPremium.
Verifies djRoleId is a valid non-@everyone guild role, verifies dedicatedVoiceChannelId is a voice or stage channel in the target server, and verifies dedicatedTextChannelId is a text channel in the target server.
Permissions
- Required Scopes
- mcp:write
- Discord Role Access
- Real Admin or active Temp Admin.
- Server-Side Guard
- checkManageGuild + cross-guild channel and role verification + enforceMusicPremium
- Subscription Tier
- Free: max volume 100, max queue 50, max track 1h, no 24/7 or autoplay. Pro: max volume 200, max queue 250, max track 3h, 24/7 and autoplay unlocked. Enterprise: max volume 200, max queue 500, unlimited duration, 24/7 and autoplay.
Input Schema
JSON Schema enforced by the server prior to RBAC and tier validation. Unknown properties are rejected strictly.
{
"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": "Enable or disable the Music module."
},
"djRoleId": {
"anyOf": [
{
"type": "string",
"pattern": "^\\d{17,22}$"
},
{
"type": "null"
}
],
"description": "Optional guild role ID granted DJ playback controls (cannot be @everyone or managed)."
},
"dedicatedVoiceChannelId": {
"anyOf": [
{
"type": "string",
"pattern": "^\\d{17,22}$"
},
{
"type": "null"
}
],
"description": "Optional dedicated Discord voice or stage channel ID."
},
"dedicatedTextChannelId": {
"anyOf": [
{
"type": "string",
"pattern": "^\\d{17,22}$"
},
{
"type": "null"
}
],
"description": "Optional dedicated Discord text channel ID for music commands."
},
"defaultVolume": {
"type": "integer",
"minimum": 1,
"maximum": 200,
"description": "Default volume percentage (Free max 100, Pro and Enterprise max 200)."
},
"maxQueueSize": {
"type": "integer",
"minimum": 5,
"maximum": 500,
"description": "Maximum queue length (Free max 50, Pro max 250, Enterprise max 500)."
},
"maxTrackDurationMs": {
"type": "integer",
"minimum": 0,
"maximum": 86400000,
"description": "Maximum track duration in milliseconds (Free max 3600000, Pro max 10800000, Enterprise 0 for unlimited)."
},
"autoLeaveEmpty": {
"type": "boolean",
"description": "Automatically disconnect when the voice channel becomes empty."
},
"autoLeaveTimeoutMs": {
"type": "integer",
"minimum": 5000,
"maximum": 3600000,
"description": "Milliseconds to wait before leaving an empty voice channel (5000 to 3600000)."
},
"twentyFourSeven": {
"type": "boolean",
"description": "Keep the bot connected 24/7 (requires Pro or Enterprise)."
},
"enable247": {
"type": "boolean",
"description": "Alias for twentyFourSeven (requires Pro or Enterprise)."
},
"autoplayEnabled": {
"type": "boolean",
"description": "Automatically queue similar tracks when queue ends (requires Pro or Enterprise)."
},
"autoplay": {
"type": "boolean",
"description": "Alias for autoplayEnabled (requires Pro or Enterprise)."
},
"defaultSearchProvider": {
"type": "string",
"enum": [
"ytmsearch",
"ytsearch",
"spsearch",
"scsearch",
"youtube",
"youtube_music",
"spotify",
"soundcloud"
],
"description": "Default track search source."
},
"searchProvider": {
"type": "string",
"enum": [
"ytmsearch",
"ytsearch",
"spsearch",
"scsearch",
"youtube",
"youtube_music",
"spotify",
"soundcloud"
],
"description": "Alias for defaultSearchProvider."
}
},
"required": [
"guildId"
],
"additionalProperties": false
}Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| guildId | string | Required | Discord server (guild) snowflake ID. |
| mode | string | Optional (preview) | Execution mode. Use preview to validate and inspect changes before writing. Allowed: preview | apply |
| enabled | boolean | Optional | Enable or disable the Music module. |
| djRoleId | string | null | Optional | Optional guild role ID granted DJ playback controls (cannot be @everyone or managed). |
| dedicatedVoiceChannelId | string | null | Optional | Optional dedicated Discord voice or stage channel ID. |
| dedicatedTextChannelId | string | null | Optional | Optional dedicated Discord text channel ID for music commands. |
| defaultVolume | integer | Optional | Default volume percentage (Free max 100, Pro and Enterprise max 200). |
| maxQueueSize | integer | Optional | Maximum queue length (Free max 50, Pro max 250, Enterprise max 500). |
| maxTrackDurationMs | integer | Optional | Maximum track duration in milliseconds (Free max 3600000, Pro max 10800000, Enterprise 0 for unlimited). |
| autoLeaveEmpty | boolean | Optional | Automatically disconnect when the voice channel becomes empty. |
| autoLeaveTimeoutMs | integer | Optional | Milliseconds to wait before leaving an empty voice channel (5000 to 3600000). |
| twentyFourSeven | boolean | Optional | Keep the bot connected 24/7 (requires Pro or Enterprise). |
| enable247 | boolean | Optional | Alias for twentyFourSeven (requires Pro or Enterprise). |
| autoplayEnabled | boolean | Optional | Automatically queue similar tracks when queue ends (requires Pro or Enterprise). |
| autoplay | boolean | Optional | Alias for autoplayEnabled (requires Pro or Enterprise). |
| defaultSearchProvider | string | Optional | Default track search source. Allowed: ytmsearch | ytsearch | spsearch | scsearch | youtube | youtube_music | spotify | soundcloud |
| searchProvider | string | Optional | Alias for defaultSearchProvider. Allowed: ytmsearch | ytsearch | spsearch | scsearch | youtube | youtube_music | spotify | soundcloud |
Example
Preview configuring Music DJ role and 24/7 mode on a Pro server.
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "configure_music",
"arguments": {
"guildId": "1200000000000000000",
"mode": "preview",
"enabled": true,
"djRoleId": "1300000000000000030",
"defaultVolume": 85,
"twentyFourSeven": true,
"autoplayEnabled": true,
"defaultSearchProvider": "ytmsearch"
}
}
}Response
Validated preview with active plan limits or saved Music configuration.
{
"mode": "preview",
"planTier": "pro",
"valid": true,
"appliedCaps": {
"maxVolume": 200,
"maxQueueSize": 250,
"maxTrackDurationMs": 10800000,
"allow247": true,
"allowAutoplay": true
}
}Errors
| Error Code | Condition | Resolution |
|---|---|---|
| UNAUTHORIZED | Missing, 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. |
| FORBIDDEN | Token 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_LIMITED | Caller exceeded the per-user sliding-window request limit. | Wait for the Retry-After window before issuing another request. |
| VALIDATION_ERROR | Input 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_RESOURCE | A 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. |
| TIER_UPGRADE_REQUIRED | The requested module, quota, or option requires a Pro or Enterprise subscription. | Review current plan limits with get_server_configuration or upgrade at https://taicket.xyz/dashboard/{guildId}/premium. |
Behavior
- Verifies dedicatedVoiceChannelId is a Discord voice or stage channel and dedicatedTextChannelId is a text or announcement channel inside guildId.
- Verifies djRoleId belongs to guildId and is neither @everyone nor a bot-managed integration role.
- Throws TIER_UPGRADE_REQUIRED when a Free or Pro server requests volume, queue size, track duration, 24/7 mode, or autoplay beyond its active subscription tier.
Related Tools