Discord Vencord MCP Bridge
Enables AI agents to interact with a user's Discord account through the native Discord desktop client, including reading and sending messages, managing DMs and friends, reacting to messages, navigating channels, administering servers and channels, managing roles, moderation actions, and invite management.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Discord Vencord MCP BridgeSend a message in #general saying standup moved to 3pm"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Discord Vencord MCP Bridge
Model Context Protocol (MCP) server for Discord user sessions. Enables Claude Desktop, Antigravity, Cursor, and any MCP-compatible AI agent to interact with Discord directly through your native desktop client.
Why This Exists
Traditional Discord MCP tools require providing a Bot Token or extracting your User Token.
Bot Tokens cannot send messages in DMs without mutual servers or read your private chats.
User Tokens in external scripts frequently trigger Cloudflare challenges, phone locks, and account flags due to TLS fingerprint mismatch (JA3/TLS, WebSockets heartbeat, super-properties).
This project routes all actions natively through your active Discord client via a local Vencord userplugin.
Zero Account Flagging: Runs inside your authentic Discord Electron runtime.
No Tokens in Config Files: Authenticates automatically using your client's existing session.
30+ Tools: Read channels, send replies, react, list DMs, manage servers, kick/ban, and manage roles.
Related MCP server: discord-mcp-server
Architecture
[ AI Assistant (Claude Desktop / Antigravity / Cursor) ]
│ (stdio)
▼
[ Node.js MCP Server (This Repo) ]
[ WebSocket Server: 127.0.0.1:49152 ]
│ (Local WebSocket JSON Bridge)
▼
[ Vencord UserPlugin (MCPBridge) ]
[ Inside Discord Desktop (Renderer Context) ]
│ (Discord Internal Webpack Stores & RestAPI)
▼
[ Discord Gateway ]Quick Start Guide
Step 1: Clone and Build the MCP Server
git clone https://github.com/clawdecode/discord-vencord-mcp.git
cd discord-vencord-mcp
npm install
npm run buildStep 2: Install the Vencord Plugin
Ensure you have the Vencord Dev Build (or clone Vencord):
git clone https://github.com/Vendicated/Vencord.git cd Vencord pnpm installCopy the plugin file from this repository into Vencord's userplugins directory:
mkdir src\userplugins\mcpBridge copy "path\to\discord-vencord-mcp\vencord-plugin\index.tsx" "src\userplugins\mcpBridge\index.tsx"Build and inject into Discord:
pnpm build pnpm injectOpen Discord and verify MCPBridge is visible under User Settings -> Vencord -> Plugins (tagged with the USERPLUGIN badge) and enabled. Press
Ctrl + Rto reload.
Step 3: Register in Your MCP Client
Add the server to your client configuration file:
Antigravity (~/.gemini/config/mcp_config.json)
{
"mcpServers": {
"discord-bridge": {
"command": "node",
"args": [
"C:/path/to/discord-vencord-mcp/dist/mcp-server/index.js"
]
}
}
}Claude Desktop (%APPDATA%/Claude/claude_desktop_config.json)
{
"mcpServers": {
"discord-bridge": {
"command": "node",
"args": [
"C:/path/to/discord-vencord-mcp/dist/mcp-server/index.js"
]
}
}
}Cursor (.cursor/mcp.json)
{
"mcpServers": {
"discord-bridge": {
"command": "node",
"args": [
"C:/path/to/discord-vencord-mcp/dist/mcp-server/index.js"
]
}
}
}Complete Tools Reference
Identity and Private Messages
Tool | Description |
| Test bridge connectivity and verify authenticated user. |
| Look up account details by User ID or self. |
| Retrieve your entire Discord friends list. |
| List all active direct message channels and group DMs. |
| Retrieve existing DM thread with a user (or open one). |
Messaging and Reactions
Tool | Description |
| Read the last N messages with attachments and authors. |
| Query a single message by ID. |
| Send a message as yourself to any channel or DM. |
| Reply directly to a specific message ID. |
| Edit one of your previous messages. |
| Delete a message. |
| React to a message with an emoji. |
| Remove your reaction from a message. |
Navigation and UI Control
Tool | Description |
| Return the channel currently focused in your client. |
| Return the server currently focused in your client. |
| Switch your active desktop client view to any channel or DM. |
Server and Channel Administration
Tool | Description |
| List all servers your account belongs to. |
| Detailed server statistics, vanity URL, and settings. |
| Update server name, description, verification tier. |
| List text channels, voice channels, and categories. |
| Create new text (0), voice (2), or category (4) channels. |
| Modify name, topic, slowmode, and NSFW settings. |
| Delete any channel or category. |
Roles and Permissions
Tool | Description |
| Inspect server roles, permissions, hoist, and colors. |
| Create roles with custom names, hex colors, and bitwise permissions. |
| Update role color, name, hoist, and mentionability. |
| Delete a server role. |
| Add a role to a server member. |
| Strip a role from a server member. |
Moderation and Invites
Tool | Description |
| List members in a server. |
| Change nickname, server mute/deaf, or apply timeouts. |
| Kick a user with audit log reason. |
| Ban a user with optional message purge duration. |
| Revoke a server ban. |
| List active server invite links and usage counts. |
| Create an invite link with custom age and max uses. |
| Revoke an invite code. |
Security and Privacy
Local-Only Communication: The WebSocket bridge binds strictly to loopback (
127.0.0.1:49152) and never accepts outside network connections.Permission Parity: The tools operate under your user account's actual Discord permissions. It cannot bypass server role hierarchies or access channels your account cannot see.
No External Telemetry: All data flows exclusively between your local AI agent, the local MCP process, and your local Discord client.
License
Released under the MIT License.
This server cannot be deployed
Maintenance
Related MCP Connectors
Official MCP server for Agentwork — delegate tasks to AI agents with human-in-the-loop
An MCP server that integrates with Discord to provide AI-powered features.
MCP server connecting AI agents to 100+ apps (Gmail, Slack, Notion, GitHub) via one-click OAuth.
A registry of AI agent tools — MCP servers, APIs, CLIs, SDKs — kept current by automated ingestion.
Related MCP Servers
- AlicenseAqualityCmaintenanceAn MCP server that provides native Discord tools for Claude Code, enabling bidirectional communication with remote agents or humans via the Discord REST API. It allows users to send messages, read channel history, and manage reactions directly from their local environment.623 npm3MIT
- AlicenseNot gradedqualityDmaintenanceLets any MCP-compatible AI client interact with Discord — send messages, manage channels, create webhooks, assign roles, and more.55 npm2MIT
- AlicenseNot gradedqualityAmaintenanceAn MCP server that gives AI agents full admin control over Discord servers with 59 tools for messaging, moderation, roles, channels, forums, reactions, files, and more, deployed on Cloudflare Workers.6MIT
- AlicenseNot gradedqualityDmaintenanceAn MCP server that enables AI agents to communicate with humans through Discord. Agents can send messages, create threads, wait for replies, and manage conversations across any MCP client.1 npmISC