How to integrate Discord using MCP
Servers, channels and community messages. This guide creates an MCP server from Arthur's Discord template — tools preconfigured against https://discord.com/api/v10 — and finishes by sharing the server's MCP swagger documentation.
Steps
Open the Secrets vault and create a secret named
DISCORD_API_KEYholding your access token. Create a Bot at discord.com/developers/applications, enable it under "Bot", and copy the Token. Invite the bot to your server before using.


Go to the REST API Templates gallery and search for Discord.


Click Use template on the Discord card to open the server-creation dialog.


Review the server name and select
DISCORD_API_KEYin the credential field — the dialog only accepts vault secrets, and it lists every tool that will be created.


Click Create server. Arthur creates the server, applies the authentication, and generates all the tools.





Open the server's Tools tab to review the generated tools.

Open the server's Connect section and click Share the MCP swagger documentation — Arthur generates the public documentation link and QR code for this server.



Confirm it worked
The server appears with 5 preconfigured tool(s): get_guild, list_channels, get_messages, send_message, get_guild_members. The Connect section offers the MCP swagger documentation — a shareable page with setup instructions for any AI client.
Good to know
- Read and post messages in Discord servers, list channels, and look up server and user information using a Discord Bot Token.
- This integration requires a credential (bearer). Get one at https://discord.com/developers/applications.
- Official API documentation: https://discord.com/developers/docs/reference
- Editing a tool later never changes the template — templates are starting points, and the server is fully yours after creation.
Related
Tutorial video