How to connect Discord Bot to Hermes Agent
Connect Discord Bot to Hermes with ClawLink in one click — 165 tools your AI agent can call from chat via hosted OAuth. No API keys, no manual setup.


Automate Discord server actions with bot-specific permissions. Once connected, Hermes Agent can read and act on Discord Bot from chat — pairing, token refresh, and tool wiring handled for you.
Most guides for giving Hermes Agent Discord Bot access start with registering your own OAuth app or pasting API keys into env files, then leave the token refresh and tool wiring to you. ClawLink gives Hermes a more practical Discord Bot setup: pair once in the browser and your always-on Hermes agent can act on Discord Bot for you, reading and doing real work on your behalf with no auth, token refresh, or tool wiring to build yourself.
Copy this prompt into Hermes to install the plugin and pair your account.
Set up ClawLink for Hermes and tell me when it's ready.
1. Install the plugin:
hermes plugins install ClawLink-HQ/hermes-plugin --enable
2. Start pairing. It prints an approval link, so show me the link and stop, don't wait:
hermes clawlink begin
3. I'll approve it in my browser, then reply "approved".
4. When I say approved, finish setup:
hermes clawlink finish
5. Then run `hermes clawlink test` and tell me whether ClawLink is ready.Setup
It takes three steps to connect Hermes to Discord Bot.
1Install and pair
Install the ClawLink plugin, then pair Hermes with a one-time browser approval:
hermes plugins install ClawLink-HQ/hermes-plugin --enable- 2
Connect Discord Bot
One-click OAuth in the dashboard.
- 3
Use it from chat
Ask Hermes Agent: "What can you do with Discord Bot?"
Install by command
The prompt above walks Hermes through this. By hand, it is four commands and a browser approval:
hermes plugins install ClawLink-HQ/hermes-plugin --enable
hermes clawlink begin # prints an approval link — open it and approve
hermes clawlink finish # after approving in the browser
hermes clawlink testThen connect Discord Bot in the ClawLink dashboard — a one-click OAuth approval, no API keys.
Verify the connection by asking Hermes:
Use Discord Bot to discordbot get active guild threads and walk me through the result in plain English.
Using a different agent?
The Hermes plugin is one client of ClawLink's MCP server. Claude Code, Cursor, Codex, or any agent that can run a shell command pairs with the same ClawLink account through the CLI:
npx -y @useclawlink/cli loginlogin opens the same browser approval and stores a credential locally. Once Discord Bot is connected in the dashboard, that agent calls the same 165 Discord Bot tools over MCP. Full setup for MCP clients and shell agents: connect apps to any AI agent.
Discord Bot MCP for Hermes
Looking for a Discord Bot MCP server for Hermes Agent? ClawLink connects Discord Bot to Hermes Agent and exposes 165 Discord Bot tools your agent can call over MCP, with hosted auth and nothing to run or maintain yourself. Using OpenClaw instead? The OpenClaw Discord Bot integration works the same way.
What the Hermes Agent Discord Bot integration can do
165 Discord Bot tools are ready for Hermes Agent once the account is connected. The 30 below are the ones people reach for most; your agent can call all 165.
30 of 165 Discord Bot tools for Hermes
| Tool | What it does |
|---|---|
Get active guild threads discordbot_get_active_guild_threads | Retrieves all active (non-archived) threads in a Discord guild that the bot can access |
Get application discordbot_get_application | Retrieves the full details of a Discord application by its application_id |
Get application command discordbot_get_application_command | Retrieves a specific global application command by its application ID and command ID |
Get application role connections metadata discordbot_get_application_role_connections_metadata | Retrieves all role connection metadata records for a Discord application |
Get application user role connection discordbot_get_application_user_role_connection | Fetches the role connection object for the current user for a specified Discord application |
Get auto moderation rule discordbot_get_auto_moderation_rule | Retrieves the complete configuration of a specific auto moderation rule within a Discord guild |
Get bot gateway discordbot_get_bot_gateway | Retrieves the WSS URL, recommended shard count, and session start limits for connecting a bot |
Get channel discordbot_get_channel | Retrieves detailed metadata for a specific Discord channel by its channel_id |
Get gateway discordbot_get_gateway | Retrieves the WebSocket URL to connect to Discord's Gateway for receiving real-time events |
Get guild discordbot_get_guild | Retrieves detailed information for a specified Discord guild (server) by its guild_id |
Get guild application command discordbot_get_guild_application_command | Retrieves detailed information for a specific application command within a Discord guild |
Get guild application command permissions discordbot_get_guild_application_command_permissions | Retrieves the permissions for a specific application command within a guild |
Get guild ban discordbot_get_guild_ban | Fetches the ban details for a specific user in a Discord guild, if that user is currently banned |
Get guild emoji discordbot_get_guild_emoji | Retrieves details for a specific custom emoji within a specified Discord guild, requiring valid |
Get guild member discordbot_get_guild_member | Retrieves detailed information for a specific member of a Discord guild, provided the bot |
Get guild preview discordbot_get_guild_preview | Fetches a public preview of a Discord guild by its ID, if the guild has the preview feature |
Get guild scheduled event discordbot_get_guild_scheduled_event | Retrieves a specific scheduled event from a Discord guild by its ID, optionally including the |
Get guild sticker discordbot_get_guild_sticker | Retrieves a specific sticker from a Discord guild using the guild and sticker IDs; requires the |
Get guild template discordbot_get_guild_template | Retrieves the complete structure and details of a Discord guild template using its unique code |
Get guild vanity URL discordbot_get_guild_vanity_url | Retrieves the vanity URL invite code and usage count for a Discord guild |
Get guild webhooks discordbot_get_guild_webhooks | Retrieves all webhooks for a specified Discord guild, requiring MANAGE_WEBHOOKS permission |
Get guild welcome screen discordbot_get_guild_welcome_screen | Retrieves the welcome screen configuration for a Discord guild with the Community feature |
Get guild widget discordbot_get_guild_widget | Retrieves the public JSON widget data for a Discord guild, if the widget is enabled for that |
Get guild widget png discordbot_get_guild_widget_png | Retrieve a PNG image widget for a Discord guild |
Get guild widget settings discordbot_get_guild_widget_settings | Retrieves the widget settings for a specified Discord guild, indicating if the widget is |
Get guilds onboarding discordbot_get_guilds_onboarding | Retrieves the onboarding settings for a specified Discord guild, including prompts, options |
Get message discordbot_get_message | Retrieves a specific message from a Discord channel by channel and message ID |
Get my application discordbot_get_my_application | Retrieves detailed information about the current authenticated Discord application via |
Get my oauth2 application discordbot_get_my_oauth2_application | Retrieves detailed information about the OAuth2 application associated with the current |
Get original webhook message discordbot_get_original_webhook_message | Retrieves the original (@original) message from a Discord webhook or interaction response |
Try it: find the Discord Bot tool you need
Browse the 30 Discord Bot tools
Click any tool to see exactly what Hermes can do and copy a ready-to-use prompt.
Example prompts
Use Discord Bot to discordbot get active guild threads and walk me through the result in plain English.
Use Discord Bot to discordbot get application and walk me through the result in plain English.
Use Discord Bot to discordbot get application command and walk me through the result in plain English.
Use Discord Bot to discordbot get application role connections metadata and walk me through the result in plain English.
ClawLink vs. building it yourself
The alternative to ClawLink is usually manual OAuth app setup plus your own token handling, permission troubleshooting, and tool plumbing for Hermes Agent. That is fine if you want to build and maintain the integration yourself. Most teams just want Discord Bot working from chat.
| Manual | ClawLink | |
|---|---|---|
| Connection flow | Register a Discord Bot app, configure redirect URLs, manage consent details, and reconnect users when auth settings drift. | Users connect Discord Bot through the hosted browser flow and ClawLink keeps the token lifecycle out of your app code. |
| Ongoing maintenance | You own refresh logic, permission debugging, environment config, and every provider-specific edge case for Discord Bot. | ClawLink handles the repetitive integration plumbing so your team can focus on the workflow instead of the infrastructure. |
| Agent usability | You still need to expose the right Discord Bot actions to the runtime in a format your agent can reliably use. | 165 tools for Discord Bot are already exposed through ClawLink, so the agent can read and act from chat immediately. |
ClawLink vs. Composio
Composio also exposes Discord Bot to AI agents. It is developer infrastructure: Python and TypeScript SDKs, an MCP server, and a catalog past 1,000 apps, aimed at teams shipping agent products. ClawLink is built for Hermes Agent users instead. You install the plugin once, connect Discord Bot in the browser, and the 165 tools above work from chat. There is no SDK, no config file, and no API key handling. Choosing between them? Read the full Composio alternatives comparison.
Troubleshooting
Hermes paired but still can't use Discord Bot
Pairing is a two-step handshake: run hermes clawlink begin, approve the link in your browser, then run hermes clawlink finish. If you ran finish before approving, or the approval link expired, run hermes clawlink begin again to get a fresh link. Confirm the plugin was installed with --enable, then verify with hermes clawlink test.
Connection succeeds but no tools appear
Reconnect Discord Bot from the dashboard, then start a fresh chat if the runtime still has the old tool catalog loaded.
"Tool schema not loaded yet" error when calling Discord Bot tools
Discord Bot tool schemas load on demand the first time a tool runs and are cached after that, so this error usually clears on its own: wait a few seconds and retry the same request. If every Discord Bot call keeps failing with it in a fresh chat, reconnect from the dashboard, and contact support if it still persists — that pattern points to a configuration problem on our side, not something you can fix by reconnecting again.
Discord Bot returns 403 or "permission denied" on one action while others work
Two usual causes. The connected account may not have access to the specific workspace, inbox, store, or project in the request — check that first. If access looks right, the agent may have sent a placeholder value (like "YOUR_ID" or an example id from documentation) instead of a real one: ask it to run a list or search tool first, then retry the action with a real id from those results. Most failures at this stage are one of these two, not ClawLink bugs.
OAuth finished in the browser but the account is still missing
Try reconnecting Discord Bot and complete the consent flow in the same browser session. Partial OAuth approvals or switching accounts mid-flow can leave the connection incomplete.
FAQ
Is there a Hermes Agent Discord Bot integration?
Yes. ClawLink is the fastest way to connect Hermes to Discord Bot: link your Discord Bot account once in the browser and Hermes Agent can call the Discord Bot API through 165 ready-made tools — no custom code or token handling.
How do I connect Discord Bot to Hermes with ClawLink?
Install the plugin with hermes plugins install ClawLink-HQ/hermes-plugin --enable, then pair once: run hermes clawlink begin, approve the link in your browser, and run hermes clawlink finish. Connect Discord Bot in the dashboard and Hermes can use it from the next message — no config files or API keys to manage.
How long does it take to connect Discord Bot to Hermes Agent?
About two minutes. Sign in, click Connect next to Discord Bot in the dashboard, authenticate, and Hermes Agent can use it from the next chat message.
Why use ClawLink instead of wiring Discord Bot up myself?
The alternative to ClawLink is usually manual OAuth app setup plus your own token handling, permission troubleshooting, and tool plumbing for Hermes Agent. That is fine if you want to build and maintain the integration yourself. Most teams just want Discord Bot working from chat.
Hermes paired but still can't use Discord Bot
Pairing is a two-step handshake: run hermes clawlink begin, approve the link in your browser, then run hermes clawlink finish. If you ran finish before approving, or the approval link expired, run hermes clawlink begin again to get a fresh link. Confirm the plugin was installed with --enable, then verify with hermes clawlink test.