Cc Discord Kit

communication MCP Server

Self-hosted shared brain for multi-agent setups: common memory store, journal, personas, transcript compaction, semantic grep. Flask UI with ⌘K palette.

Verified
communicationcommunication
5 views2 stars0 forksMIT

Why This Matters

Discovered via github-topic:mcp and last synced 3mo ago.

Verified
Source
github-topic:mcp
Stars
2
Last synced
3mo ago
Install
Check source

Install

Install instructions not detected yet

Check the source repository for the latest setup steps.

View source instructions
41
Tools
0
Resources
0
Prompts
Standard I/O
Transport

Available Tools (41)

Hook

What it surfaces

CCDK_DISCORD_TOKEN

`digest.py`, `discord_handler.py`, `hooks/stop_hook.py`

CCDK_COMMANDS_DIR

`hooks/discord_passthrough.py`

replied

✅

narrate

log + state paths

CCDK_DATA_DIR

`store.py`

CCDK_SETTINGS_PATHS

`inventory.py`

working

varies

compacted

📝

paginate_guard

log path + char limit (default 1900)

delete

search`. - `client.py` — same CLI, but over HTTP to the server (set `CCDK_URL`) so remote agents use it transparently. - `server.py` — Flask web UI + JSON API. ⌘K palette, editors, markdown, pinning/trash/history/merge, optional semantic search. - `personas.py` — where each agent keeps its persona files (configured in `agents.yaml`); auto-commits if they live in a git repo. **The Discord layer** - `hooks/narrate.py`, `hooks/tool_watcher.py`, `hooks/react_hook.py` — the three observability lanes (narration / tool-trace / emoji-state). - `hooks/discord_passthrough.py` — run `!cmd` / `/cmd` from Discord on the host, reply inline, zero token spend. See `commands/README.md`. - `hooks/notify_hook.py` — mirror Claude Code permission prompts to Discord (read-only). - `discord_handler.py` — optional `/mem` + `/journal` slash-command bot. **Ops** - `inventory.py` — live read of hooks, crontab, systemd units, launchd agents across hosts (cached 30s, never writes). - `digest.py` — pull recent channel history for review; optional Gemini summarize. ## Install ```bash git clone https://github.com/<you>/cc-discord-kit.git cd cc-discord-kit python3 -m venv venv && source venv/bin/activate pip install -r requirements.txt cp agents.example.yaml ~/.config/cc-discord-kit/agents.yaml # Edit agents.yaml to point at your real persona-file paths. ``` Then either run the server: ```bash python3 server.py # Open http://127.0.0.1:5005 ``` …or the CLI: ```bash ./cli.py memory list ./cli.py memory add "Use direct, no glazing" --type=feedback --name="comm style" ``` ## Configuration All env vars optional unless noted.

CCDK_DIGEST_CHANNELS

`digest.py`

Path

What

CCDK_ECHO_GUARD_LOG

discord_echo_guard

DISCORD_STATE_DIR

several

CCDK_BOT

`cli.py`, hooks

CCDK_OWNER_ID_FILE

`hooks/discord_passthrough.py`

react_hook

log + state paths

CCDK_REACT_HOOK_BIN

notify_hook

CCDK_URL

`client.py`

VECGREP_URL

`vecgrep_client.py`

Mode

Emoji

notified

🔔

CCDK_NOTIFY_HOOK_LOG

notify_hook

show

add

CCDK_GUILD_IDS

`discord_handler.py`

CCDK_PASSTHROUGH_LOG

`hooks/discord_passthrough.py`

terminal

🖥️

CCDK_TOOL_WATCHER_LOG

tool_watcher

CCDK_BOT_DISCORD_USER_ID

discord_mention_resolver

CCDK_URL_PREFIX

`server.py`

CCDK_OWNER_DISCORD_USER_ID

`hooks/discord_passthrough.py`

received

👀

Var

Hook

CCDK_STOP_HOOK_LOG

react_hook (memorized mode)

CCDK_AGENTS_FILE

`personas.py`

GEMINI_API_KEY

`digest.py`

memorized

💾

crosscheck

🔀

CCDK_SCRUB_TAGS_LOG

scrub_tags

CCDK_DISCORD_ROSTER

discord_mention_resolver