Skip to content

Build your bot with AI

Tell your AI assistant what the bot should do. It writes the code and puts it online on BotBarn.

You need a BotBarn account and one of: Claude, ChatGPT, Cursor or Claude Code.

1. Connect BotBarn

Claude

BotBarn is available in the Claude connectors directory, so you can add it on Claude's free plan too, without copying any address.

  1. Open BotBarn in the Claude connectors directory and press Connect.
  2. Approve on the BotBarn page.

In a chat, turn it on from + → Connectors → BotBarn.

ChatGPT, Claude Code, Cursor

Copy the BotBarn address:

https://app.botbarn.dev/api/mcp

Then add it to your assistant:

  1. Open chatgpt.com/plugins.
  2. Press +, then Add custom MCP server.
  3. Name: BotBarn. Server URL: the address above. Authentication: OAuth.
  4. Press Create as a plugin, install it, and approve on the BotBarn page.

In a chat, type @BotBarn. Custom MCP servers need a ChatGPT plan that allows them.

  1. Run in a terminal:
    claude mcp add --transport http botbarn https://app.botbarn.dev/api/mcp
    
  2. In Claude Code type /mcp, choose botbarn, then Authenticate.
  3. Approve on the BotBarn page.
  1. Add this to ~/.cursor/mcp.json:
    { "mcpServers": { "botbarn": { "url": "https://app.botbarn.dev/api/mcp" } } }
    
  2. Restart Cursor and sign in when it asks.
  3. Approve on the BotBarn page.

To add the address by hand instead of from the directory:

  1. Open claude.ai/customize/connectors.
  2. Press Add, then Add custom connector.
  3. Name: BotBarn. URL: the address above. Press Continue, then Add.
  4. Press Connect and approve on the BotBarn page.

2. Ask for your bot

Write what you want, for example:

Create a Telegram bot on BotBarn that sends me the weather in Milan every morning at 7.

What happens next

  1. The assistant writes the code and creates the bot.
  2. It gives you a link: paste your Telegram token there. Get the token from @BotFather with /newbot.
  3. It gives you a second link: choose a plan (or Start for free).
  4. It puts the bot online, checks the logs and fixes errors.

Ask for changes the same way: "Add a /help command".

Good to know

  • The assistant never sees your Telegram token and never pays: you do both in BotBarn.
  • Downloading and resetting a bot's /data needs the permission "Download and reset the stored data of your bots", which you allow when you connect. An older connection does not have it: reconnect and allow it.
  • See and disconnect connected apps on the Build with AI page of BotBarn.
  • Every change the assistant makes is listed there too.

Problems

You see Do this
The assistant does not find BotBarn Turn the connector on in the chat (Claude: + → Connectors; ChatGPT: @BotBarn).
needs_plan Open the plan link it gave you, choose a plan, then tell the assistant to continue.
The sign-in page says the request expired Connect again and approve within 10 minutes.
The bot does not answer in Telegram Ask the assistant: "Read the logs and fix it".

Support

Write to info@botbarn.dev, or use the contact form on the Help page of the web app. What the connector stores and who receives it is in the privacy policy.

Personal access tokens (advanced)

For apps or scripts that take a token instead of a sign-in: on the Build with AI page press New token, choose its permissions and expiry, and copy it (shown once, starts with bbp_). Send it as Authorization: Bearer <token>. Treat it like a password; Revoke stops it at once.

What the assistant can do

Create bots and upload code, set non-secret variables, give you the token and plan links, deploy, stop, start and restart, read status, logs (secrets hidden) and usage against each limit of the plan (CPU, memory, storage, bandwidth, monthly transfer, with warnings and whether the bot is slowed), and suggest a plan that covers all five. With the data permission it can also download a bot's /data as an archive and reset it, after asking you. It cannot delete bots, see secrets or pay. Limits: 120 requests and 30 changes a minute.