discord-rpc-mcp
discord-rpc-mcp
A server that exposes the Discord desktop app's RPC through MCP. (Functionality follows Discord's RPC capabilities, so features such as searching past chats are not available.)
Ask it to read a channel, receive new messages, or turn down someone's volume in a call.
What you can do
Tools | Purpose |
| Get server and channel information |
| Read a channel, DM or group DM |
| Check your voice channel and settings |
| Subscribe to and read messages, voice events and more |
| Switch channels, join or leave a call |
| Adjust your audio settings or another participant's local volume |
| Set or clear Rich Presence |
| Accept or reject activity join requests |
| Set device information |
Get started
1. Install
Send this to an agent with terminal access, such as Codex or Claude Code:
Install discord-rpc-mcp and register it with my current MCP client using this guide:
https://github.com/ver-1000000/discord-rpc-mcp/blob/main/docs/installation.mdFor manual setup or Claude Desktop, see the installation guide.
2. Connect Discord
Complete the Discord settings below. Labels use the English interface. You can reuse an application you have already configured.
Open the Discord Developer Portal and sign in
Select
New Application> enter a name such asRPC MCP BridgeinName> review and accept the terms >CreateIn the left menu, select
OAuth2>Redirects>Add Redirect> enterhttp://127.0.0.1:8765/callback>Save ChangesOn the same
OAuth2page, selectClient ID>Copy, then paste it afterDISCORD_CLIENT_ID=in the local.envfile indicated by your agentCopy
Client Secret, paste it afterDISCORD_CLIENT_SECRET=in the same file, and saveFor a new application without an available secret, use
Reset Secretand complete any identity verification requestedResetting an existing application's secret also requires updating any other integrations using it
Start the Discord desktop app on your computer and tell your agent that the configuration is saved and it can continue connecting
When Discord shows an authorization prompt, check the application name and requested permissions, then approve
Enter the secret in the local .env file, not in chat. For manual login commands, see the installation guide.
Configuration · Development · Discord RPC access requirements
Notes
Only reading is enabled by default. To change volume, switch channels or perform other actions, set
DISCORD_ALLOW_CONTROL=1in.env. See the configuration guide for the required authorization scopesMessages are limited to what Discord has loaded. Full-history search and normal message sending, editing and deletion are not supported
Reading messages may move the Discord view
Retrieved content may be sent to your AI service
Not affiliated with Discord