# Connect AI apps to Dima Link an external AI app to your channel over MCP and review its permissions, safety guardrails, and AI credit costs. Source: https://docs.domdimabot.com/connect-ai-apps/ Language: en Documentation index: https://docs.domdimabot.com/llms.txt By connecting an AI app to Dima over MCP, you let it inspect or manage your channel directly—available on every plan. If you only want an AI assistant to read the public docs and draft commands for you, see [Create commands with an AI assistant](https://docs.domdimabot.com/ai-assistants/index.txt). ## Connect an app 1. Inside your AI app, add a custom connector or remote HTTP MCP server pointing to: ```text https://mcp.domdimabot.com/mcp ``` 2. Your browser will open a Dima sign-in and consent screen. Verify the app name, whether it is labeled **Recognized app** or **Unverified app**, the domain listed under **Published by**, and the redirect address under **After you choose, you return to**. 3. Pick your own channel—or another channel where the owner explicitly enabled **AI apps (MCP)** for you under **Settings → Team** (standard full access isn't enough). Check the requested permissions and the note explaining that tool calls spend that channel's AI credits. 4. Proceed only if you initiated this connection yourself, then select **Allow connection** or **Deny**. Dima automatically recognizes Claude (claude.ai, Desktop, and mobile), Claude Code, ChatGPT, Codex CLI, VS Code, Zed, goose, and Cursor. Other MCP clients can still connect, though they will display as unverified. ### Claude Code Register the MCP server from your terminal, then run `/mcp` inside Claude Code to sign in: ```bash claude mcp add --transport http dima https://mcp.domdimabot.com/mcp ``` ### VS Code Add Dima to your VS Code `mcp.json` configuration: ```json { "servers": { "dima": { "type": "http", "url": "https://mcp.domdimabot.com/mcp" } } } ``` ## Permissions and capabilities The consent screen breaks access into two scopes: * **See the channel's commands, timers, settings, chat and stream stats:** read-only access. * **Change commands, timers and settings:** write access, with every change undoable in Dima. If an admin connects an app, the app inherits only the permissions that admin actually holds. Connected apps can read your channel overview, commands, timers, settings, recent chat, stream stats, referral codes, and recent changes, as well as search and read the Dima docs. On the write side, they can create, edit, and delete commands; edit and delete timers; create and edit goals; and manage roulettes (and their items), Bits rules, and chat events. Repeating messages are simply commands configured with **repeat every N minutes**. Right now, connected apps cannot delete goals or trigger live stream actions—such as testing alerts, updating the stream title or category, or managing polls, predictions, or channel point rewards. They also cannot modify AI personality, moderation settings, or follow defense. ## Changes and safety Edits take effect right away without an extra approval prompt. Every edit can be rolled back: ask your AI app to run `undo_change`, or revert it yourself on the website under the assistant's **Changes** list. Keep in mind an AI app can only undo edits it made itself. Any commands or messages written by an AI app are restricted to safe functions—like usernames, random picks, counters, text helpers, and read-only Twitch info. Whenever you need functions that moderate chat, alter your stream, speak via TTS, fire Triggers or overlays, call AI, schedule tasks, or invoke other commands, configure those directly on the website. Likewise, an AI app cannot edit existing items whose saved text could trigger live stream actions until you adjust them on the website. All Twitch chat messages are treated by the AI as untrusted input. ## AI credits Most tool calls that read channel data or make edits cost **1 AI credit** from the connected channel's balance—for instance, checking your plan, listing commands, and creating a new command takes 3 credits total. Searching or reading docs, undoing a change, and checking the channel's AI credit balance are all free (checking the balance requires billing view permission). Any call that fails or is refused costs nothing. If your channel runs out of AI credits, paid calls that read channel data or apply edits pause until you add more credits, while balance checks stay free. See [Plans and credits](https://docs.domdimabot.com/plans/index.txt) for details. ## Manage connections For support purposes, DomDimaBot retains a brief log of each tool call for 90 days—recording which tool ran, which app called it, whether it succeeded, and how many credits it spent—without storing what the app sent or received. Visit [Connected apps](https://domdimabot.com/oauth/connections) to review connections grouped by app and channel, where you can revoke either a single connection or an entire app for a channel. If you linked an app to a channel you help admin, it will stop working on its next call if the owner revokes your **AI apps (MCP)** permission (even if your website access stays active) or removes your admin role. Deleting your Dima account disconnects every linked app.