Communication and collaboration · Community communication
Discord
Have a bot post, moderate or reply on your Discord server.
- REST API
- Key or personal token
- OAuth
- No official MCP server
- 1
Ouvrez
discord.com/developers/applications, Nouvelle application. - 2
Onglet Bot : Réinitialiser le jeton, puis copiez-le.
- 3
OAuth2, Générateur d'URL : portées bot et
applications.commands, droits minimaux, puis invitez le bot sur votre serveur.
Authorization: Bot <token>
curl https://discord.com/api/v10/users/@me \
-H "Authorization: Bot $DISCORD_CLE"Worth knowing. To post only: a channel webhook (Channel settings, Integrations) is enough, with no bot.
OAuth2 to identify users on your website (identify scope).
Key or OAuth? A key for your own scripts. OAuth as soon as the application acts on behalf of other people: each person signs in with their own account and can revoke access.
No official MCP server
To connect Discord to an AI anyway, go through a platform that exposes its actions as tools:
Or, for a developer: a small MCP server hosted on your side that calls the API with the key. The AI never sees the key.
- Claude, ChatGPT, Le Chat
No direct connector. Create a Zapier MCP or Make MCP server, add the Discord actions you need, then connect that server as a custom connector.
- Developer
A custom MCP server, hosted by you, that calls the Discord API with the key from tab 1.
Worth knowing. The connector acts with your permissions. Start in read-only mode and review every write action the AI proposes before approving it. Depending on the plan, the workspace administrator must allow custom connectors.