Discord MCP Server avatar
Discord MCP Server

Pricing

Pay per event

Go to Apify Store
Discord MCP Server

Discord MCP Server

Discord MCP Server unique tool for integration Discord tools into AI based automation.

Pricing

Pay per event

Rating

0.0

(0)

Developer

bhansalisoft

bhansalisoft

Maintained by Community

Actor stats

0

Bookmarked

3

Total users

2

Monthly active users

7 hours ago

Last modified

Share

๐Ÿš€ Discord MCP Server

The Discord MCP Server enables AI assistants and automation tools to interact directly with Discord servers using the Model Context Protocol (MCP).

This Actor connects an AI agent with Discord through a fully privileged Discord bot and exposes a rich set of MCP tools to handle messaging, moderation, user management, media uploads, reactions, and real-time communication workflows.

It becomes a powerful bridge between AI automation, Discord community management, and MCP-enabled apps like Claude Desktop, Cursor, Replit, LangGraph, or OpenAI clients.

๐Ÿง  Key Features

๐Ÿ”„ Real-time messaging

  • Send messages
  • Read message history
  • Upload images
  • Add emoji reactions

๐Ÿ‘ฅ User & server management

  • List guilds
  • List channels
  • List all guild members
  • Assign/remove roles

๐Ÿ›ก Moderation tools

  • Kick users
  • Ban users
  • Join server via invite link
  • Fetch message logs for moderation

๐Ÿ“ก AI-ready event scraping

  • Read full channel history
  • Integrate with AI models for summarization, classification, sentiment, or moderation

๐Ÿงฉ All MCP Tools Provided

Below is the complete list of tools exposed to MCP.

Tool NameDescription
save_discord_token(token)Save token & start Discord bot process.
bot_status()Check ready state + connected guilds.
list_guilds()List all servers the bot is in.
list_channels(guild_id)List channels inside a server.
list_members(guild_id)List all members in a guild.
send_message(channel_id, message)Send text message to channel.
read_message_history(channel_id, limit)Read message logs.
assign_role(guild_id, user_id, role_id)Give user a role.
remove_role(guild_id, user_id, role_id)Remove user's role.
kick_user(guild_id, user_id)Kick user from server.
ban_user(guild_id, user_id)Ban user from server.
upload_image(channel_id, filepath, caption)Upload image + caption.
add_reaction(channel_id, message_id, emoji)Add emoji reaction to message.
join_invite(invite_link)Bot joins server using invite URL.

๐Ÿ”‘ How to Get Your Discord Bot Token (Step-by-Step)

1๏ธโƒฃ Create Application

Go to: ๐Ÿ‘‰ https://discord.com/developers/applications Click New Application โ†’ Name it.

2๏ธโƒฃ Add Bot to Application

Navigate to: ๐Ÿ“Œ Bot โ†’ Add Bot โ†’ Yes, Do It

3๏ธโƒฃ Enable Required Intents

Inside Bot โ†’ Privileged Gateway Intents, enable:

  • โœ… MESSAGE CONTENT INTENT (Required for reading messages)
  • โœ… SERVER MEMBERS INTENT (Required for member list & roles)

4๏ธโƒฃ Get Token

Under Bot โ†’ Token โ†’ Reset Token Copy your token.

5๏ธโƒฃ Save Token in MCP

Call the MCP tool:

save_discord_token("YOUR_DISCORD_BOT_TOKEN")

5๏ธโƒฃ ๐Ÿ”— How to Generate OAuth Invite URL (Required)

Copy below link and Replace [Your Bot Client ID] with your Bot Client ID.

https://discord.com/oauth2/authorize?client_id=[Your Bot Client ID]&permissions=275683339287&integration_type=0&scope=bot

Copy the link โ†’ open it on browser โ†’ select your server โ†’ authorize.

Your bot is now inside Discord.

Check Demo view