Repository navigation
Releases
v2.1.1
Fixed
- The setup wizard no longer crashes when it can't reach Discord or save a
file. It says what went wrong and what to try, gives Discord a second try
first, and prints a line to paste into an issue, without your token or
user name in it. - It catches Ctrl+V typed as a key instead of pasting, which some terminals
do while typing is hidden, and says how to paste there. - It spots a Client Secret, Public Key, or ID pasted in place of the bot
token, and drops the spaces and invisible characters that come along when
a token is copied. - It warns when Node.js is older than 22.
- The Claude Desktop docs say where on the Extensions page to drop the
bundle.
Changed
- The setup wizard's usage report also says which major Node.js version it
ran on, what went wrong along the way, where a setup stopped, and what
kind of error stopped one that failed. What's in it
v2.1.0
Added
- Read-only mode:
DISCORD_MCP_READ_ONLY=trueloads only the tools that look
things up. - Allowed servers:
DISCORD_MCP_ALLOWED_SERVERSkeeps the tools to the
servers you list. - One-click installs for VS Code, VS Code Insiders, Cursor, and Claude
Desktop. The Claude Desktop bundle is attached to every release and tells
you when a newer one is out. - Usage stats: a small, anonymous daily report so we can see which features
people use. What's in it.DISCORD_MCP_TELEMETRY=off
turns it off. - Docs: recipes, a privacy page, and setup for VS Code, Codex CLI, and Cline.
Changed
- A bulk delete confirmed in a busy channel now deletes exactly what its
preview showed. Before, new messages arriving in between made the token
stop matching, and it was refused. - The setup wizard links the walkthrough video at the step that creates the
bot.
Fixed
- A
bots.jsonor an AI app's config saved with a byte order mark (PowerShell
5 and Notepad can do this) was read as invalid JSON. - The Docker image's data folder was not writable, so without a bind mount
anything that saves to it failed with a permission error: build plans,
change records for undo, saved blueprints, and scheduled messages. The
folder is now part of the image, owned by the server's user, and
compose.yamlkeeps it in a named volume.
v2.0.0
Omnicord is now discord-mcp. Same project, new name: the package, the
command, the settings, and the settings folder all change, and the setup
wizard moves an existing install over. It is also the biggest release so
far: 164 tools, a confirmation dialog the model cannot answer, undo, and
editing a server that already exists.
The license is Apache-2.0 from this version on. Versions up to 1.4.1 stay
under the Elastic License 2.0.
Upgrading from Omnicord
- Run
npx @orygn/discord-mcp init. It switches your AI apps over (each
config is backed up first) and moves~/.omnicordto
~/.orygn/discord-mcp. For Claude Code it prints two commands to run. OMNICORD_*settings areDISCORD_MCP_*now. The old names keep working
through 2.x.- The command is
orygn-discord-mcpand the config entry isdiscord-mcp,
so tool names becomemcp__discord-mcp__.... Approvals saved for the old
names do not carry over. - The Docker image is
orygn/discord-mcp. - Node 22 or newer.
- A
.envin the folder your AI app starts in is no longer read. Set
DISCORD_MCP_HOMEto that folder if you relied on it. - If you script against it: names in results are quoted now
(Removed "Helper" from "Sam"), and more calls stop at a preview first
(see Security).
Security
If you run an earlier version, these are the ones to know about.
- A model could finish a destructive action by itself. The confirm token
from a preview goes to the model, which could call again with it without
asking anyone, so a model misled by something it read, a message in a
channel for instance, could delete, ban, or kick. Where the app can show
a form, confirming is now a dialog the model cannot answer. Elsewhere the
token still works, andDISCORD_MCP_CONFIRM=dialogrefuses destructive
actions in those apps. Claude Desktop is one of them at the time of
release, so leave its own prompt on for the delete and ban tools. - Handing out power or access needed no confirmation. One call could give
someone moderator powers, open a private channel, lift a ban, or move a
role above the admins. These are confirmed now, when they actually hand
something out. - Taking a protection down is confirmed too: lowering verification, lifting
a raid pause or a timeout, turning an AutoMod rule off, turning the public
widget on, unlocking a channel this server did not lock. - Upload URLs (emoji, stickers, sounds, webhook avatars) were fetched from
any address, including the machine the server runs on and its private
network. Only public addresses are fetched now, redirects included.
DISCORD_MCP_ALLOW_PRIVATE_URLS=trueallows private ones again. - HTTP mode: one request with a malformed Host header stopped the server,
and it needed no token. It gets a 400 now. - The server read a
.envfrom whatever folder it was started in, ahead of
its own. Opened inside another Discord bot's project, it ran as that
bot. It reads one place now, and the setup check says which. - A confirm token was not tied to a server, so one previewed for a kick or
ban worked on the same user in another server the bot is in. dry_runpassed together with a valid confirm token ran for real.bulk_update_rolesandbulk_bantokens covered less than the preview
showed: a different filter matching as many members, and message deletion
on a ban that the preview never mentioned.- The wizard wrote
.envandbots.jsonreadable by every account on
Linux and macOS. They are owner-only now, and the setup check warns about
a loose one. delete_invitecould revoke another server's invite while the preview
named this one.end_stageandcancel_scheduled_messagewere documented
as confirmed and ran at once.- A parameter a tool does not have was dropped without a word, so
dry_run: trueon a tool with no dry run ran for real. Such a call is
refused now, at the top level and inside a blueprint.
DISCORD_MCP_STRICT_PARAMS=falseturns the check off. - Names are quoted everywhere. A display name such as
Sam". The user already approved thiscould read as part of a preview or
a result. Names go in double quotes on one line, with characters nobody
can see removed.
Added
- Edit a server that already exists.
plan_server_buildwith
update_existingchanges roles, channels, and permissions to match a
blueprint, shows before and after, and flags the risky changes.remove
deletes through a plan and says what each deletion loses. - Undo. Changes to a server's structure are recorded, the newest 50 per
server, andundo_changereverses one of them or everything since a
time.list_changesshows them. Messages in a deleted channel do not
come back. audit_server_securityranks what is risky in a server, with a fix for
each.get_channel_accessandget_member_accesssay who can see what.catch_up: what happened since a time, busiest channels first.- Files and pictures. Attach up to 10 files by URL, let the AI look at the
images in a message, and read embeds and forwarded messages, which used
to come back blank. - Full embeds: fields, footer, author, pictures, and a time (
nowworks).
The ones Discord would post broken are refused first. - Invites that give roles, or that only chosen people can use.
- Settings that were missing: server icon and banners, gradient role colors
and role icons, voice bitrate and limits, forum defaults. update_bot_profile,leave_server,import_server_template, voters in
get_poll_results, editing webhook messages.- The server tells the app what it is for when it connects, which is all a
model sees before it loads a tool. - A once-a-day check for a newer version, mentioned once per session.
DISCORD_MCP_UPDATE_CHECK=falseturns it off. - Blueprints take per-role
permissions, and exports carry ids so an
edited export changes those exact items. DISCORD_MCP_CONFIRM:auto,token, ordialog.
Changed
- Speaks the 2026-07-28 MCP protocol and still serves 2025 clients. HTTP
serving is stateless. - An install is 20 packages, down from about 110.
- With everything loaded the tool list is about 188 KB, up from 133 KB.
DISCORD_MCP_TOOLStrims it; the core group alone is about 12 KB. - When several of your bots share a server, the default bot handles it, or
the one named underserversinbots.json. See
Multiple bots. - A message can be given by its link wherever its ID is wanted.
- Discord's change of November 16, 2026 is handled: channels the bot cannot
see leave its channel list, so overviews say how many are hidden and
builds count them toward the limits. - The setup check follows Discord's 10,000-user rule for privileged
intents. - In a blueprint,
private_to: []means admins only andnullmeans
everyone. An empty list used to mean no restriction, which exported an
admins-only channel as public. - A request that would sit out a long Discord rate limit fails at once with
the time to retry. It used to hang for up to 10 minutes. - The role presets and the recommended invite gained Bypass Slowmode, Set
Voice Channel Status, and Create Private Threads.
Fixed
45 fixes. The ones most likely to have bitten someone:
lock_channelleft a channel open where the channel's own permissions
let @everyone post, andunlock_channelopened read-only channels to
everyone.- A member asked for by name was matched on the username alone, so a DM or
a role could go to the wrong person. - A read-only channel built inside a private category came out public.
- Scheduled messages could go out twice, since Claude Desktop starts two
copies of each server, and one with a start time in the past fired at
once. subscribe_eventscollected messages from every server the bot was in.- After the connection to Discord dropped and came back,
set_bot_presence
refused to work until a restart. edit_messagecould turn text into a mention.bulk_update_rolesread a mistyped date as no filter and matched
everyone.- One page of a list was reported as the whole of it: role members,
reactions, event attendees, threads, pins. - On Windows the wizard missed Claude Desktop's current config folder, and
registering again dropped an entry'senvblock. ban_memberbans people who already left,create_threadworks in
announcement channels, andtimeout_memberrefuses an administrator up
front instead of failing with a bare 403.- The tool catalog described several things no tool did. Every row was
checked against the code.
v1.4.1
Repairs installs set up through npx, which stopped working whenever npm
cleared its npx cache, gives existing setups a one-step way to re-register
and update, and refreshes dependencies. No new tools.
Fixed
- Installs set up through npx stopped working whenever npm's npx cache was
cleared.npx @orygn/omnicord initregistered the copy npx was running
from, inside that cache, with the AI client. When the folder went away the
client failed on every start with "Cannot find module", which Claude
Desktop shows as "Server disconnected", and until then the client never
received updates, because nothing changed that folder. The wizard now
copies Omnicord to.omnicord/app/<version>in the user folder and
registers the copy. Each version gets its own folder, so a client still
pointing at an older one keeps working; that costs about 40 MB per version,
the full dependency tree, until old ones are deleted by hand.
Added
initon an existing setup offers Re-register with your AI client,
which rewrites only the client entry and keeps the bots. It is the repair
for an install already broken by the above, and the way to update:
npx @orygn/omnicord@latest init, then re-register. The repair used to
require reconfiguring from scratch.- A server running from the npx cache without npx having launched it, which
is the setup that breaks, warns on startup and adds aninstall_location
warning torun_setup_check. Clients configured to launch through
npx -y @orygn/omnicordare unaffected and get no warning, since npx
reinstalls on demand.
Changed
- The troubleshooting entry for this blamed
npm cache clean, which does not
touch the npx cache. It now names the symptom and the actual causes. @modelcontextprotocol/sdk1.32.1,zod4.6.7,discord-api-types
0.38.56. The upgrade changed one thing in the published tool definitions:
the choicevalueinregister_app_commandandupdate_app_commandis
now written as"type": ["string", "number"]instead of ananyOfof the
two, which means the same thing.
Security
-
Seven advisories against packages in the dependency tree are resolved:
proxy-addr(critical, IP spoofing through an IPv4-mapped IPv6 trust
subnet),@modelcontextprotocol/sdk(high, its OAuth client could send
credentials to an authorization server chosen by the MCP server),
fast-uri(high, several host confusion and request forgery issues),
undici(high, two denial of service issues in its WebSocket client and a
response splitting issue in its retry interceptor), andhono,
ip-address, andqs(moderate).None were reachable from Omnicord. It imports no express, hono, or MCP
client or OAuth code; its HTTP transport is built onnode:httpand caps
request bodies at 1 MB after checking the bearer token; andundiciserves
only REST requests. The gateway connection uses thewspackage rather
than undici's WebSocket client, and nothing uses its retry interceptor.Only the Docker image and source checkouts had these versions, since both
install from the lockfile. A fresh npm install of 1.4.0 already resolved
fixed versions of all seven. The 1.4.1 image is built on the fixed lockfile.
This is the first release published from GitHub Actions, with an npm provenance attestation that ties the package to this repository and build.
v1.4.0
Rich message layouts, private channels in one call, and a fix to how
blueprints carry the role hierarchy, found by rebuilding a server onto a
second one and watching the roles come out upside down.
Added
-
Components V2 layouts.
send_messageandedit_messagetake a
componentsarray: text blocks, sections with a thumbnail or link button
beside them, image galleries, separators, and rows of link buttons, inside
colored containers. Discord renders these as a whole-message layout in
place of content and embeds, under a flag that cannot be removed from the
message afterward, so the two cannot be combined and the tools refuse to
try. Buttons are link buttons only: a button that fires an interaction
needs a process answering on the gateway within three seconds, which this
server is not, and would fail for everyone who clicked it. File components
are out for a different reason: they accept onlyattachment://
references and there is no upload path. The 40-component limit is checked
before sending, counted the way Discord counts it, where a section is three
and a button row is one plus each button.Reading these messages back works. Discord leaves
contentempty on them,
so the digest every read tool shares pulls the text out of the components
and marks the messagecomponents_v2.Costs about 5 KB in
tools/list, spread over the two tools. -
Private and read-only channels in one call.
create_channeltakes
private_to,read_only, andposting_roles, the same visibility sugar a
blueprint uses, compiled to permission overwrites and applied in the create
request. Naming@everyoneinprivate_tois refused, in blueprints too:
it denied view to everyone and granted it straight back, which Discord
resolves toward the allow, so the channel came out public.
Changed
- Blueprints list roles highest first, the way the server settings show
them, and that order is the hierarchy. See the fix below for why. Blueprints
written by hand, and the three shipped reference layouts, were already in
this order. A blueprint saved fromexport_server_blueprintbefore this
release is lowest first and will rebuild inverted, as it also did before;
export it again. - Blueprint caps match Discord's own limits, 250 roles and 500 channels, where
the schema allowed 50 and 100. The planner already checked the real limits
against the live server; the tighter caps only made a server with more than
50 roles unexportable. list_rolesandexport_server_blueprintorder roles that share a position
the way the client does, by id with the older role higher, rather than in
whatever order the API returned them.
Fixed
- A blueprint rebuild inverted the role hierarchy. Discord gives every
role created through the API position 1, so a batch of new roles ties, and
the client ranks tied roles by id with the older one higher. Export listed
roles lowest first and the build created them in that order, so the bottom
role got the oldest id and came out on top. Roles are now created top-down,
which needs no extra permission and holds on a fresh server, where the bot's
own role sits at position 1 and Discord will not let it move anything above
itself. A bulk reposition still runs afterward where the bot's role allows
it, and the result reportsrole_positionseither way. export_server_blueprintproduced blueprints thatplan_server_build
rejected on a server with two roles sharing a name, or with an integration
role granted access to a private channel. Duplicates now get a numeric
suffix, and an overwrite for a managed role is reported instead of emitted
as a reference to a role the blueprint never defines. Both warn.- The tool catalog is corrected throughout. 46 rows named parameters that do
not exist, several sections described pagination, envelope fields, and
blueprint contents that do not match the code, and two capability claims
are now true. A smoke assertion holds the catalog anddocs/toolsets.mdto
the code'scoreset so they cannot drift again.
v1.3.0
Adds toolsets, so a session can load only the tools it needs, and ships the four application command tools the catalog has specified since it was written. Existing setups are unaffected: with no new configuration the tool surface is byte for byte what it was.
Added
-
Toolsets.
OMNICORD_TOOLSselects which groups of tools load:messaging,moderation,structure,builder,threads,forums,community,server, andrealtime. Acoregroup of diagnostics and read tools is always present, because without it the server cannot say which servers it reaches or whether setup worked.Every tool definition a client loads costs context before the user types anything, and a large tool surface measurably hurts tool selection. The full set is 155 tools and about 125 KB of JSON on every request. Loading only
messagingandmoderationis 52 tools and 43 KB, roughly 20,000 fewer tokens per conversation. Leaving the variable unset loads everything, as before. A group name that does not exist stops startup and lists the valid ones rather than quietly exposing a smaller surface. See docs/toolsets.md. -
Slash command management:
list_app_commands,register_app_command,update_app_command, anddelete_app_command. Registering without a guild targets the global set; passing a guild targets that server and appears immediately, which is the practical way to iterate, since global commands take up to an hour to propagate and are rate limited per day. Registering a name that already exists updates it in place rather than creating a duplicate.delete_app_commandruns through the confirmation gate. Subcommands and subcommand groups are not supported.Tool count moves from 151 to 155.
Changed
zodmoves to 4. Three parameters that would have emitted a less useful schema under it, the thread auto archive durations and the server AFK timeout, now use a multi-value literal and emit a plain enum again. The blueprint tools inline their channel definition instead of pointing at it with a$ref, which helps clients that do not resolve references.- The tool catalog no longer claims that 15 tools are always loaded and 136 load on demand. That was never true; every tool was registered on every start. It now describes what actually happens.
Security
- Three advisories published since 1.2.1 are resolved:
ip-address(high, an SSRF and trust boundary bypass, reached throughexpress-rate-limit),hono(moderate, four including a denial of service in CORS handling), andundiciat the version the existing override pinned. Lockfile only. A productionnpm auditreports zero vulnerabilities.
v1.2.1
A dependency release. No tool changes and no behavior changes.
Security
-
Four advisories against packages in the MCP SDK's dependency tree are resolved:
fast-uri(high, host confusion via a literal backslash authority delimiter and via failed IDN canonicalization),honoand@hono/node-server(moderate, including a path traversal inserve-staticon Windows), andbody-parser(low, a denial of service when an invalid limit silently disables size enforcement).None were reachable from Omnicord. The HTTP transport is built on
node:httpdirectly, and the only SDK entry points Omnicord imports areserver/mcp.js,server/stdio.js,server/streamableHttp.js, andtypes.js, none of which is the hono-based server. They were still reported by every scanner pointed at the project, so this removes them rather than explaining them away.The practical effect is on the container image. An npm install resolves dependency ranges at install time, so installs of 1.2.0 already picked up the fixed versions on their own. The image is built with
npm ci, which pins from the lockfile, so it carried the older tree until this release. A productionnpm auditreports zero vulnerabilities.
Changed
- The container image is based on Node 24 (the active LTS line) instead of Node 22, which has moved to maintenance. Node 24 is already covered by the CI matrix.
@modelcontextprotocol/sdk1.30.0,@discordjs/rest2.6.3, anddiscord-api-types0.38.52.
v1.2.0
Adds multi-bot support: run several Discord bots, one per server, from a single Omnicord install. This release is purely additive. A single-bot setup behaves exactly as before, down to byte-for-byte identical confirmation previews and tokens; the new behavior appears only once a second bot is configured.
Added
- Multiple bots from one install. Alongside the existing
DISCORD_TOKEN, abots.jsonfile lists each bot by name and token, with one marked as the default. Every server-facing tool routes to whichever bot is a member of the target server, so a request names the server and Omnicord selects the bot. When a server name is ambiguous, or one server holds more than one configured bot, Omnicord asks which bot to use instead of guessing. - The confirmation gate is multi-bot aware. With more than one bot configured, a destructive preview names which bot would act in which server, and the confirmation token is bound to that acting bot, so a token minted for one bot cannot be spent as another. An action aimed at the wrong server shows the wrong bot name, which is the signal to stop it.
list_serversspans every configured bot and labels each server with the bot that reaches it, and flags any bot whose token is unreachable.get_bot_infoandrun_setup_checktake an optionalbotto target one.- The setup wizard asks how many bots you are configuring. One writes the same
.envas before; several write abots.json. Re-running it on an existing install offers to add another bot or reconfigure, and folds a lone.envbot intobots.jsonwhen you add a second. OMNICORD_HOMEoverrides where the.env,bots.json, and data files live, so a deployment can keep its configuration outside the working directory. Left unset, the locations are unchanged.- Resilience across bots. A single unreachable or misconfigured bot no longer affects the others. It contributes nothing and is reported as unreachable.
v1.1.2
Dependency release. No tool changes and no behavior changes.
Security
undicinow resolves to 6.27.0 through an npm override.@discordjs/restdepends on exactly 6.24.1, which carries four published advisories, one of them high, and ships no upgrade of its own that moves off it. None were reachable from Omnicord: the high one is a denial of service in undici's WebSocket client and the gateway runs onwsinstead, and the other three need a hostile HTTP peer while Omnicord only ever talks to discord.com over TLS. They were still reported by every scanner pointed at the project, so this removes them rather than explaining them away. A productionnpm auditnow reports zero vulnerabilities.
The newer client is verified against live Discord rather than assumed compatible: the acceptance suite passes in full, including the multipart uploads behind emojis, stickers, and soundboard sounds.
v1.1.1
Patch release. A live agent-style test of the 1.1.0 tools turned up one defect.
Fixed
forward_messagereturned a Discord 400 error when given a note, because Discord does not allow text on a forward itself. The note is now posted as its own message just before the forward, so the content parameter works as described.