DOCUMENTATION

Roblox Studio

In MifBridge 1.5 and later.

Roblox Studio support is in MifBridge 1.5 and later: a Studio plugin and the same MCP server that drives Unreal, Blender and Unity, so Claude or any MCP app can work in a live Roblox Studio. Each call is checked against Studio's own API list before it is sent, each write is one undo step, and each write is read back, so verified: true means Studio holds what was sent.

You do not need Unreal, Blender or Unity installed.

How it connects

your assistant ── MCP (stdio) ──► MCP server ──► daemon on 127.0.0.1:8650 ◄── MifBridge plugin in Studio

A Studio plugin cannot listen for connections, so the plugin calls out. The MCP server starts a small daemon on your machine on the first Roblox call, and the plugin asks it for work, runs each call in Studio and sends the result back. Nothing leaves your computer, except the uploads and publishing described below, which use your own Open Cloud key.

The tools are named rbx_*. Roblox's own built-in Studio MCP server is separate: the two run side by side, MifBridge never calls it unless a tool is told to, and rbx_status says whether it is on.

Requirements

  • Roblox Studio on Windows, signed in.
  • Python 3.10 or newer, for the MCP server.
  • An MCP client: Claude Code, Cursor, Claude Desktop, Codex or another.
  • The MifBridge package. Its Python files are under Content/Python/MifBridge/ in the Fab or store package. Below, <mifbridge> stands for that folder.

Install

  1. The plugin. In Studio, open the Plugins tab and press Plugins Folder. Copy <mifbridge>/roblox-plugin/MifBridge.server.lua into the folder that opens, then restart Studio. A running Studio does not load a new or replaced plugin until it restarts, so do the same after every MifBridge update.

  2. The MCP server. Skip this if you already use MifBridge with Unreal or Blender: it is the same server. Otherwise install its packages with the Python your client will start:

    cd <mifbridge>/mcp-server
    pip install -r requirements.txt
    

    Then add it to your client. For Claude Code, a .mcp.json in the folder you start it in:

    {
      "mcpServers": {
        "mif-bridge": {
          "command": "python",
          "args": ["<mifbridge>/mcp-server/server.py"],
          "env": { "MIF_TOOL_PACKS": "roblox" }
        }
      }
    }
    

    MIF_TOOL_PACKS=roblox loads the Roblox tools at start. Without it they still work: the assistant finds them with find_tools("backend:roblox ...") and calls them through mif_call. Once the plugin is connected, its panel's Setup tab shows this entry filled in for your client.

  3. Connect. Ask the assistant to call rbx_status; until the plugin connects, the answer lists the steps still missing. Open a place in Studio (a new Baseplate is fine), press MifBridge in the Plugins tab, then Connect, and allow the plugin to make requests to 127.0.0.1 when Studio asks. Call rbx_status again: it names your Studio version, the open place and the safety mode.

The assistant can also open Studio for you. rbx_launch() uses a Studio that is already connected, and otherwise starts one on MifBridge's own scratch place. rbx_close() closes only a Studio that rbx_launch started, never one you opened.

First prompt

Show me the top of the Workspace, then make a red anchored part named Crate, 4 by 4 by 4, in the scratch folder, and read its size back.

The assistant will call rbx_tree, then rbx_create with class_name="Part" and parent="Workspace.MifScratch", then rbx_get_props to read the size and color back. Values are plain JSON: a Vector3 is [4, 4, 4], a Color3 is three numbers from 0 to 1, an enum is its item's name such as "Plastic", and an instance is its path from game with dots.

To take the last call back, press Ctrl+Z in Studio or ask for rbx_undo().

What it covers

More than 150 tools, grouped by area:

  • Instances and parts. Create, clone, reparent, destroy and set properties, typed against Studio's API (rbx_create, rbx_set_props, rbx_find), plus pivots, welds, bounds, CSG, attributes and tags.
  • Scripts. Read, write, patch and search scripts (rbx_script_write, rbx_script_patch, rbx_script_search), scaffolds for common systems, and static analysis.
  • Terrain, lighting and effects. Fill, smooth, heightmaps and materials (rbx_terrain_fill, rbx_terrain_heightmap), time of day, post effects, particles, beams and trails.
  • UI, physics, camera and input. Build a UI from a description (rbx_ui_build), check it on phone-sized screens (rbx_ui_device_check), constraints, collision groups and physics steps.
  • Animation, audio and avatars. Rigs, keyframes and animations, including from Blender (rbx_anim_from_blender), sounds, and checks for bodies, heads, accessories and layered clothing.
  • Play tests. Start a play test and read what happened, with 1 to 8 players (rbx_test_run, rbx_play_probe), screenshots (rbx_screenshot), and checks on saving, remote events and purchases before you publish.
  • Coverage. rbx_coverage() reports how much of Studio's API the typed calls reach on your Studio build.

mif_help("rbx_create") gives any tool's full description.

From Blender. rbx_mesh_preview shows a Blender mesh in the place without uploading anything, so you can look before spending an upload. rbx_asset_upload then uploads it through Open Cloud with your own key. Uploads are moderated, and they cannot be deleted through Open Cloud.

Safety mode

The plugin's panel has three modes, and it starts in Scratch every time Studio starts.

Mode What the assistant can do
Read Read anything. Every write is refused.
Scratch Write only under Workspace.MifScratch, a folder made for you. Scripts, terrain and anything outside that folder are refused.
Full Write anywhere in the place. Undo still works call by call.

Set the mode in the panel: Plugins ▸ MifBridge, Safety mode. The assistant can lower it with rbx_set_mode("read") at any time. It cannot raise it, with one exception: you can allow it, on your own machine, for places MifBridge itself launched. A click in the panel always wins. rbx_status reports what the current mode refuses on the open place, so "what can you change right now?" gets a real answer. More in Safety and Write Modes.

Saving and publishing never happen as a side effect. MifBridge does not save your place; save in Studio as you normally do. The tools that save or publish (rbx_place_save, rbx_place_publish, rbx_save_to_roblox) do nothing unless the call carries confirm=true. Ask for mif_help("rbx_place_publish") first: it lists what the call checks and what it uploads.

Limits

Roblox does not let plugins reach some of Studio. MifBridge never works around a security tag; a refused member answers refusedRule: "security" with Roblox's own tag. For each wall there is a route that is yours:

  • Importing files with Studio's 3D Importer is closed to plugins. Uploads go through Open Cloud with your own key, or Studio's own import prompt.
  • Publishing goes through Open Cloud with your key, and only with confirm=true.
  • Simulated key presses and clicks in a play test are not reachable from a plugin.
  • Arbitrary Luau never runs inside the bridge. rbx_cloud_luau runs it through Open Cloud, against a published place only.
  • Selling avatar items on the Marketplace, packages, Team Create and turning on HTTP for a place are your steps in Studio or the Creator Hub.
  • Live data stores in Studio need Enable Studio Access to API Services turned on in Game Settings.

If calls fail with unknown-op after an update, Studio is still running the old plugin: restart it. If rbx_status reports portBusy, another program holds port 8650; set MIF_ROBLOX_PORT for the server and the plugin's port setting to the same free port.