
Omnicord
io.github.OrygnsCodePublished by GitHub account OrygnsCodev1.4.1Updated Oct 24, 2026
Discord server management MCP for AI agents: chat, moderation, admin, and full server building.
Overview
MCP server that gives an AI assistant operational control of a Discord server: chat, moderation, admin, and full server building through your own bot.
- What you can do
- Build and rebuild whole servers: roles, categories, channels, permissions, saved layouts as blueprints
- Send and manage messages: edits, pins, forwards, reactions, polls, scheduled messages, DMs, webhooks, component layouts
- Read server data: channel history, message search, members, roles, permissions, audit log
- Moderate members: timeouts, kicks, bans, bulk actions, prune, raid lockdown, plus AutoMod filter rules
- Manage structure and community features: channel reordering and cloning, events, stages, threads, forums, invites, onboarding, emojis and stickers
- Subscribe to live server events and run diagnostics such as setup checks and permission explainers
- When to use it
- Useful when you want an assistant to run or build out a Discord community from a short brief, or to handle day-to-day messaging, moderation and server administration without clicking through the Discord UI. Also fits teams that keep several bots, one per server, from a single install.
- Requirements
- Runs locally over stdio as an npm package; Node 20 or newer and a Discord account are needed. A Discord bot token is supplied through the DISCORD_TOKEN environment variable, normally written to a local .env file by the init wizard; OMNICORD_GUILD optionally sets a default server ID. The bot needs the privileged intents and invite permissions chosen during setup. An optional HTTP mode and Docker image exist for self-hosting.
Installation
In SourceWeft
- Open Omnicord in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
Omnicord
Discord server management MCP for AI agents.
[CI] [npm] [Glama score] [License: Elastic 2.0] [Node] [MCP]
Omnicord is an MCP server that gives your AI assistant full operational control of a Discord server. Day to day chat, moderation, administration, and at the top end: building out an entire community server from a one paragraph brief.
You describe what you want. Your AI decides how to do it. Omnicord makes sure it happens correctly, and that nothing destructive happens without your say so.
How it works
Your AI client (Claude Desktop, Cursor, Windsurf, Claude Code, or any other MCP client) is the brain. Omnicord is the hands: it talks to Discord through your own bot, enforces Discord's rules before they bite, queues politely behind rate limits, and gates every destructive action behind a preview you confirm. There is no LLM inside Omnicord and no cloud service behind it. Your bot token stays in a file on your machine.
Quick start
You need Node 20 or newer and a Discord account. One command:
Or from source:
Prefer to watch? Here is the full setup, start to finish:
This walkthrough is a little dated now, but the core steps still apply. A fuller, updated walkthrough is planned.
The wizard goes from a bare Discord application to a working setup in
about a minute. It takes the bot token with input hidden, verifies it
live against Discord, checks the privileged intent toggles and waits
while you fix any that are off, generates an invite link at the
permission level you pick, saves the token locally (a gitignored .env
for a source checkout, or .omnicord/.env in your user folder for an
npx or global install), and writes the omnicord entry into your AI
client's config (backing the file up first). Claude Desktop (including the Microsoft Store build), Cursor,
Windsurf, and project level Claude Code are detected automatically, even
before you have set up MCP in them; anything else gets a snippet to
paste. It only adds the omnicord entry and never overwrites the rest of
the file.
Then fully restart your AI client and ask it:
run a setup check on my Discord bot
Eight checks, plain English results, and the exact fix for anything that is wrong.
To update later, run npx @orygn/omnicord@latest init and choose
Re-register with your AI client. Your bots and settings carry over.
What it can do
The full contract for every tool is in the tool catalog.
The safety model
Destructive operations (deleting, banning, kicking, timeouts, bulk actions) never execute on the first call. They return a human readable preview and a confirmation token bound to that exact action; repeating the call with the token executes it. Tokens are single use and expire after two minutes. Moderation additionally preflights Discord's hierarchy rules, owner protection, and self protection before the gate, so the failure mode is an explanation rather than a 403.
This is enforced by Omnicord itself, not by the model's judgment. A confused or compromised AI session cannot skip the gate.
Multiple bots
Omnicord can drive several bots from one install, one per server. Point it
at a server and it uses the bot that is actually in that server, so a test
bot and a real bot, or a separate bot per community, sit side by side
without swapping tokens. Set it up by answering the wizard's "how many
bots" prompt, or by hand in a bots.json. Destructive previews name the
acting bot so a misrouted action is caught before it runs. A single
DISCORD_TOKEN is unchanged and never sees any of this. Full details in
Multiple bots.
Running it
Stdio, the default, for desktop MCP clients:
Streamable HTTP, for remote capable clients and self hosting:
A bot token sits behind the HTTP endpoint, so the defaults are strict:
binding beyond localhost without OMNICORD_HTTP_TOKEN refuses to start,
bearer auth is compared in constant time, browser origins are rejected
unless allowlisted, and the Host header is validated in loopback mode to
close DNS rebinding. Details in self-hosting.
Docker
A published image is on Docker Hub (orygn/omnicord), or you can build
your own. The image runs the HTTP transport as a non root user with the
container health check wired to the health endpoint. It binds beyond
loopback, so it requires OMNICORD_HTTP_TOKEN and exits with a clear
message without one. The token never lives in the image; everything
arrives through the environment at runtime.
To build it yourself instead: docker build -t omnicord .. Or with
compose, after exporting the two secrets: docker compose up -d.
Configuration
Environment variables, or a .env file (the wizard writes one for you;
source checkouts use .env next to package.json, npx and global
installs use .omnicord/.env in your user folder). Multiple bots are
configured in a bots.json in the same directory; see
Multiple bots.
Client config for stdio (Claude Desktop and compatible):
No token goes in the client config. The server finds .env and
bots.json no matter where the client spawns it from: it checks
OMNICORD_HOME if set, then the current directory, then the package
root, then .omnicord in your user folder, and a real environment
variable overrides all of them.
Documentation
The docs are written to be read by AI assistants too: paste a page at your AI and have it walk you through.
Omnicord is also listed on the official MCP registry, Smithery, and Docker Hub.
Tests
The acceptance suite needs DISCORD_TOKEN and OMNICORD_GUILD pointing
at a disposable test server, and cleans up after itself.
scripts/smoke-docker.mjs builds and verifies the container image and
needs a running Docker daemon.
The unit and smoke suites need no Discord token, so you can watch the confirmation gate block a destructive call, and then let it through only with the token, before you trust this server with a bot of your own.
Contributing
Bug reports and pull requests are welcome. CONTRIBUTING.md covers the layout, the test suites, the conventions, and the one hard rule: any tool that deletes content, removes access, punishes a member, or fans a change out across many entities must go through the confirmation gate. The project follows the Contributor Covenant.
License
Omnicord is source available under the Elastic License 2.0. In plain terms: anyone may read, use, modify, and self host it freely, including businesses running their own communities. The one thing the license forbids is offering Omnicord to third parties as a hosted or managed service. The code is public so it can be audited; it is not up for resale as a service.
Versioning
Semantic versioning, tracked in CHANGELOG.md. 1.0.0
marked the public launch; releases since follow semver, and the npm
badge above shows the current version. The version in package.json
flows everywhere automatically: the MCP server identity, the health
endpoint, and the wizard.
Built by Orygn LLC. Security reports: [email protected].
Source: README.md at commit 98ed053
Tools
0Version history
2- v1.4.1LatestOct 18, 2026
- v1.4.0Sep 16, 2026
Score
40% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts
Declare a license in the repository or the registry entry.