Discord read from the shell.
List the guilds and channels your bot can see, read channel message history, enumerate members, and post messages — from Bash over the Discord MCP. Turn community chatter into JSON for sentiment and topic analysis.
cogny --who
TWO PATHSSkimming a busy Discord by hand to gauge what your community cares about is endless scrolling. The CLI pulls channel history as JSON so an agent can summarize themes, sentiment, and feature requests. Connect Discord once in Cogny Solo and let your coding agent — or scheduled reports — do the querying for you.
❯ start SoloSelf-onboard with one command. The CLI issues a key, wires nothing, and exposes every Discord tool over JSON-RPC. First 15 calls are free.
$ npx @cogny/cli init --agent claude-codecogny tools call
3 EXAMPLESReal tool names from the Discord MCP. Send --input JSON, get JSON back.
mcp__Discord__list_guild_channelsList the channels in a server.mcp__Discord__get_channel_messagesRead recent messages from a channel.mcp__Discord__list_guild_membersEnumerate members (requires the members intent).cogny tools list
MOREA sample of the rest of the Discord surface. Run cogny tools list --json for every tool and its input schema.
mcp__Discord__get_current_usermcp__Discord__list_guildsmcp__Discord__get_guildmcp__Discord__get_channelmcp__Discord__send_messagecogny --faq
No — it is the Cogny CLI calling the Discord MCP over the cogny-mcp-proxy. You add a bot token once in Cogny; the CLI then reads guilds, channels, messages, and members from Bash. Discord Inc. is not affiliated.
Whatever the bot has access to. Reading a channel needs View Channel + Read Message History, and `list_guild_members` needs the privileged members intent enabled on the bot — same rules as any Discord bot.
Yes — `send_message` posts to a channel the bot can write to. The rest of the surface (guilds, channels, messages, members) is read tools for community analysis.
related CLIs
Building an agent? The full tool map for all servers is one fetch: /cli/llms.txt