New MCP server: let ChatGPTClaudeClaude CodeCodexCursorOpenClaw or any AI agent schedule your posts See how it works

Claude Code + Discord

Post to Discord from Claude Code

Through iHatePosting, Claude Code can post messages with media into a Discord channel. Register iHatePosting in Claude Code with a single terminal command and a browser sign-in, then ask it for the post you want.

Setup takes about a minute. A message can hold up to 1,980 characters.

DiscordClaude Code15 networks

Posting to Discord from Claude Code

Add iHatePosting to Claude Code once, connect Discord, and then describe the post. Setup takes about a minute.

Step 1

Add iHatePosting to Claude Code once

Register iHatePosting in Claude Code with a single terminal command and a browser sign-in. Then connect Discord in iHatePosting if you have not already.

terminal
claude mcp add --transport http ihateposting https://app.ihateposting.com/mcp/oauth
Step 2

Ask for the Discord post

Describe the post in plain language. Claude Code writes it, applies the settings and schedules it.

Claude Code
> Share the 2.4 changelog in our Discord #announcements channel at 16:00 today. Claude Code: Done. Scheduled on Discord.

What Claude Code can do on Discord

On Discord, Claude Code can post messages with media into a Discord channel.

Channel messages

Send a message into one channel of your server.

Channel list

List the channels the agent may post in, then choose one.

Media

Attach pictures or files to a message.

Scheduling

Send the message at a time you name.

How Claude Code gets a post onto Discord

You say what you want and Claude Code makes the calls. A typical conversation goes like this.

Find your Discord channel

Which Discord accounts do I have in iHatePosting?

What happens

  • Claude Code lists your channels and finds Discord
  • It can also run the channels helper: Lists the channels the agent can post to.

Compose your content

List my Discord channels and remind the events channel about Friday's call tomorrow at 9:00.

What happens

  • Claude Code drafts the text for Discord
  • It uploads any media you mention

Schedule and publish

Yes, schedule it for tomorrow at 9:00.

What happens

  • Claude Code schedules the post in iHatePosting
  • iHatePosting publishes it to Discord at that time

Discord settings reference

Say the option in your own words and Claude Code fills in the matching field. This is every Discord setting it can use.

FieldTypeRequiredDescription
channelstringYesChannel must be an id

Common configurations

Each case below is a request Claude Code understands, followed by the Discord options it sets.

Choose a channel

Post it in the announcements channel

  • Applies: channel: the channel's id

Discord requests to try in Claude Code

An announcement

Share the 2.4 changelog in our Discord #announcements channel at 16:00 today.

A reminder

List my Discord channels and remind the events channel about Friday's call tomorrow at 9:00.

A picture

Post banner.png with a one-line caption to the news channel on Discord tonight.

Discord limits and gotchas to know

A few of Discord's rules shape how Claude Code writes your request, so it helps to know them.

  • A message can hold up to 1,980 characters.
  • Every post names one channel by its id; the agent lists the channels first and picks the one you mean.

What is Claude Code?

Claude Code is Anthropic's agentic tool for software work. It lives in a terminal, with extensions for popular editors, understands the code around it, runs commands and can call MCP tools such as iHatePosting.

That makes it a natural place to announce a release: it can read the changelog, write the copy and schedule it in iHatePosting without you leaving the project.

How iHatePosting works with Claude Code

Once connected, iHatePosting hands Claude Code its tools: your channels, posts, media and each channel's settings (14 tools in all). Claude Code calls them while you describe what you want.

  • iHatePosting MCP server (sign in): claude mcp add --transport http ihateposting https://app.ihateposting.com/mcp/oauth
  • iHatePosting plugin: /plugin marketplace add iHatePostingOrg/iHatePosting-Agent
  • iHatePosting skill (command line): npx skills add iHatePostingOrg/iHatePosting-Agent
Set up Claude Code
# iHatePosting MCP server (sign in) claude mcp add --transport http ihateposting https://app.ihateposting.com/mcp/oauth

Discord and the other platforms Claude Code reaches

Ask for Discord and other channels in a single message; every channel still applies its own settings.

Frequently asked questions

Start free for 30 days

Register iHatePosting in Claude Code with a single terminal command and a browser sign-in, connect Discord in iHatePosting, then ask Claude Code for the post in plain language. It schedules the post and iHatePosting publishes it at the time you set.

Hand your Discord posts to Claude Code

Start free for 30 days.