Kite

How to Make a Discord Bot With Claude

Claude can build your Discord bot for you. Connect it to Kite, describe what the bot should do, and Claude creates the commands and events. Kite runs the bot 24/7, so there's no code to host and nothing to deploy.

About 10 minutes
Free
No code
Get Started for Free
1

Create Your Bot in Kite

Claude builds your bot in Kite, and Kite hosts it. So you need a Discord application for the bot and a Kite app for it first.

  1. Create an application in the Discord Developer Portal, turn on the Privileged Gateway Intents on the Bot page and copy the token.
  2. Open Kite, click on Create app and paste the token.
  3. Click on Invite app and add the bot to your server.

Never done this before? Our first guide shows each step in detail.

Create App
Create a new app to get started with Kite and start building your app!
2

Add Kite to Claude

Kite is a connector for Claude. It gives Claude the tools to read and build your bot.

  1. Open Add Kite to Claude. It opens Claude's Add custom connector dialog with Kite filled in.
  2. Click on Add.

You can also open Customize, then Connectors in claude.ai or the Claude app, click on +, choose Add custom connector and paste https://kite.onl/api/mcp.

The free plan of Claude can add one custom connector, so Kite works without paying for Claude.

Add custom connector
Name
Kite
Remote MCP server URL
https://kite.onl/api/mcp
Cancel
Add
3

Sign In and Pick Its Access

Claude opens Kite so you can sign in. Then you choose what Claude can do:

  • Full access to build and change your bot, or Read only to only look at it.
  • Which of your apps it can use.

Click on Connect, and Claude is ready. You can disconnect it anytime under API tokens in Kite.

Claude builds your bot through Kite, but can't send requests to Discord itself, like creating a channel. Claude Code can, if you connect it with an API token.

Claude
Connected from claude.ai · Used 3 minutes ago
Apps access
Full access
Which apps
Ticket Bot, Mod Bot
Always blocked for clients
Mass bansBulk deletesPruning membersLeaving servers
4

Describe Your Bot

Start a new chat and tell Claude what your bot should do. Name the app if you have more than one.

Claude looks up how each block works, builds the flow and saves it. Kite checks the flow first, so Claude can't save one that's broken.

Claude asks you before it uses a tool of Kite. Allow it once, or for good so it stops asking.

claude · my-bot
>Add a /ban command with a user and a reason, and reply with who was banned.
●kite · list_apps
⎿Found My Bot
●kite · get_blocks
⎿Looked up 3 blocks
●kite · create_command
⎿Created /ban
●Added /ban to My Bot. It bans the user, keeps the reason in the audit log and replies in the channel.
5

Try It in Discord

Type /ban in your server. A new command can take up to a minute to show up.

The command is now part of your bot, like one you built yourself. Open it in Kite's editor to see the blocks Claude used, or ask Claude to change it.

A
Alexused/ban
My BotAPPToday at 4:20 PM
Banned @Sam: Spamming invites

What to Ask Claude For

Claude sees your commands, logs, channels and roles, so you can describe things the way you'd tell a person.

When someone joins, give them the Member role and welcome them in #welcome.
Add a /poll command with a question and up to four options, and buttons to vote.
Why does my /ticket command fail? Check the logs and fix it.
Add the verification template and post its message in #verify.

Using Claude Code Instead

Claude Code can build your bot from the terminal too. Add Kite with this command, then run /mcp in Claude Code and pick kite to sign in.

claude mcp add --transport http kite https://kite.onl/api/mcp

Why Not Have Claude Write a discord.js Bot?

Claude can write a bot with discord.js or discord.py. Then you need a server that keeps it running, a place to store the token, and every change goes through the code. If the bot crashes at night, it stays offline until you notice.

With Kite, Claude builds flows that Kite runs, and anyone on your team can open them in the editor. See Kite's MCP server for everything Claude can do, or the MCP documentation for other clients.

Frequently Asked Questions

Can I make a Discord bot with Claude for free?

Yes. The free plan of Claude can add one custom connector, which is enough for Kite. Kite hosts the bot for free, and the free plan has 10,000 credits a month for running its commands.

Does Claude write code for my bot?

No. Claude builds flows in Kite, which are made of blocks like Ban member or Send message. You can open them in Kite's editor and change them yourself, without reading code.

Does my bot stay online when I close Claude?

Yes. Kite runs the bot 24/7. Claude only builds and changes it.

Is it safe to let Claude change my bot?

You choose what Claude can do when you connect it, and Claude asks before it uses a tool. Every change is kept in the history of the command, so you can restore an earlier version.

Does it use my Claude usage limits?

Yes. Claude uses its own model to build your bot, so the chat counts toward your Claude limits like any other. It doesn't use Kite's AI prompts or credits.

Still have questions? Join the Discord server

Make Your Own Discord Bot Today

Build commands by connecting blocks, or describe them and let AI build them. Kite is free to start and hosts your bot 24/7.

No credit cardHosted 24/7Open source