Discord Selfbot MCP
MCP server by Microck Verified · npm:discord-selfbot-mcp
Lets an AI assistant act through a personal Discord account to read DMs, send messages and manage servers. It is aimed at users who want an assistant to run their own account. The source warns that automating user accounts breaks Discord's terms of service.
Install Discord Selfbot MCP
Built from the published package, never by AI.
claude mcp add discord-selfbot-mcp -- npx -y discord-selfbot-mcpRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"discord-selfbot-mcp": {
"args": [
"-y",
"discord-selfbot-mcp"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"discord-selfbot-mcp": {
"args": [
"-y",
"discord-selfbot-mcp"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"discord-selfbot-mcp": {
"args": [
"-y",
"discord-selfbot-mcp"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add discord-selfbot-mcp -- npx -y discord-selfbot-mcp{
"mcpServers": {
"discord-selfbot-mcp": {
"args": [
"-y",
"discord-selfbot-mcp"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
Step-by-step: install Discord Selfbot MCP in Antigravity CLI
gemini mcp add discord-selfbot-mcp npx -y discord-selfbot-mcpGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the discord-selfbot-mcp block.
About
Discord Selfbot MCP is a local MCP server that connects an AI assistant such as Claude Code, OpenCode or Codex to a personal Discord account. It runs as the user rather than as a bot, so the assistant can read DMs, reply to friends, manage servers and use buttons, menus and modals. It runs over stdio by default, with an optional Streamable HTTP transport on localhost, and the token is passed through the client's env config.
The project is built on discord.py-self and offers tools for messages, channels, roles, permissions, threads, slash commands and server folders. An npm package wraps the Python implementation and includes a setup wizard that can extract a token from a browser session. It suits developers who want an AI assistant to manage their own Discord account, and the source warns that automating user accounts is against Discord's terms.
Written from the project's README and checked against it.
Tools it gives your assistant
send_messageSends a message to a Discord channel.read_messagesReads messages from a channel.list_dm_channelsLists open 1:1 and group DM channels, with an optional name filter.list_unread_dmsLists unread direct messages.send_slash_commandInvokes an application command in a channel or DM.click_buttonClicks a button and reports any modal it opens.submit_modalSubmits field values for a pending modal.list_rolesReturns every role as JSON, sorted highest-first.analyze_server_sidebarReturns the folder layout and a summary of each server.create_threadCreates a thread in a channel.
What you need
- A Discord user token (DISCORD_TOKEN)
- Python 3.10 or newer
- Node.js 18 or newer for the npm wrapper
- uv or pip for the Python install
- libffi-dev and python-dev for voice support on Linux
Try asking
- List my unread Discord DMs and summarize them.
- Find the DM with Alex and send them a reminder message.
- Analyze my server sidebar and suggest folder groupings.
Good to know
- Automating user accounts is against Discord's terms of service; use at your own risk.
- It runs as your personal account, not as a bot.
- Role edits are limited by your highest role; guild owners are exempt.
- The HTTP transport listens on localhost by default.
Security check
B- Runs a script automatically when the package is installedIn
package.json:"postinstall":
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to Discord Selfbot MCP
All alternatives →Jitsu MCP server lets AI assistants configure and operate Jitsu data pipelines. It covers destinations, streams, connections and functions, plus Live Events and connector syncs. It is aimed at teams that run event data pipelines.
Vexa sends a bot into Google Meet, Microsoft Teams, Zoom and Jitsi calls to capture speaker-labelled transcripts live or after the call. It suits teams that want meeting transcripts they can self-host.
Gives Claude and other MCP-compatible AI agents access to LinkedIn through your own browser session. It reads profiles, researches companies, finds jobs, and manages messages and connection requests.
Runs a NetSapiens phone system from Claude, ChatGPT, or any MCP client. Each person signs in as themselves, and their assistant gets role-aware tools for calls, voicemail, queues, and provisioning.
Resend MCP Server connects AI assistants to the Resend email platform. It lets them send and receive emails and manage contacts, broadcasts, templates, and domains. It suits developers and teams who use MCP clients such as Claude or Cursor.
The source does not describe labelhead-artist-momentum. It is a README for Paperclip, an open-source orchestration app for teams of AI agents.
Compare with Jitsu, Vexa or Linkedin MCP server
Discord Selfbot MCP: common questions
Does it run as a bot account?
No. The source says it runs as your personal account, a selfbot, so the assistant acts as you.
Is it safe to use with Discord?
The source warns that automating user accounts is against Discord's terms of service and that use is at your own risk.
Can I run it over HTTP instead of stdio?
Yes. Start it with --transport streamable-http, which exposes an endpoint at /mcp on localhost by default.
How do I install Discord Selfbot MCP?
In Claude Code run claude mcp add discord-selfbot-mcp -- npx -y discord-selfbot-mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is Discord Selfbot MCP the official server?
Discord Selfbot MCP is published by npm:discord-selfbot-mcp from its verified domain in the official MCP Registry.
Is Discord Selfbot MCP free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is Discord Selfbot MCP safe to use?
It scores 77 of 100. Grades: maintenance A, licence A, quality B. Security check: grade B (runs a script automatically when the package is installed). Review the code before you install. How grades work.
What are alternatives to Discord Selfbot MCP?
Similar MCP servers: Jitsu, Vexa, Linkedin MCP server, Netsapiens MCP.
Does Discord Selfbot MCP work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
