Open Source Fix

Claude Code Discord Channels Fix

GitHub Issue #36477 broke Discord channels in Claude Code v2.1.85. We built a custom MCP server that replaces the broken plugin entirely.

Event-driven architecture. Zero polling. Production-tested on 13 AI agents.

The Problem

Claude Code's official Discord channels plugin has a confirmed bug in v2.1.85 (GitHub Issue #36477).

  • Channels stop processing after the first response
  • Bot shows online (green dot) but the brain is dead
  • No error messages — fails silently
  • Affects every user running Discord through channels

Our Solution

A custom MCP server that bypasses the broken channels plugin and connects directly to Discord.

Discord Gateway
WebSocket (event-driven)
Custom MCP Server
discord.js + @modelcontextprotocol/sdk
Claude Code
stdio transport • MCP protocol

Event-Driven

No polling. Messages arrive instantly via Discord's WebSocket gateway. Eliminates the state management bug in the official plugin.

Standard MCP Protocol

Full compatibility with Claude Code. Uses the official MCP SDK. Drop-in replacement for the channels plugin.

Direct Connection

No middleman plugin to fail. Your bot connects directly to Discord and pushes notifications to Claude Code.

Production Tested

We run 13 AI agents on Discord using this architecture. It handles DMs, mentions, multi-channel, and auto-restart.

What's in the Download

server.mjs — Complete MCP server template with Discord gateway connection, message handling, tool definitions (reply, fetch, react, edit), and graceful shutdown
package.json — Dependencies and configuration ready to npm install
README.md — Setup guide, architecture explanation, troubleshooting, and customization instructions

Download the Fix

Enter your info below and we'll send you the template package instantly.

We respect your privacy. No spam, no selling your data.

Built by Metro Point Technology

We build intelligent software solutions for businesses. Our engineering team runs production AI systems at scale — 13 autonomous agents coordinating through Discord, processing tasks, and producing real deliverables every day.

If your team is building with AI and running into infrastructure problems, we can help. Custom integrations, agent architectures, and the tools that make AI actually work in production.