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-agent

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

F
license - not found
-
quality - not tested
A
maintenance

Maintenance

Maintainers
Response time
0dRelease cycle
2Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

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

Related MCP Servers

  • A
    license
    -
    quality
    D
    maintenance
    Enables interaction with Discord through the Model Context Protocol, providing access to all Discord features like channels, messages, threads, reactions, and roles. Supports secure Discord bot operations with rate limiting, caching, and comprehensive API coverage for OpenAI, LangChain, and other MCP clients.
    MIT
  • A
    license
    -
    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.
    17
    MIT

View all related MCP servers

Related MCP Connectors

  • An MCP server that integrates with Discord to provide AI-powered features.

  • Telegram bridge for your MCP-compatible agent. Bidirectional, no LLM in our stack.

  • Connect AI agents to Flato's editable canvas runtime through a hosted MCP server.

View all MCP Connectors

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