Skip to main content
Glama
tanishqkancharla

discord-mcp

discord-mcp

MCP server that gives you full Discord REST API access through a bot token. Designed to be used with Claude Code, Cursor, or any MCP client.

Setup

  1. Create a Discord application at https://discord.com/developers/applications

  2. Add a bot and copy the token

  3. Invite the bot to your server with Administrator permissions:

    https://discord.com/oauth2/authorize?client_id=YOUR_CLIENT_ID&permissions=8&scope=bot
  4. Enable all Privileged Gateway Intents (Presence, Server Members, Message Content)

Related MCP server: Discord MCP Server

Install

npm install
npm run build

Configure

Set environment variables:

export DISCORD_TOKEN="your-bot-token"
export DISCORD_GUILD_ID="your-guild-id"

Use with Claude Code

Add to your MCP config (~/.claude/claude_code_config.json):

{
  "mcpServers": {
    "discord": {
      "command": "node",
      "args": ["/path/to/discord-mcp/dist/index.js"],
      "env": {
        "DISCORD_TOKEN": "your-bot-token",
        "DISCORD_GUILD_ID": "your-guild-id"
      }
    }
  }
}

Available Tools

Channels

  • list_channels - List all server channels

  • get_channel - Get channel details

  • create_channel - Create a new channel

  • edit_channel - Edit channel settings

  • delete_channel - Delete a channel

Messages

  • get_messages - Get recent messages

  • send_message - Send a message

  • send_embed - Send a rich embed

  • edit_message - Edit a bot message

  • delete_message - Delete a message

  • bulk_delete_messages - Bulk delete messages

  • pin_message / unpin_message - Pin management

  • get_pinned_messages - Get pinned messages

  • add_reaction - React to a message

  • search_messages - Search messages in the server

Threads

  • create_thread - Create a thread

Members

  • list_members - List server members

  • search_members - Search by username/nickname

  • get_member - Get member details

  • edit_member - Edit member (nickname, roles, mute, timeout)

  • kick_member - Kick a member

  • ban_member / unban_member - Ban management

  • list_bans - List banned users

Roles

  • list_roles - List all roles

  • create_role - Create a role

  • edit_role - Edit a role

  • delete_role - Delete a role

  • assign_role / remove_role - Role assignment

Server

  • get_server_info - Server details

  • get_audit_log - View audit log

Invites

  • create_invite - Create an invite

  • list_invites - List active invites

  • delete_invite - Delete an invite

Webhooks

  • list_webhooks - List webhooks

  • create_webhook - Create a webhook

A
license - permissive license
-
quality - not tested
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (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

  • A
    license
    B
    quality
    D
    maintenance
    Enables direct interaction with the Discord API using both REST API calls and slash command syntax for bot management, server configuration, and message operations.
    1
    9
    MIT
  • A
    license
    B
    quality
    D
    maintenance
    Enables comprehensive Discord bot management and server operations through MCP, including channel management, message handling, member moderation, role management, and voice operations. Provides secure Discord API integration with built-in permission controls and audit logging capabilities.
    19
    159
    18
    MIT
  • A
    license
    -
    quality
    D
    maintenance
    Provides 33 tools for managing Discord servers, including channel and role administration, member moderation, and complex multi-step administrative workflows. It features built-in rate limiting and uses direct Discord REST API calls for efficient server operations.
    159
    1
    MIT

View all related MCP servers

Related MCP Connectors

  • MCP server for Gainium — manage trading bots, deals, and balances via AI assistants

  • Managed LinkedIn MCP server for AI agents: search, connect, message and enrich on accounts you own.

  • Access the Notra API for managing posts, brand identities, integrations, and schedules.

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/tanishqkancharla/discord-mcp'

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