How do I connect an AI to Roblox Studio so it can edit my game?

    Updated · by the Superbullet team

    Roblox Studio has a built-in MCP server: open Assistant, click … → Manage MCP Servers, turn on Enable Studio as MCP server, then connect Claude Code, Cursor, Codex CLI or another client from Assistant Settings → MCP Servers → Quick connect. After that, the AI can read and edit the place you have open. If you'd rather not set up an AI client, a Roblox-specific app like SuperbulletAI connects to Studio through its own plugin, and it also ships an MCP server that gives Claude Code and Codex its Roblox tools.

    Written by the SuperbulletAI team. Roblox details were checked against Roblox's docs on 2026-12-03; menu names can change between Studio versions.

    Your options

    Route Cost Best for What the AI can do
    Roblox Studio's built-in MCP server Free (you pay for your AI client) Using the AI client you already have Read and edit scripts, explore the game tree, run Luau, playtest, read the console, generate meshes and materials
    SuperbulletAI desktop app Free plan $0 (1M tokens/month, 150K/day); Pro $20/month No AI client to set up; building whole systems Writes systems, UI, animations, 3D props and maps into your project; installs ready-made systems (and their VFX and sounds) from its marketplace
    SuperbulletAI MCP server for Claude Code or Codex Needs a SuperbulletAI Pro subscription when Claude Code or Codex calls it Claude Code or Codex users who want SuperbulletAI's Roblox tools Run Luau in Studio, playtest, read the console, install marketplace systems, generate animations and UI images
    Rojo + any coding AI on the files Free Code-heavy projects in Git Edits .luau files that Rojo syncs into Studio. Can't touch instances that aren't in the files

    You can combine them. An MCP client can have several servers at once, for example Roblox's and SuperbulletAI's.

    Route 1: Roblox Studio's built-in MCP server

    MCP (Model Context Protocol) is a standard way for an AI app to use outside tools. Studio now includes one, so there is no plugin to install.

    You need: the latest Roblox Studio, and an MCP client that supports stdio (Claude Code, Claude Desktop, Cursor, Codex CLI, Gemini CLI, VS Code and Antigravity all do).

    1. Update Studio and open the place you want the AI to work on.

    2. Turn the server on. Open Assistant, click … → Manage MCP Servers, and switch on Enable Studio as MCP server.

    3. Connect your client. Easiest: Assistant Settings → MCP Servers, open the Quick connect dropdown and switch on your client. If your client isn't in the list, install it and restart Studio.

    4. Or add it by hand. For Claude Code, run one of these in a terminal:

      # macOS
      claude mcp add Roblox_Studio -- /Applications/RobloxStudio.app/Contents/MacOS/StudioMCP
      
      # Windows
      claude mcp add Roblox_Studio -- cmd.exe /c %LOCALAPPDATA%\Roblox\mcp.bat
      

      Other clients take the same command in their JSON config (a Roblox_Studio entry under mcpServers).

    5. Restart your AI client, then check Manage MCP Servers in Studio: a green indicator shows how many clients are connected.

    6. Ask for something small first, like "List the scripts in ServerScriptService and tell me what each one does."

    Roblox's server has tools for scripts (read, search, multi-file edits), exploring the game tree, running Luau, starting and stopping playtests, reading the console, taking screenshots, simulating player input, generating meshes, materials and animations, and saving the place. Saving doesn't publish: players see nothing until you publish. With more than one Studio window open, the AI picks one with list_roblox_studios. Full list: Roblox's MCP docs.

    Route 2: the SuperbulletAI app

    SuperbulletAI is a desktop app for Windows and Mac with its own AI chat, built only for Roblox. It connects to Studio through the Superbullet Studio plugin and Rojo, so your scripts live as files it can index, and it reads the whole project before it writes.

    1. Download the app and follow the install guide.
    2. In the app, click Install Roblox Plugin (close Studio first).
    3. Click Connect Rojo, create a project, and connect it to Studio.
    4. In Studio, publish your place, then in the Plugins tab find the SuperbulletAI plugin and click Connect.
    5. Type what you want in the app's chat: "Add a sprint system: hold Shift to run, with a stamina bar."

    It also has a marketplace of ready-made Roblox systems (combat, shops, NPCs, saving and more). Ask for one in the chat and it installs it, with any systems it depends on. The app shows its changes before you accept them, and you own what it makes.

    If the plugin doesn't show up in Studio, see Plugin not appearing in Roblox Studio.

    Route 3: SuperbulletAI's MCP server for Claude Code and Codex

    If you already work in Claude Code or ChatGPT Codex, you can give them SuperbulletAI's Roblox tools. The MCP server talks to the SuperbulletAI app on your computer, and the app talks to Studio.

    You need: Node.js 18 or newer, the SuperbulletAI app installed, running and signed in, Studio connected to the app (Route 2), and a SuperbulletAI Pro subscription. On the Free plan, the same tools still work inside the app's own chat.

    Install (it adds a server named superbullet-ai to Claude Code and to Codex if it finds them):

    # Windows (PowerShell)
    powershell -c "irm https://superbullet.ai/mcp-install.ps1 | iex"
    
    # macOS / Linux
    curl -fsSL https://superbullet.ai/mcp-install.sh | bash
    

    Then start Claude Code (claude) or Codex in your project folder. The main tools:

    Tool What it does
    run_lua_code Runs Luau in the open Studio place
    find_roblox_instances, list_instances_roblox, describe_selected_object Find and inspect instances
    start_playtest, stop_playtest, read_console Playtest and read the output
    marketplace_library Searches the SuperbulletAI marketplace (free) and installs a system. From Claude Code or Codex an install costs $0.40 of balance, once per library per account; from the app's own chat it's free
    create_animation Generates an R15 or R6 character animation into the place
    generate_ui_image, apply_ui_image Makes UI art (icons, buttons, panels), uploads it to Roblox and sets it on your ImageLabels
    superbullet_chat Sends a prompt to the app's own AI agent and reads the reply

    The installer prints the manual command if it can't find your client: claude mcp add superbullet-ai -- node ~/.superbullet/mcp/superbulletai-mcp.js (Codex: codex mcp add superbullet-ai -- node <same path>).

    Route 4: Rojo and any coding AI

    Rojo syncs .luau files on your disk into Studio. Any AI that edits files (Cursor, Claude Code, Codex, Copilot) can then change your scripts, and Git keeps every version. This is great for code. It can't place parts, edit UI that isn't in files, or playtest, which is why people pair it with an MCP server (Route 1 or 3).

    Stay safe

    • Only connect clients you trust. A connected AI can read and change everything in your open places, and Roblox's docs say the same.
    • Keep a way back. Use Git with Rojo, or at least File → Save to File As before a big AI session. Studio's version history helps for published places.
    • Read the code before you publish, especially RemoteEvent handlers: the server must check every value a client sends (type, range, cooldown, ownership). AI tools sometimes trust the client.
    • Don't paste secrets into the chat. API keys belong in the tool's settings or in Roblox's secrets store, not in prompts or scripts.
    • Check community MCP servers before you install them. Several exist on GitHub. Read their source and recent activity first, as you would with a free model.

    Which should you pick?

    • You already pay for Claude, Cursor or Codex: start with Roblox's built-in server (Route 1). Add SuperbulletAI's server if you want its marketplace systems, animation or UI art tools.
    • You want to build features without setting up an AI client: use the SuperbulletAI app (Route 2).
    • Your game is mostly code in Git: Rojo (Route 4) plus an MCP server for playtests.

    Related

    We use cookies for analytics and advertising. Privacy Policy