← All tools

quangdang46/discord_cli

AI Agent
Popularity 70 Updated AI & Agents

Discord CLI + MCP server that runs as your own user account — read, send, search, and manage any server/DM you belong to, no bot invite. Agent-native JSON/JSONL output, SQLite + FTS5 offline archive, stealth-aware headers, single Rust binary.

githubauto-collected

Installation

A directly usable install command is not verified yet. Check the project documentation or releases.

discord — Your Discord, Driven From the Terminal

🚧 Active development — daily tested, not daily committed This repo is under heavy daily use (automated digests, MCP integrations, agent workflows). If commit activity looks sparse, it's because the tool is stable for its current feature set — no open issues, no regressions, no need for churn. New features ship when real workflows surface a gap, not on a schedule. Check Releases for the latest binary.

<div align="center" <img src="docs/assets/discordillustration.webp" alt="discord — read, send, search, and manage any server/DM you belong to, as yourself" width="600" </div

<div align="center"

</div

---

A Discord CLI + MCP server that operates your user account — so it sees every server, group, and DM you belong to. No bot invitation required. Built in Rust for AI agents and terminal-first humans: 77 commands, SQLite archive with FTS5 search, stealth-aware, and an MCP server that plugs straight into Claude Code.

⚠️ ToS / account-risk warning — Automating a user account violates Discord's Terms of Service and can result in account termination. Use only on accounts you control, with restraint: rate limits are built in, reads are bounded, and destructive actions require explicit --confirm. Admin operations (channel-, role-, emoji-) are the highest-risk surface — channel deletion is irreversible and plainly visible. auth --qr uses Discord's login API (highest risk) — opt-in only, never automatic. See docs/ADMIN.md for the permission matrix and ToS risk table.

---

Installation

# macOS / Linux — one-liner (downloads prebuilt binary)
curl -fsSL "https://raw.githubusercontent.com/quangdang46/discord_cli/main/install.sh?$(date +%s)" | bash

# With PATH auto-update + self-test
curl -fsSL "https://raw.githubusercontent.com/quangdang46/discord_cli/main/install.sh?$(date +%s)" | bash -s -- --easy-mode --verify

# Pin a specific version
curl -fsSL "https://raw.githubusercontent.com/quangdang46/discord_cli/main/install.sh?$(date +%s)" | bash -s -- --version v0.1.0
# Windows PowerShell
irm "https://raw.githubusercontent.com/quangdang46/discord_cli/main/install.ps1" | iex

Prebuilt binaries are attached to every GitHub release (Linux x8664/aarch64 musl, macOS x8664/aarch64, Windows x8664) with .sha256 checksums.

# From source (requires Rust 1.80+)
cargo install --path crates/discord-cli --locked
# or build the workspace binary
cargo build --release && cp target/release/discord /usr/local/bin/

The workspace uses a tokiounstable cfg for discord-user-rs (see .cargo/config.toml); cargo build handles it.

---

---

🤖 Agent Quickstart (Robot Mode)