Skip to main content
Glama
lilyzhng

cursor-discord-channels

by lilyzhng

agent-channels

Talk to your CLI agents in Discord, get the work done

Discord bridge + MCP tools for CLI coding agents. When someone @mentions your bot, a small bridge wakes a warm ACP agent session; the bridge posts the reply as your bot (default), or the agent can use Discord MCP tools in legacy mode.

Supported agents (any CLI that speaks ACP works — set CDC_AGENT_BIN):

Agent

Model examples

Auth

Cursor CLI (default)

Composer

agent login (subscription)

Kimi Code CLI

Kimi K3 (k3)

kimi login (Kimi Code subscription)

Devin CLI

GLM 5.2

devin auth login

Discord  →  bridge  →  ACP agent (cursor / kimi / devin)  →  bridge posts reply (default)
                              ↳ or Discord MCP when CDC_BRIDGE_OUTBOUND=mcp

Uses your agent subscription — no separate API bill. No VPS required to get started.

Choose your setup

Local (start here)

VPS (always-on)

Cost

No VM — subscription only

~$5–10/mo server

Difficulty

Easiest (nohup on your Mac)

SSH + systemd

RAM

Shared with your laptop; scales with concurrent agents

Uses server RAM

Uptime

Mac powered on, no sleep (lid closed OK with caffeinate)

24/7 without your machine

Agents

2–3 bots usually fine; 4+ strains RAM & thermals

Many bots / workspaces

Guide

docs/LOCAL_SETUP.md

docs/VPS_SETUP.md

Related MCP server: discord-mcp-server

Quick start (local)

git clone https://github.com/lilyzhng/agent-channels.git
cd agent-channels
npm install
  1. Create a Discord bot → save token to ~/.cursor/channels/discord/.env

  2. agent login

  3. export CURSOR_CWD=/path/to/your/project and export CDC_STATE_DIR=~/.cursor/channels/discord

  4. npm run bridge — or bash scripts/start-bridge-local.sh for background

Full walkthrough: docs/LOCAL_SETUP.md

Using Kimi Code (Kimi K3)

uv tool install --python 3.13 kimi-cli
kimi login                      # ACP mode needs the OAuth login, not an API key
export CDC_AGENT_BIN=$(which kimi)
export CDC_AGENT_MODE=acp

Set the model in ~/.kimi/config.toml (default_model = "k3", provider type = "kimi", base_url = "https://api.kimi.com/coding/v1"). Keep default_thinking = false for fast turns. The bridge auto-approves the agent's permission prompts by ACP option kind, so Kimi's tool calls run unattended just like Cursor's.

What you get

  • @mention your bot → real reply in the thread

  • Subscription auth — same quota as Cursor IDE / CLI

  • Access control — pairing, allowlists, trusted bots

  • Self-hosted — your token, your rules

Benchmarks

Measured on a live server against the real agents. The warm ACP session (v0.2) cuts steady-state latency from ~10 to 12s (cold spawn per message) to ~1.2 to 2.5s, roughly 5 to 10x, and adds shared cross-channel memory.

We also raced three models on one full agentic task (read PR #5 → author an SVG → render with rsvg-convert → post the image back to Discord):

Agent

Model

Time

Jackie

Composer 2.5

42.3s

Lucy

Sonnet 4.6

72.0s

Andrej

Opus 4.8

103.0s

Composer 2.5 won on speed and held up on quality; Opus produced the richest-looking diagram. Full writeup, the three diagrams, and the shell-harness root-cause fix: docs/BENCHMARKS.md.

More help

License

MIT

Maintenance

ActivityMaintained
ResponsivenessSyncing

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    A
    maintenance
    Bridges a Discord bot with the agy CLI, enabling inbound messages to be relayed to agy and allowing agy to interact with Discord through MCP tools, including sending messages and files.
    22
    MIT
  • A
    license
    B
    quality
    D
    maintenance
    Enables MCP clients to interact with Discord servers, allowing operations such as sending messages and reading message history through the Discord API.
    23
    348
    MIT

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/lilyzhng/agent-channels'

If you have feedback or need assistance with the MCP directory API, please join our Discord server