Discord MCP Server
1234567891011121314151617181920212223const mcpConfig = new MCPConfiguration({ servers: { // Example 1: HTTP-based server (e.g., external web service or API gateway) server: { type: "http", url: "https://actions.zapier.com/mcp/YOUR_MCP_KEY/sse", }, }, }); // Fetch all tools from all configured MCP servers into a flat array const allTools = await mcpConfig.getTools(); const agent = new Agent({ name: "MCP Agent", instructions: "An assistant that can use MCP tools configured at startup", llm: new VercelAIProvider(), model: openai("gpt-4o"), tools: allTools, // Add MCP tools during initialization }); // Remember to disconnect later // await mcpConfig.disconnect();
Discord MCP Tools
Want to make your Discord server run smoothly? The Discord MCP server helps your AI friends do the work for you. They can send messages, organize channels, handle roles, and keep everything running without you having to do it manually.
How to Automate Role Assignments with Discord MCP?
Let your AI do the role managing for you! With Discord MCP, you're able to automatically give people roles based on what they do, how long they've been a member, or whatever rules you make. No more mousing around - it just works!
Add Role
add_role
composio: add_guild_member_role
Keep Your Roles Tidy and Organized
Need to update roles? Your AI friend will assist you! It will delete roles when they're no longer required, such as when a person leaves a project or their temporary permission should expire. It's like having an über-organized assistant!
Remove User Role
remove_user_role
composio: delete_guild_member_role
How to Automate Channel Messaging with Discord MCP?
It will send announcements, updates, or simply regular messages to any channel. Great for daily updates, welcome messages, or keeping everyone up to speed without having to type it all out.
Send Channel Message
send_channel_message
Make Personal Messages Easy
Have to send a lot of personal messages? Your AI can do that! For welcoming new members, reminders, or updates, it can message individuals one by one while keeping your friendly tone.
Send Direct Message
send_direct_message
composio: create_dm
How to Manage Forum Discussions with Discord MCP?
Make your forum channels come alive! Your AI can introduce new topics, post announcements, or create recurring threads. It's like having a helpful moderator that is always on hand to continue the conversation.
Create Forum Post
create_new_forum_post
Keep Forum Discussions Active
Never let a conversation fizzle out! Your AI can jump in with helpful responses, news, or reminders on forum threads. It's great for keeping conversations flowing and everyone engaged.
Send Message in Forum Post
send_message_in_forum_post
Keep Channels Fresh and Relevant
Need channels that keep pace with your needs? Your AI will automatically rename channels - perfect for event channels, project news, or keeping up to date without taking any extra effort from you.
Rename Channel
rename_channel
Find Any Channel in a Flash
Your AI can quickly locate what you're looking for. Just tell it what you need, and it'll locate the correct channel in seconds.
Find Channel
find_channel
How to Find Users Easily with Discord MCP Server?
Finding people simplified! Your AI can instantly find any user you require, be it for message sending, role updates, or reviewing details. Scrolling through lengthy member lists is a thing of the past!
Find User
find_user
composio: get_user
How to Create Perfect Servers with Discord MCP?
Need to begin a new server? Let your AI do it just right! It'll set up channels, make roles, and get all of that just so in the manner you like. It's having a pro server artist at your fingertips.
Create Server
create_guild
Know Your Community
Wondering who's who? Your AI can fetch a complete list of all members on your server. Handy for member number counts, finding active members, or planning community events.
List Server Members
list_guild_members
Access Advanced Features
Got something special in mind? Your AI can tap into Discord's advanced features through the API. Perfect for custom tasks or out-of-the-box automation outside the standard tools.
API Request
api_request_beta