Flute AI
The FluteAi module: an assistant in the admin panel and Studio that reads and changes the site once you approve, Claude, Cursor and Codex connected over MCP, and voice input. Works with a Flute AI subscription.
With the module, the admin panel gets an assistant. You can ask it what is going on with the site or hand it a task, such as fixing the menu, finding a player or building a page in Studio. Before changing anything it shows what it will do and waits for your "Allow", and everything it did can be undone with one button. Outside assistants such as Claude, Cursor and Codex connect to the site over MCP with your rights.

| Dependencies | Games | Permissions | Studio blocks | Bot commands | Cron tasks |
|---|---|---|---|---|---|
| Flute 2.0, a Flute key and an active Flute AI subscription | any | admin.ai | none | none | three, below |
Without a subscription
The AdminFlute AI item in the "Home" group is on every site, even without the module. Until the module and a subscription are there, it opens a locked screen, "Connect Flute AI": "The AI assistant for your panel is available by subscription. Subscribe, and the assistant appears right here.".

The screen has a "Subscribe" button, and an owner without a key also gets "Connect Flute key". The same "Subscribe" sits under the "AI" button in Studio, and the AI menu of text fields says "Available with a Flute AI subscription".
Connect it
Connect the Flute key
The assistant runs through the Flute platform using the site's key, and the subscription and limits are bound to it. Connecting the key is covered in Flute key.
Subscribe
Click "Subscribe" on the Flute AI screen; it opens flute-cms.com. After payment the site gets the subscription on the next key sync.
Install the module
Install FluteAi from the marketplace, as described in Installing modules. AdminFlute AI then opens with the assistant, and the "Developer" group gets an "AI connections" row.
The assistant is available to holders of the admin.ai permission. To turn it off for the whole site, use "Enable Flute AI" in the module settings.
The assistant in the admin
The assistant opens as a side panel from any screen: the icon in the top bar or ⌘J (Ctrl+J). It opens full screen on AdminFlute AI, which also lists past dialogs. Row and record menus, the ⌘K search and selected text have "Ask Flute AI".
The assistant sees the site's data: players, servers, payments, roles, settings, pages, menus, modules, translations, announcements, logs and errors. Records in an answer come as chips such as "Server", "Player", "Payment", "Role" and "Page", and a chip opens the record. If a record is gone or you have no access to it, it stays plain text. Under the answer, "Sources" lists the logs, errors, database queries or code the assistant read.
The input field takes / commands ("Make a plan", "SQL query", "Performance", "Logs & errors", "Module skeleton") and @ mentions. You can attach an image of up to 4 MB, or "Attach this page". While the assistant answers, your next message waits in a queue. A long task keeps running in the background, so you can close the panel; when it is done, the "Flute AI finished a task" notification arrives.

The "Access" button under the field picks the mode:
| Mode | What the assistant does |
|---|---|
| "Asks before changes" | reads on its own, waits for your "Allow" before every change |
| "Acts on its own" | changes settings, menus, pages, texts, roles, servers and payments without asking. Deleting, bans, resetting access, bulk scripts and code still need approval |
"Acts on its own" lasts in this browser until you switch back. Money operations, player rights, commands to a live server and module installs always wait for approval. If the admin has password again on, an approved change may ask for it.
Under the answer you see "Changes applied: …", and "Undo" rolls back the whole run. Refunds and RCON commands are not rolled back. One run takes up to 40 steps: at the limit the assistant stops with a "Paused at the step limit" card, and "Continue" picks the task up where it stopped.
In Studio
The Studio top bar has an "AI" and "Manual" switch (⌘.). In AI mode the page chat sits on the right, and each page keeps its own conversation. Describe a change in words or select a block, and the assistant edits the draft. Visitors see nothing until you publish.

After a run, an "AI made … to the draft" card appears with "Undo AI edits" and "Publish…". The assistant edits the page, header and footer, navigation, block looks, site style, CSS and components, finds pictures and offers "Block variants". It changes the markup of module pages only with "Allow AI to change code" on. Studio itself is covered in Studio.
Memory and scheduled tasks
"Memory" holds notes the assistant reads before every answer. Say "remember that…" in a chat or click "Add a fact". A note is "Only me" or "Whole site", and only admins with admin.system change site-wide notes. It holds up to 100 notes of 500 characters each.
In "Scheduled" the assistant runs a task on a schedule and files the report in a dialog of its own, in the notification bell and in Telegram if it is linked. Ready tasks are "Daily digest", "Server check", "Weekly report" and "Payment check". For your own task you set "What to do", "How often" ("Every hour", "Every day", "Once a week") and "At", and under "Access" you pick "Read only" or "May change things". Nobody is there to approve a step in the background, so a step that needs your "Allow" is not carried out in a scheduled task.
Texts, translations and voice
Text fields in the admin have an AI menu: "Improve", "Fix grammar", "Shorten", "Expand", "Translate: …", "Fill the other languages". The result goes into the field only after "Replace". The language switcher of a form has "Translate with Flute AI" and "Fill empty fields"; check the translated fields and save. If a translation lost placeholders or markup, that field stays unchanged.
The "Voice input" button records speech and puts the text into the field. Recognition runs through the Flute platform and is part of the subscription. Recording stops on its own after "Voice recording length, s". If the recognition service is unreachable, the next recording goes through the browser's own recognition.
AI connections
AdminAI connections connects outside assistants to the site: Claude Code, Claude Desktop, Cursor, Codex. They work over MCP (Model Context Protocol) with the rights of the admin who created the key.

Create a key
Click "Create key", fill in "Name", for example "Claude on my laptop", and choose "What the key may do". "Read only": the assistant sees the site but changes nothing. "Full access": it can change everything you can, and it still asks you before deleting or banning. The key is shown once, so copy it right away.
Copy the address
The address for apps looks like https://<YOUR_DOMAIN>/api/mcp. If the app runs on another computer, the address must start with https://.
Add the site to the app
The "Claude Code", "Claude Desktop", "Cursor", "ChatGPT / Codex" and "Other apps" tabs hold ready commands and configs with the key already filled in. For Claude Code it is one command:
claude mcp add --transport http flute https://<YOUR_DOMAIN>/api/mcp --header "Authorization: Bearer <KEY>"Every call checks the key owner's rights and goes to the audit log. A dangerous action over MCP comes back as a preview first and runs only when called again with a confirmation. What was done over MCP cannot be undone. "Revoke" on a key cuts off the app that uses it at once.
Connectors in the ChatGPT app only accept OAuth sign-in for now, not a key in a header.
The ChatGPT app cannot be connected with a key. Use Codex, Claude or Cursor.
Settings
AdminAI connectionsSettings. The same page opens from the "Settings" link on the Flute AI screen.

| Field | What it changes | Default |
|---|---|---|
| Enable Flute AI | the assistant for the whole site | on |
| Thinking block | shows how the assistant reasons before it answers | on |
| Suggest the next message | a faded hint in the empty field after an answer, Tab fills it in. Each suggestion costs one short request to the model | on |
| Voice recording length, s | 5 to 600 | 120 |
| Community glossary for chat and voice review | the community's terms, one "term: meaning" per line, up to 4000 characters. The AI button drafts it from the site rules | empty |
| Allow AI to change code | owner only, see below | off |
With "Allow AI to change code" on, the assistant may create and edit files inside app/Modules and custom themes, and enable modules. Every change waits for your approval, shows a diff and can be undone with "Undo". The engine itself (app/Core, the standard theme, config) is never edited. With the field off, the assistant still reads code and runs diagnostics.
Permissions and background tasks
The admin.ai permission ("Use the built-in AI panel and inline writing assistance across the admin.") opens the assistant, Studio's AI mode and "AI connections". The module has no permissions of its own. Only the owner can lift the step limit for a tab ("No step limit") and turn on "Allow AI to change code".
| Task | How often |
|---|---|
| Flute AI: restarting stuck jobs | every minute |
| Flute AI: scheduled jobs | every minute |
| Flute AI: tidying old review results | daily at 04:20 |
The tasks are listed in AdminScheduler.
Subscription limits
The subscription has a monthly limit, and the share used shows as a percentage above the input field. When the limit runs out, sending pauses: "Plan limit reached, sending is paused." with the "Buy more" and "Upgrade plan" buttons. A task in progress keeps what it did, and after you buy more, "Continue" finishes it.
AI is paused until the end of the month. Buy more or change your plan in your Flute account.
The subscription's monthly limit is used up. Buy more or change the plan in your account on flute-cms.com, then send the request again. Meanwhile voice input answers "This month's subscription limit is used up. Voice works again after renewal.".
For developers
A module adds its own assistant actions through core registries, with no import of FluteAi. A class with the #[Capability] attribute and methods marked #[Method(permission:, summary:, writes:, approve:)] is registered from boot() with Ai\Capabilities\CapabilityRegistry::register(X::class), and each method becomes a tool in the panel and over MCP on its own. A standalone tool implements Ai\Tools\ToolInterface and is registered in Ai\Tools\ToolRegistry. Ready tasks for the "Flute AI" button in a screen header are registered in Ai\Generators\AiGenerators. Check ai()->available() before calling the model.
How the core side works: AI capabilities, Extension points.
Troubleshooting
For any other message, use the error lookup.
| Message | What to do |
|---|---|
| "Voice input works with a Flute AI subscription." | subscribe |
| "No access to the microphone. Allow it in the browser." | allow the microphone for the site in the browser |
| "The task hit the step limit for one run. Split it into smaller parts." | split the task, or click "Continue" |
| "Rewriting the markup of module pages is off." | turn on "Allow AI to change code" |
| "AI was turned off by a Flute administrator." | check the subscription in your account on flute-cms.com |
| "AI is temporarily unavailable. Try again later." | try again in a few minutes |