DSH Discord 帳號助理
Enables an AI assistant to operate a Discord user account (selfbot) — sending text messages, images, files, and stickers, replying to specific messages, adding emoji reactions, reading channel/DM history, listing guilds, channels, and DMs, searching stickers, and checking account connection status. Also supports autonomous behaviors like auto-replying to mentions, quotes, and DMs, and proactively joining channel conversations, with human-like typing simulation, jitter delays, and rate limiting to avoid detection.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
DSH Discord User Assistant & MCP Plugin (@luoyi-dsh/discord-plugin)

English | 繁體中文 | Agent & Operational Guide
A specialized smart assistant and Model Context Protocol (MCP) plugin designed for Discord User Accounts (Selfbot).
Fully integrated into the DeepSeek Harness (DSH) ecosystem, featuring two autonomous engines: Mention, Quote & DM Assistant and Autonomous Co-Chatting, alongside a complete suite of 13 MCP tools covering text, images, files, stickers, and emoji reactions.
Features native support for DSH Platform Subscriptions (Antigravity, Codex, Grok) for zero-API-key operation, and automatic seamless fallback when external API quotas are exhausted (HTTP 402 Insufficient Balance).
🌟 Key Features
User Account Driven (Selfbot Engine):
Uses user authorization tokens (not official bot tokens).
Simulates human online presence states (
online,idle,dnd,invisible).Supports HTTP and SOCKS5 outbound proxies.
Smart Reply Engine (Mentions, Quotes & DMs):
@Mentions & Quote Replies: Automatically extracts recent channel conversation context and synthesizes reasoned responses under your identity.
Direct Message (DM) Assistant: Handles 1-on-1 private inquiries autonomously.
Round Cap Protection: Limits sequential conversational rounds per user to prevent infinite bot-to-bot loops.
Autonomous Co-Chatting (Group Conversations):
Real-time Gateway Monitoring: Maintains sliding message buffers across active channels.
Context-Aware Participation: Weighs interest keywords, question detection, probability triggers, and channel-specific cooldowns to engage naturally in discussions.
[NO_REPLY]Introspection: LLM autonomously drops out if discussions are deemed sensitive, private, or inappropriate to interrupt.
Anti-Ban Safety System:
Human Typing Indicators (
sendTyping): Sends typing status prior to dispatching messages.Random Jitter Delay: Emulates 2–5 seconds human cognitive and keystroke latency.
Whitelists, Blacklists & Quota Limits: Comprehensive rate-limiting controls to prevent spam flags.
Multi-Tier LLM Reasoning Engine:
Native integration with DSH Platform Subscriptions (e.g. Antigravity, Codex, Grok, Claude, Gemini) without requiring external API keys.
Compatible with custom OpenAI / DeepSeek API endpoints with Automatic 402 Failover.
Premium Web Settings Dashboard (
client.js):Single-bundle browser UI featuring token masking, live connection tests, KPI progress gauges, and real-time message dispatchers.
Related MCP server: discord-py-self-mcp
🚀 Installation
# Via DSH Plugin CLI (Recommended)
dsh plugin --profile web add @luoyi-dsh/discord-plugin
# Or via NPM
npm install @luoyi-dsh/discord-plugin📖 Operational Guide & Tool Reference
For complete MCP tool definitions, natural language prompts, HTTP REST API routes, SDK invocation examples, and configuration parameters, please refer to AGENTS.md.
📁 Directory Structure
dsh-discord-plugin/
├── assets/
│ └── banner.png # Promotional banner
├── client.js # DSH Web UI dashboard
├── cordis.patch.yml # DSH bundle patch manifest
├── package.json # Package metadata and dependencies
├── tsconfig.json # TypeScript compiler settings
├── AGENTS.md # Operational & Agent Tool Guide
├── CHANGELOG.md # Version release notes
├── README.md # English overview (This file)
├── README.zh-Hant.md # Traditional Chinese overview
└── src/
├── index.ts # Cordis plugin entrypoint, Gateway dispatcher, and REST API
├── config.ts # Schemastery config schema
├── types.ts # TypeScript interfaces and types
├── mcp-server.ts # Standalone MCP Stdio entrypoint
├── lib/ # Selfbot client, state ledger, and unified LLM engine
├── duty/ # Mention/DM assistant & autonomous co-chatting duties
└── tools/ # 13 standard Discord MCP tools📜 Releases & License
See CHANGELOG.md for release notes.
Licensed under the MIT License.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Discord MCP server for ChatGPT, Claude and any AI agent: list servers and channels, read channel messages, search messages, send message, reply to message, send DM, read mentions and assign role in your own Discord account. Cotlet works in the account through your Cloud Browser, a real Chrome where you sign in to Discord yourself; Cotlet does not store your password and you need no Discord API key. About the official Discord API: Yes, Discord has an official API for bots and OAuth2 apps, but it acts as a bot that a server manager adds, not as you, and Discord has no official MCP server for it (checked 5 Nov 2026). The MCP server on Discord's docs site only searches documentation. Setup and FAQ: https://cotlet.dev/integrations/discord-api-mcp-server
Create AI Characters and generate their DM and comment replies from any MCP client.
MCP server connecting AI agents to 100+ apps (Gmail, Slack, Notion, GitHub) via one-click OAuth.
MCP server for your apps' tools and custom tools, plus hosted AI agents and approval-gated workflows
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceLets any MCP-compatible AI client interact with Discord — send messages, manage channels, create webhooks, assign roles, and more.76 npm2MIT
- AlicenseNot gradedqualityBmaintenanceComprehensive Discord selfbot MCP server enabling AI assistants to manage messages, channels, voice, friends, threads, and more using a user token.101 npm76MIT
- AlicenseNot gradedqualityFmaintenanceMCP server that gives AI agents first-class access to Discord, enabling discovery, messaging, channel management, moderation, and arbitrary REST calls through typed, consent-aware tools.14 npm3MIT
- AlicenseNot gradedqualityCmaintenanceEnables MCP clients to control a logged-in Discord account through 70+ tools: browsing guilds and channels, sending and reacting to messages, moderating members, managing channels, roles, emojis, and webhooks, plus searching and analyzing captured message history stored in SQLite. Authenticates using tokens already cached by the local Discord client, requiring no bot account or manual token setup.141 npmMIT