Discord MCP

Safe Discord access for reading guild data and optionally managing bot messages

stdiocommunityservice

Package Details

Transportstdio
Runtimenpx

Environment Variables

DISCORD_TOKEN
RequiredSecret

Discord bot token

DISCORD_ENABLE_WRITES
Default:false

Expose message send and edit tools

DISCORD_ENABLE_DELETES
Default:false

Expose the own-message delete tool; writes must also be enabled

DISCORD_ALLOW_UNRESTRICTED_WRITES
Default:false

Permit writes without a guild or channel allowlist

DISCORD_ALLOWED_GUILD_IDS

Comma-separated Discord guild IDs

DISCORD_ALLOWED_CHANNEL_IDS

Comma-separated Discord channel IDs

DISCORD_MAX_RESPONSE_CHARS(num)
Default:50000

Maximum serialized MCP response size in characters

Transportstdio
Runtimeuvx

Environment Variables

DISCORD_TOKEN
RequiredSecret

Discord bot token

DISCORD_ENABLE_WRITES
Default:false

Expose message send and edit tools

DISCORD_ENABLE_DELETES
Default:false

Expose the own-message delete tool; writes must also be enabled

DISCORD_ALLOW_UNRESTRICTED_WRITES
Default:false

Permit writes without a guild or channel allowlist

DISCORD_ALLOWED_GUILD_IDS

Comma-separated Discord guild IDs

DISCORD_ALLOWED_CHANNEL_IDS

Comma-separated Discord channel IDs

DISCORD_MAX_RESPONSE_CHARS(num)
Default:50000

Maximum serialized MCP response size in characters

Transportstdio
Runtimedocker

Environment Variables

DISCORD_TOKEN
RequiredSecret

Discord bot token

DISCORD_ENABLE_WRITES
Default:false

Expose message send and edit tools

DISCORD_ENABLE_DELETES
Default:false

Expose the own-message delete tool; writes must also be enabled

DISCORD_ALLOW_UNRESTRICTED_WRITES
Default:false

Permit writes without a guild or channel allowlist

DISCORD_ALLOWED_GUILD_IDS

Comma-separated Discord guild IDs

DISCORD_ALLOWED_CHANNEL_IDS

Comma-separated Discord channel IDs

DISCORD_MAX_RESPONSE_CHARS(num)
Default:50000

Maximum serialized MCP response size in characters