# Discord MCP (community) (MCP Server)

> Manage Discord messages, channels, roles, and moderation through a bot

- Type: MCP server
- Publisher: SaseQ
- Categories: Communication
- Website: https://github.com/SaseQ/discord-mcp
- Source: https://github.com/SaseQ/discord-mcp
- Transport: streamable-http
- Server URL: http://localhost:8085/mcp
- Launch command: docker run -d -i --name discord-mcp -p 8085:8085 -e SPRING_PROFILES_ACTIVE=http -e DISCORD_TOKEN -e DISCORD_GUILD_ID saseq/discord-mcp:latest
- Sign-in: api-key
- Environment variables: DISCORD_TOKEN, DISCORD_GUILD_ID
- GitHub stars: 524
- Listed: 2025-03-01

## About

The most-starred community MCP server for Discord, built in Java on JDA. It provides 50+ tools spanning messages, channels, categories, webhooks, roles, moderation, voice, scheduled events, forums, and emojis. It runs as a Docker container using a Discord bot token and exposes an MCP endpoint on localhost.

## Install

1. **Connect it in ChatGPT** Turn on Developer mode in ChatGPT (Settings → Security and login), open Plugins, select + and paste http://localhost:8085/mcp as the MCP server URL. Add it to a chat from the composer's tools menu.

2. **Or add it to Codex or the API**

   Codex CLI:

   ```bash
   codex mcp add discord --url http://localhost:8085/mcp --bearer-token-env-var DISCORD_TOKEN
   ```

   config.toml:

   ```toml
   [mcp_servers.discord]
   url = "http://localhost:8085/mcp"
   bearer_token_env_var = "DISCORD_TOKEN"
   ```

   Responses API:

   ```python
   import os
   from openai import OpenAI
   
   client = OpenAI()
   
   response = client.responses.create(
       model="gpt-6-astra",
       tools=[{
           "type": "mcp",
           "server_label": "discord",
           "server_url": "http://localhost:8085/mcp",
           "authorization": os.environ["DISCORD_TOKEN"],
           "require_approval": "never",
       }],
       input="Send a welcome message to #general",
   )
   print(response.output_text)
   ```

## Example prompts

- "Send a welcome message to #general"
- "Create a new text channel called 'announcements' under Community"
- "List the members with the Moderator role"
- "Schedule a community event for Friday at 6pm"

## Related

- [Resend](https://chatgptplugins.directory/mcp/resend.md): Send emails and manage Resend contacts, domains and broadcasts
- [Google Workspace MCP (community)](https://chatgptplugins.directory/mcp/google-workspace-mcp.md): 120+ tools across Gmail, Drive, Calendar, Docs, Sheets, Slides, Chat, and more
- [Microsoft 365 MCP (community)](https://chatgptplugins.directory/mcp/ms-365-mcp-server.md): Outlook mail, calendar, OneDrive, Teams, and To Do via Microsoft Graph
- [Twilio](https://chatgptplugins.directory/mcp/twilio.md): Expose Twilio's APIs for messaging, voice and more as MCP tools
- [iMCP](https://chatgptplugins.directory/mcp/imcp.md): macOS app exposing Messages, Contacts, Calendar and more over MCP
- [Gmail (Google)](https://chatgptplugins.directory/mcp/gmail.md): Google's official Gmail MCP server for searching threads, drafting, and labels

---
Source: https://chatgptplugins.directory/mcp/discord-mcp · Index: https://chatgptplugins.directory/llms.txt · Independent and community-run. Not affiliated with or endorsed by OpenAI. ChatGPT is a trademark of OpenAI.
