discord Claude Code Plugin
Claude Code PluginClaude CodeProductivityProject Management & CollaborationClaude Code Customization & WorkflowSecurity, Auth & ComplianceThe explanation below is AI-generated. Please verify it against the sources.
This plugin lets a Discord bot forward incoming messages to Claude Code and lets the assistant respond through Discord using an MCP server. It ships with an access-control system built around pairing codes, allowlists, and a policy command so only approved users or channels can reach the assistant. Setup requires creating a Discord bot application, granting it specific permissions, installing the plugin, providing a bot token, and completing a pairing step before locking the bot down with an allowlist. Once connected, the assistant can send messages, react with emoji, edit its own prior messages, retrieve recent channel history, and download message attachments to a local inbox folder. Typing indicators are shown automatically while the assistant is composing a reply, and file attachments must be explicitly requested rather than being downloaded automatically.
About the service
Discord is a communication platform centered on group voice, video, and text chat, used for gaming, casual hangouts, and building online communities, and it also offers a bot/developer platform that this plugin connects to.
What you can do with discord
- Bridge incoming Discord DMs or guild channel messages to Claude Code via an MCP server
- Set up bot pairing with a one-time code, then restrict access using an allowlist policy
- Send replies to a channel, optionally threaded to a specific message, with up to 10 file attachments
- Add emoji reactions to any message by ID
- Edit messages previously sent by the bot, useful for progress-style updates
- Fetch recent message history from a channel (up to 100 messages per call)
- Download attachments from a specific message into a local inbox directory
- Run multiple bot instances on one machine using separate state directories and tokens