Skip to main content
Glama
discord-mcp

discord-mcp

discord-mcp

Minimal MCP server for Discord forum and text channels.

Setup

  1. Discord Developer Portal → Bot → copy token; enable Message Content Intent (required to read message text).

  2. OAuth2 → URL Generator → scope bot; permissions: View Channels, Read Message History, Send Messages, Send Messages in Threads, Create Public Threads, Manage Threads. Open the URL to invite.

  3. Register:

claude mcp add discord -e DISCORD_BOT_TOKEN=... -- uv --directory /path/to/discord-mcp run discord-mcp

Any MCP client works with the equivalent command / args / env.

Channel IDs: Discord → Settings → Advanced → Developer Mode → right-click channel → Copy ID.

Related MCP server: MCP-Discord

Tools

Tool

Args

list_tags

forum_id

list_posts

forum_id, include_archived=false, limit=50

read_post

thread_id, limit=50

read_channel

channel_id, limit=50, before (message ID, page backwards); each message has link, reply_to, bot

create_post

forum_id, title, content, tags=[]

reply_post

thread_id, content, reply_to (message ID → Discord reply)

set_tags / add_tags / remove_tags

thread_id, tags

close_post

thread_id, lock=false

tags accept names or IDs.

Dev

uv sync --all-groups
uv run ruff format . && uv run ruff check . && uv run ty check src/ && uv run pytest

Available Tools

10 tools
add_tagsB

Add tags to a forum post. tags are tag names or IDs.

Inputs: tags (required), thread_id (required).

close_postA

Archive a forum post. lock=True also prevents reopening.

Inputs: thread_id (required), lock.

create_postB

Create a forum post. tags are tag names or IDs.

Inputs: title (required), content (required), forum_id (required), tags.

list_postsC

List posts in a forum channel, active first.

Inputs: forum_id (required), limit, include_archived. Returns: result

list_tagsC

List available tags of a forum channel.

Inputs: forum_id (required). Returns: result

read_channelB

Read recent messages from a text channel, oldest first.

Inputs: channel_id (required), limit. Returns: result

read_postB

Read a forum post: metadata plus messages, oldest first.

Inputs: thread_id (required), limit.

remove_tagsB

Remove tags from a forum post. tags are tag names or IDs.

Inputs: tags (required), thread_id (required).

reply_postC

Send a message in a forum post or thread.

Inputs: content (required), thread_id (required).

set_tagsC

Replace tags on a forum post. tags are tag names or IDs.

Inputs: tags (required), thread_id (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.3/5.0

    Scored across 10 tools

    Disambiguation4/5

    Most tools target clearly distinct actions (listing, reading, creating, replying, closing). The tag-related tools (set_tags, add_tags, remove_tags) have overlapping purposes, though their descriptions clarify the differences.

    Naming Consistency5/5

    All tool names follow a consistent verb_noun pattern using lowercase with underscores. Verbs like list, read, create, reply, set, add, remove, and close are uniformly paired with clear nouns.

    Tool Count5/5

    Ten tools is well-scoped for a Discord forum-focused server. Each tool addresses a necessary operation without excessive redundancy or missing core actions.

    Completeness4/5

    The tool set covers the main forum lifecycle: listing, reading, creating, replying, tag management, and closing. Minor gaps exist, such as editing/deleting posts or messages, but agents can work around these.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      A
      maintenance
      Enables AI assistants to interact with Discord by managing servers, channels, roles, members, messages, forum posts, reactions, webhooks, and permissions.
      3,822 npm
      MIT
    • A
      license
      Not graded
      quality
      A
      maintenance
      Enables AI assistants to interact with Discord by managing servers, channels, messages, forums, roles, members, reactions, and webhooks.
      3,822 npm
      MIT
    • A
      license
      Not graded
      quality
      A
      maintenance
      Enables AI assistants to interact with Discord servers, channels, roles, members, messages, reactions, forum posts, and webhooks.
      3,822 npm
      MIT