All How-To Guides

2 Ways to Use Discord with Claude Code

How to use Discord with Claude Code?

2 MCP servers featured

Discord is a popular platform for communities and team communication. MCP servers can connect Claude to your Discord servers for reading messages, sending notifications, and managing channels. Here are the options for Discord integration.

Recommended MCP Servers

Discord MCP

v-3/discordmcp

>200

Discord integration for reading messages, sending content, and managing servers.

Key Features

  • Read channel messages
  • Send messages
  • Server management
  • Bot token authentication

Installation

npx discord-mcp

Discord MCP provides access to your Discord servers through a bot token. Read messages, send updates, and manage channels. Good for automating community management tasks.

Best for: Discord community management View on GitHub

Fetch MCP + Discord API

anthropics/mcp-server-fetch

>2k

Call Discord's REST API directly for custom integrations.

Key Features

  • Full API access
  • Webhooks support
  • Any Discord endpoint
  • Custom automation

Installation

npx @modelcontextprotocol/server-fetch

For advanced Discord automation, use the Fetch MCP to call Discord's REST API directly. Send webhook messages, manage channels, and build custom integrations.

Best for: Custom Discord bots View on GitHub

Quick Comparison

MCPStarsBest ForProsCons
Discord MCP>200Server managementStructured APICommunity maintained
Fetch + API>2kCustom botsFull flexibilityManual API calls

Getting Started

To use Discord with Claude Code:

  1. Create a Discord Bot at discord.com/developers/applications.

  2. Get your Bot Token from the Bot section.

  3. Install Discord MCP:

    npx discord-mcp
    

Example prompt: "Send a message to the announcements channel about the new feature release."

Related Guides