Discord integration
Communication platform API for building bots and integrations. Send messages, manage channels and servers, handle user interactions, create rich embeds, and build interactive experiences with slash commands and components. Essential for building community tools, notifications, and automated moderation systems.
Say what should happen.
The workflow builds itself.
Common Discord use cases
- access control
- role management
- webhook management
- member management
- event management
- moderation
- webhook cleanup
- rule enforcement
- CI/CD notifications
- focused discussions
What you can do with Discord
Each of these is one operation on one endpoint, available both as a workflow step and as a tool an AI agent can call on its own. Nothing bundles several operations into one action, so what a run did stays readable afterwards.
Most endpoints run on the free plan. A few, mainly the ones that publish on your behalf, need a paid plan.
Message, 6 operations
bulk_delete_messagesBulk delete messagesPOSTDeletes multiple messages in a single request for efficient bulk moderation. Limited to messages younger than 14 days.delete_messageDelete messageDELETEPermanently removes a message from a Discord channel. Bots can delete their own messages or others' with Manage Messages permission.edit_messageEdit messagePATCHModifies an existing Discord message's content, embeds, or components. Only messages authored by the bot can be edited, enabling dynamic content updates.get_channel_messagesGet channel messagesGETRetrieves multiple messages from a Discord channel with pagination support. Essential for message history and conversation display.get_messageGet messageGETRetrieves a specific message from a Discord channel by its ID. Returns message content, author, embeds, reactions, and metadata for message tracking and display.send_messageSend messagePOSTPosts a message to a Discord channel with support for rich embeds, interactive components, and file attachments. Enables bot notifications, automated alerts, and interactive command responses.
Role, 6 operations
add_member_roleAdd member rolePUTAdds a role to a guild member for permission and access management. Requires Manage Roles permission.create_roleCreate rolePOSTCreates a new role in a Discord server with customizable name, color, and permissions. Requires Manage Roles permission.delete_roleDelete roleDELETEDeletes a role from a Discord server. Members lose the role immediately. Requires Manage Roles permission.get_guild_rolesGet guild rolesGETLists all roles in a Discord server with their permissions, colors, and hierarchy positions.modify_roleModify rolePATCHModifies a Discord role's settings including name, color, and permissions. Requires Manage Roles permission.remove_member_roleRemove member roleDELETERemoves a role from a guild member. Requires Manage Roles permission.
Thread member, 6 operations
add_thread_memberAdd thread memberPUTAdds a user to a Discord thread. The thread must not be archived.get_thread_memberGet thread memberGETRetrieves a specific user's thread membership including join timestamp and flags.join_threadJoin threadPUTJoins the bot to a Discord thread. The thread must not be archived.leave_threadLeave threadDELETERemoves the bot from a Discord thread. Bot will stop receiving thread events.list_thread_membersList thread membersGETLists all members of a Discord thread with optional guild member data.remove_thread_memberRemove thread memberDELETERemoves a user from a Discord thread. Requires Manage Threads permission or thread ownership.
Webhook, 6 operations
create_webhookCreate webhookPOSTCreates a webhook for posting messages to a Discord channel with custom name and avatar. Enables external service integrations without a full bot.delete_webhookDelete webhookDELETEPermanently deletes a Discord webhook. The webhook URL will stop working immediately.get_channel_webhooksGet channel webhooksGETLists all webhooks for a Discord channel. Requires Manage Webhooks permission.get_guild_webhooksGet guild webhooksGETLists all webhooks in a Discord server across all channels. Requires Manage Webhooks permission.get_webhookGet webhookGETRetrieves information about a Discord webhook by ID. Requires Manage Webhooks permission.modify_webhookModify webhookPATCHModifies a Discord webhook's name, avatar, or target channel. Requires Manage Webhooks permission.
Channel, 5 operations
create_channelCreate channelPOSTCreates a new channel in a Discord server with specified type, name, and settings. Supports text, voice, and category channels with permission configuration.delete_channelDelete channelDELETEPermanently deletes a Discord channel. Requires Manage Channels permission. This action cannot be undone.get_channelGet channelGETRetrieves detailed information about a Discord channel including type, name, topic, permissions, and parent category for channel management.get_guild_channelsGet guild channelsGETLists all channels in a Discord server (guild) including text, voice, and category channels. Returns channel hierarchy for server navigation.modify_channelModify channelPATCHUpdates a Discord channel's settings including name, topic, position, and slowmode. Requires Manage Channels permission.
Member, 5 operations
get_guild_memberGet guild memberGETRetrieves detailed information about a specific guild member including roles, nickname, and join date.get_guild_membersGet guild membersGETLists members of a Discord server with their nicknames, roles, and join dates. Supports pagination for large servers up to 1000 members per request.kick_memberKick memberDELETERemoves a member from a Discord server without banning. They can rejoin with an invite. Requires Kick Members permission.modify_guild_memberModify guild memberPATCHModifies a guild member's nickname, roles, or voice state. Different permissions required for each field.search_guild_membersSearch guild membersGETSearches for guild members by username or nickname prefix. Returns matching members up to 1000 results.
Invite, 4 operations
create_channel_inviteCreate channel invitePOSTCreates a new invite code for a Discord channel with customizable expiration and usage limits.delete_inviteDelete inviteDELETEDeletes a Discord invite by its code, preventing further use. Requires Manage Channels or Manage Guild permission.get_channel_invitesGet channel invitesGETLists all active invites for a Discord channel with usage statistics. Requires Manage Channels permission.get_inviteGet inviteGETRetrieves information about a Discord invite including server preview and member counts.
Reaction, 4 operations
add_reactionAdd reactionPUTAdds an emoji reaction to a Discord message from the bot. Supports both Unicode emojis and custom server emojis for interactive feedback.delete_all_reactionsDelete all reactionsDELETERemoves all reactions from a Discord message. Requires Manage Messages permission for moderation purposes.get_reactionsGet reactionsGETLists users who reacted with a specific emoji on a Discord message. Useful for polls and vote tracking.remove_reactionRemove reactionDELETERemoves the bot's own reaction from a Discord message. Supports both Unicode and custom emojis.
Scheduled event, 4 operations
create_guild_scheduled_eventCreate guild scheduled eventPOSTCreates a scheduled event in a Discord server for voice channels, stages, or external locations.delete_guild_scheduled_eventDelete guild scheduled eventDELETEDeletes a scheduled event from a Discord server. This action cannot be undone.get_guild_scheduled_eventsGet guild scheduled eventsGETLists all scheduled events in a Discord server with optional user interest counts.modify_guild_scheduled_eventModify guild scheduled eventPATCHModifies a scheduled Discord event including name, time, description, and status.
Thread, 4 operations
create_threadCreate threadPOSTCreates a new thread in a text channel for focused discussions without a starter message.list_private_archived_threadsList private archived threadsGETLists archived private threads the bot is a member of. Requires Manage Threads permission.list_public_archived_threadsList public archived threadsGETLists archived public threads in a Discord channel sorted by archive time.start_thread_from_messageStart thread from messagePOSTCreates a thread from an existing message, linking the thread to that message.
Ban, 3 operations
create_guild_banCreate guild banPUTBans a user from a Discord server with optional message deletion. Requires Ban Members permission.get_guild_bansGet guild bansGETLists all banned users from a Discord server with ban reasons for moderation review.remove_guild_banRemove guild banDELETEUnbans a user from a Discord server, allowing them to rejoin. Requires Ban Members permission.
Pin, 3 operations
get_pinned_messagesGet pinned messagesGETRetrieves all pinned messages in a Discord channel. Returns up to 50 pinned messages with full message data.pin_messagePin messagePUTPins a message in a Discord channel for easy access. Requires Manage Messages permission. Limited to 50 pins per channel.unpin_messageUnpin messageDELETERemoves a message from a channel's pinned messages. Requires Manage Messages permission.
Guild, 2 operations
get_guildGet guildGETRetrieves detailed information about a Discord server including name, icon, owner, member count, and features for server management.list_guildsList guildsGETLists all Discord servers (guilds) the bot is a member of. Returns basic guild info for server selection.
Sticker, 2 operations
get_stickerGet stickerGETRetrieves information about a specific Discord sticker by its ID.list_guild_stickersList guild stickersGETLists all custom stickers in a Discord server with their metadata and images.
User, 2 operations
get_current_userGet current userGETRetrieves information about the current authenticated bot user. Essential for bot identity verification.get_userGet userGETRetrieves public information about a Discord user including username, discriminator, avatar, and banner for user displays and mentions.
Voice region, 2 operations
get_guild_voice_regionsGet guild voice regionsGETLists voice regions available for a specific guild, including any VIP regions the server has access to.list_voice_regionsList voice regionsGETLists available Discord voice regions for voice channel configuration. Includes optimal regions.
Application, 1 operation
get_current_applicationGet current applicationGETRetrieves the bot application, including the public key used to verify its interaction requests.
Emoji, 1 operation
list_guild_emojisList guild emojisGETLists all custom emojis in a Discord server for emoji management and selection.
Webhook message, 1 operation
execute_webhookExecute webhookPOSTExecutes a webhook to send a message with custom username, avatar, and content without requiring a bot token.
OAuth scopes Discord requires
Each operation declares the scopes Discord requires for it.
guildsneeded by list_guildsidentifyneeded by get_current_user
Discord API rate limits
Per-route limits vary, check X-RateLimit headers
These are the limits Discord documents, not ones LiveContext measured. They can change and often depend on your plan, so check the Discord documentation for current values.
Use Discord from Claude Code, Cursor or Codex
Connect Discord in LiveContext, create an API key in Settings, then add the LiveContext MCP server to your client. Its Discord operations become tools the client can call, next to every other integration you connected.
claude mcp add --transport http livecontext https://livecontext.ai/mcp --header "X-API-Key: YOUR_API_KEY"[mcp_servers.livecontext]
url = "https://livecontext.ai/mcp"
[mcp_servers.livecontext.http_headers]
"X-API-Key" = "YOUR_API_KEY"{
"mcpServers": {
"livecontext": {
"type": "http",
"url": "https://livecontext.ai/mcp",
"headers": {
"X-API-Key": "YOUR_API_KEY"
}
}
}
}How to connect Discord
- Create your workspace
Sign up free. Nothing to install.
- Connect Discord once
Add your Discord connection in Settings. Every tool from this integration reuses it, and secrets are encrypted at rest and visible only to you.
- Describe the job in chat
The workflow builds itself in front of you and picks the endpoints it needs. Drag the steps yourself on the canvas whenever you would rather be explicit.
Discord integration FAQ
What can you do with the Discord integration?
LiveContext exposes 67 operations on Discord, covering message, role, thread member and webhook. Common uses include access control, role management and webhook management.
Which OAuth scopes does Discord require?
It depends on the operation: each one declares the scopes Discord requires for it. The most common are guilds (1 operation) and identify (1 operation).
What are the Discord API rate limits?
Per-route limits vary, check X-RateLimit headers Limits are set by Discord and can depend on your plan.
