MRI BOTMRI BOTHelp

API and AI

Let an AI set up the server for you, with a key that only does what you allow.

An AI can build and adjust the server for you: create roles and channels, set up tickets, whitelist, messages, polls and the other modules. It works with an API key for your server, and it only does what that key allows.

1. Create the key

In the dashboard, open Settings > API keys and click Create new key.

Give it a name (for example "AI") and an expiration. For a one-off job, 7 days is enough.

Tick only the permissions for what the AI will change. You can change them later with the key's Permissions button, without replacing the key.

The key works like a password to your server. Don't post it in a public channel, and revoke it when the job is done.

2. Connect the AI

In Settings > API keys > Use with AI, pick the key and copy it in one of these ways:

  • ChatGPT or Claude (connector): copy the connector address and add it as a custom connector in your AI. Then just ask in the chat, for example "set up tickets with the Support and Reports types".
  • AI in the terminal (Claude Code, Codex, Cursor): copy the instructions and paste them into the chat. They already include the key and what the AI needs to know to get started.

What the AI can't do

Even with every permission, no key can: delete a channel or role, ban, kick or time out members, grant Administrator, send mass direct messages, approve or reject whitelist applications, refund, cancel a subscription or change what a product delivers. That always stays with a person, in the dashboard or on Discord.

Before creating many things at once, ask the AI to show you the plan and confirm it with you.

Keep track of what it did

Everything a key changes shows up in Settings > API keys > Key activity, with the time and the area. If something goes wrong, revoke the key right away with the Revoke button.

On this page