Skip to main content
Glama

Discord MCP Server

Discord MCP Server

An MCP (Model Context Protocol) server for Discord API integration with Claude. This server allows Claude to interact with Discord servers via tools that perform actions such as sending messages, reading messages, and managing server resources.

Prerequisites

  • Node.js 16 or higher
  • A Discord bot token (create one at the Discord Developer Portal)
  • Appropriate bot permissions:
    • Read Messages/View Channels
    • Send Messages
    • Read Message History
    • (Optional) Manage Roles, Manage Channels, etc. depending on functionality needed

Installation

  1. Clone this repository
  2. Install dependencies:
    npm install
  3. Build the project:
    npm run build

Configuration

Create a .env file in the root directory with:

DISCORD_TOKEN=your_discord_bot_token_here

Usage

  1. Start the server:
    npm start
  2. Configure Claude Desktop:
    • Add to Claude Desktop's configuration file:
    { "mcpServers": { "discord": { "command": "node", "args": ["path/to/discord-mcp/build/index.js"], "env": { "DISCORD_TOKEN": "your_discord_bot_token_here" } } } }

Available Tools

  • send-message: Send a message to a Discord channel
  • read-messages: Read recent messages from a Discord channel
  • list-channels: List available channels in the server
  • list-servers: List servers the bot has access to
  • get-user-info: Get information about a specific user

Security Considerations

  • The Discord bot token grants access to your Discord bot. Keep it secure.
  • The bot can only access servers it has been invited to.
  • Actions are limited by the bot's permissions in each server.

License

MIT

Install Server
A
security – no known vulnerabilities
F
license - not found
A
quality - confirmed to work

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

An MCP server that allows Claude to interact with Discord by providing tools for sending/reading messages and managing server resources through Discord's API.

Related MCP Servers

  • A
    security
    A
    license
    A
    quality
    Provides Discord integration capabilities to MCP clients like Claude Desktop.
    Last updated -
    15
    115
    Python
    MIT License
    • Apple
  • A
    security
    A
    license
    A
    quality
    An MCP server that enables saving and sharing Claude Desktop conversations, allowing users to store chats privately or make them public through a web interface.
    Last updated -
    2
    10
    TypeScript
    MIT License
    • Apple
  • -
    security
    A
    license
    -
    quality
    A Model Context Protocol (MCP) server for the Discord integration with MCP-compatible applications like Claude Desktop.
    Last updated -
    35
    MIT License
    • Linux
    • Apple
  • -
    security
    F
    license
    -
    quality
    An MCP server that enables Claude and other MCP clients to interact with Mattermost workspaces, providing channel management, messaging capabilities, and topic monitoring functionality.
    Last updated -
    13
    TypeScript

View all related MCP servers

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/RossH121/discord-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server