Skip to main content
Glama
swaritsoni6-lgtm

Discord MCP Server

Discord MCP Server ๐Ÿค–๐Ÿ’ฌ

A lightweight, zero-external-dependency Model Context Protocol (MCP) server for interacting with Discord through AI assistants like Google Antigravity, Claude Desktop, Cursor, and other MCP-compliant clients.

โœจ Features

  • ๐Ÿ’ฌ Messages: Read recent chat history, send messages, reply to threads/messages, edit and delete messages.

  • ๐Ÿข Servers & Guilds: List servers the bot belongs to, inspect member lists, roles, and guild details.

  • ๐Ÿ“ Channels & Categories: Inspect channels, channel topics, and message metadata.

  • ๐Ÿงต Threads: Create and participate in channel threads.

  • ๐Ÿ“Œ Pins: Read, add, and remove pinned messages.

  • ๐Ÿ‘ Reactions: Add and remove reactions with unicode and custom emojis.

  • ๐Ÿš€ Zero External Dependencies: Built entirely with Python's standard library (urllib, json).


Related MCP server: poke_discord

๐Ÿ› ๏ธ Tool Reference

Tool

Description

get_me

Get profile information and status of the authenticated bot user.

list_guilds

List all Discord servers (guilds) the bot is a member of.

get_guild

Get details of a guild (members, roles, channels, emojis).

list_channels

List all channels in a guild.

get_channel

Get details of a specific channel or thread.

list_messages

Retrieve recent messages from a channel (supports limit, before, after, around).

get_message

Retrieve a single message by channel ID and message ID.

send_message

Send text messages, replies (reply_to_message_id), or rich embeds to a channel.

edit_message

Edit messages sent by the bot.

delete_message

Delete a message in a channel.

add_reaction

Add emoji reactions to messages.

delete_reaction

Remove bot reactions from messages.

list_members

List members of a guild.

get_pinned_messages

List all pinned messages in a channel.

pin_message

Pin a message in a channel.

unpin_message

Unpin a message in a channel.

create_thread

Create a new thread in a channel or from an existing message.


๐Ÿš€ Quickstart & Configuration

1. Prerequisites

  • Python 3.10+

  • A Discord Bot Token (obtain one from the Discord Developer Portal).

    • Ensure your bot has appropriate permissions (e.g. Read Messages/View Channels, Send Messages, Read Message History, Add Reactions, etc.).

2. Installation & Running

Clone the repository:

git clone https://github.com/swaritsoni6-lgtm/discord-mcp-server.git
cd discord-mcp-server

Set your token and run:

export DISCORD_BOT_TOKEN="your-bot-token-here"
python3 server.py

โš™๏ธ Client Configurations

Antigravity / Gemini CLI (~/.gemini/config/mcp_config.json)

{
  "mcpServers": {
    "discord": {
      "command": "python3",
      "args": ["/path/to/discord-mcp-server/server.py"],
      "env": {
        "DISCORD_BOT_TOKEN": "your-bot-token-here"
      }
    }
  }
}

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "discord": {
      "command": "python3",
      "args": ["/path/to/discord-mcp-server/server.py"],
      "env": {
        "DISCORD_BOT_TOKEN": "your-bot-token-here"
      }
    }
  }
}

๐Ÿ“„ License

MIT License

A
license - permissive license
A
quality
C
maintenance

Maintenance

UpdatingMaintainers
UpdatingResponse time
โ€“Release cycle
0Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • F
    license
    Not graded
    quality
    B
    maintenance
    Enables interaction with Discord through natural language, including reading and sending messages, managing servers, and user actions.
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables AI agents to interact with Discord through the REST API and real-time events, supporting message management, user info, channel operations, and more with security controls.
    13
    1
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables LLMs to send and read messages in Discord channels, manage servers, channels, and roles via Discord's API.
    32
    2
    MIT

View all related MCP servers

Related MCP Connectors

  • Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.

  • Voice and chat for AI agents โ€” Discord, Teams, Meet, Slack, Zoom, Telegram, WhatsApp, NC Talk, SIP

  • Connect AI assistants to Stellary projects, boards, documents, and governed agent workflows.

View all MCP Connectors

Latest Blog Posts

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/swaritsoni6-lgtm/discord-mcp-server'

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