# kiro-discord-bot [Health: Active]

**Category:** 💬 Communication  
**Repository:** https://github.com/nczz/kiro-discord-bot  
**GitHub Stars:** 45  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/kiro-discord-bot

## Description
Discord control plane for project-bound ACP agents (Kiro CLI/OMP) with MCP policy, cron/audit, and A2A over NATS/JetStream.

## Claude Desktop Quick Installation
No generated config for this server: it installs through its own setup steps.

The project's own setup steps (from https://github.com/nczz/kiro-discord-bot), copied verbatim. Follow them in order; they are not an mcpServers config.

1. Install:

```sh
go build -ldflags "-X main.Version=$VERSION" -o kiro-discord-bot .
```

2. Install:

```sh
go build -o mcp-discord-server ./cmd/mcp-discord
```

## Documentation

## What kiro-discord-bot does

kiro-discord-bot turns Discord into a control plane for project-bound ACP coding agents. A channel can be associated with a real project directory and its own agent session, allowing conversations in that channel to remain tied to the relevant codebase. Kiro CLI is the default agent engine; OMP can be enabled for selected channels and threads as an alternative.

The bot also manages agent context. Project guidance, steering files, conversation history, memory, flash memory, and project knowledge can help an agent continue work without starting from an empty context each time. Scheduled work is supported through cron jobs and reminders owned by a channel.

## How it works

The bot connects Discord channels and threads to ACP-compatible agent CLIs over standard input and output. After an administrator creates and configures the Discord application, a channel can be bound to a project with `/cwd`. The `/doctor` command checks Discord permissions and whether the enabled agent engine is ready.

MCP servers are handled through discovery, policy, and a proxy. Available MCP servers can be cataloged, then selectively exposed to individual channels instead of being made available everywhere. Administrative panels and sensitive diagnostics use private Discord replies where Discord supports them. A Gateway watchdog attempts to reconnect when the Discord runtime becomes unhealthy before the process manager needs to restart it.

Kiro CLI and OMP remain external dependencies. Their installation, authentication, model access, and command-line updates are managed by those projects rather than by the bot.

## Setup and configuration

At least one ACP engine must be installed and authenticated before use: `kiro-cli` or `omp`. Create a Discord bot with the `bot` and `applications.commands` scopes, enable the Message Content Intent, and grant the required channel and message permissions.

The quick-start configuration uses these environment variables:

- `DISCORD_TOKEN` for the bot credential
- `DISCORD_GUILD_ID` for the Discord guild
- `DEFAULT_CWD` for the default working directory
- `DATA_DIR` for application data

Download the latest release archive or build from source. A source build produces the main `kiro-discord-bot` binary and can also build `mcp-discord-server` and `mcp-media-server`. Run the bot in the foreground initially to verify login, then initialize a channel with `/cwd` and check readiness with `/doctor`.

## Tools and capabilities

- Bind Discord channels to project directories and separate agent sessions.
- Select Kiro CLI or optionally use OMP for supported channels and threads.
- Apply per-channel MCP exposure policies through a proxy.
- Retain project context through memory, steering files, history, and project knowledge.
- Run scheduled jobs and reminders under channel ownership.
- Track audit and usage information and provide operational diagnostics.
- Build the included Discord and media MCP server binaries from source.

_Full upstream README: https://allmcps.com/mcp/kiro-discord-bot/readme_

