Studio Basics

Roblox Studio MCP Server: How to Connect Claude Code and Cursor

Turn on the built-in Roblox Studio MCP server and connect Claude Code, Cursor, Codex CLI, or VS Code with quick connect, JSON, or a CLI command, plus fixes.

Roblox Studio MCP Server: How to Connect Claude Code and Cursor
On this page
  1. What the Roblox Studio MCP server is
  2. Before you start
  3. Step 1: Turn on the MCP server in Studio
  4. Step 2: Connect your AI client
  5. Step 3: Verify the connection
  6. What your AI client can do in Studio
  7. Working with more than one Studio window
  8. Optional: Let the client call Open Cloud
  9. If it still doesn’t work
  10. Related guides
  11. Sources

Roblox Studio now includes its own Model Context Protocol (MCP) server, so outside AI tools like Claude Code, Cursor, Codex CLI, or VS Code can read your place, edit scripts, run Luau, and start playtests. You don’t install anything extra on the Roblox side. You turn the server on in Studio and point your AI client at it. This guide covers setup, what the AI client can actually do once connected, and what to check when the connection doesn’t work.

What the Roblox Studio MCP server is

MCP is an open standard that lets AI apps talk to other software through a set of named “tools.” Roblox’s version runs as a local process on your computer and talks to your AI client over stdio (standard input and output). Your client sends a request, and the server carries it out in the Studio session you have open.

That’s different from Roblox Studio Assistant, the chat panel built into Studio. Assistant runs inside Studio. The MCP server is how an external AI tool, one you already use for coding, gets the same kind of access to your place.

flowchart LR
  A["Enable server in Assistant"] --> B["Connect your AI client"]
  B --> C["Check the green indicator"]
  C --> D["Send requests from your client"]

Before you start

You need two things, according to Roblox’s setup guide:

  • The latest version of Roblox Studio. The server is built in, so an outdated Studio may not show the option at all.
  • An MCP client installed on the same computer. Install it before you open Studio if you plan to use quick connect, because Studio only lists clients it finds on your machine.

Step 1: Turn on the MCP server in Studio

  1. Open your place in Roblox Studio.
  2. Open Assistant.
  3. Click … › Manage MCP Servers.
  4. Turn on Enable Studio as MCP server.

Once it’s on, the same panel shows the quick connect options and setup instructions for different clients.

Step 2: Connect your AI client

Roblox supports three ways to connect. Use the first one your client supports.

MethodWhen to use itWhat you do
Quick connectYour client is on Roblox’s supported listFlip a switch in Studio
JSON configurationYour client reads an MCP config file (often mcp.json)Paste a Roblox_Studio entry
CLI commandYour client adds servers from the terminalRegister Roblox’s launch command

Option A: Quick connect

As of November 2026, quick connect supports Antigravity, Codex CLI, Claude Code, Claude Desktop, Cursor, Gemini CLI, and Visual Studio Code.

  1. Go to Assistant Settings › MCP Servers.
  2. Expand the Quick connect dropdown. It lists supported clients that are installed on your computer.
  3. Turn on the client you want.
  4. Restart the client so it picks up the new server.

If your client isn’t in the list, install it, restart Roblox Studio, and look again.

Option B: JSON configuration

For clients that use a config file, add an entry named Roblox_Studio under mcpServers. On Windows, Roblox’s config is:

{
  "mcpServers": {
    "Roblox_Studio": {
      "command": "cmd.exe",
      "args": ["/c", "%LOCALAPPDATA%\\Roblox\\mcp.bat"]
    }
  }
}

This tells the client to start Roblox’s mcp.bat launcher from your local app data folder through cmd.exe. The double backslashes are required because backslashes have to be escaped inside JSON strings.

On macOS, the entry points straight at a program inside the Studio app bundle:

{
  "mcpServers": {
    "Roblox_Studio": {
      "command": "/Applications/RobloxStudio.app/Contents/MacOS/StudioMCP"
    }
  }
}

If the file already has other servers, copy only the "Roblox_Studio": { ... } block into the existing mcpServers object and put a comma between entries. A missing comma makes the whole file invalid, and the client then loads none of its servers.

Option C: CLI command

Some clients register servers with a terminal command instead. The command Roblox gives you to launch the server is:

  • Windows: cmd.exe /c %LOCALAPPDATA%\Roblox\mcp.bat
  • macOS: /Applications/RobloxStudio.app/Contents/MacOS/StudioMCP

How you register it depends on the client. Claude Code, for example, adds a stdio server with claude mcp add --transport stdio <name> -- <command>, so on a Mac that looks like this:

claude mcp add --transport stdio Roblox_Studio -- /Applications/RobloxStudio.app/Contents/MacOS/StudioMCP

Everything after the -- is the command Claude Code runs to start the server. Claude Code is also on the quick connect list, so you only need this if you prefer the terminal. Check your own client’s documentation for its exact syntax, then restart the client.

Step 3: Verify the connection

  1. In Studio, open Assistant.
  2. Click … › Manage MCP Servers.
  3. Look for the green indicator under Enable Studio as MCP server. It shows how many clients are connected.

Then try a harmless, read-only request from your client, such as “List the scripts in ServerScriptService.” If the client answers with your actual scripts, everything is working.

What your AI client can do in Studio

Roblox’s documentation lists the server’s tools. The main groups:

GroupExample toolsWhat they do
Scriptsscript_read, multi_edit, script_search, script_grepRead, search, create, and edit scripts
Data modelsearch_game_tree, inspect_instanceBrowse the Explorer tree and read properties and attributes
Luauexecute_luauRun code in the Edit, Client, or Server data model
Playtestingstart_stop_play, get_console_output, screen_captureStart and stop tests, read Output, take screenshots or record video
Inputcharacter_navigation, user_keyboard_input, user_mouse_inputMove the character and simulate keys and clicks
Assetssearch_asset, insert_asset, generate_mesh, generate_animationFind and insert assets, generate meshes, materials, and R15 animations
Placesave_placeSave a new place version with a note, without publishing
Sessionslist_roblox_studiosList connected Studio windows when more than one is open

On November 20, 2026, Roblox announced three newer additions: video recording in screen_capture, save_place, and submit_feedback. Video recording lets the agent check things like animation stutter during a playtest. Roblox says agents still use screenshots by default because they cost less, and only record when a problem can’t be seen in still frames or you ask for a recording.

save_place works like File › Save. It never publishes, so players don’t see the change until you publish yourself, and the agent’s note shows up in version history. If the place has never been saved, you have to save it once by hand first.

submit_feedback lets the agent send a short report to Roblox when a tool fails. Roblox says reports don’t include your source code, personal information, or credentials. The agent can send one without asking, but it has to tell you each time and stop if you ask.

Playtest automation also works across teleports between places in the same experience. Our guide on testing teleports in Studio explains how that testing works and what it can’t do.

Working with more than one Studio window

One client can connect to several Studio windows at once. Every tool call includes a studio_id naming the window it targets. If you have two places open, ask your client to run list_roblox_studios first. It returns each window’s name, Studio ID, and place ID, which helps when two windows share a name.

Optional: Let the client call Open Cloud

The server can also call Roblox Open Cloud APIs through an open_cloud_invoke tool, without you creating an API key. This only works in a place that belongs to a published game, because permissions are saved per game. If you haven’t published yet, see how to publish a Roblox game.

To manage it, click MCP in the bottom-right corner of Studio and open the MCP Permissions tab. Each game starts at Balanced:

Access levelWhat it turns on
SafeLow-risk scopes only; most permissions are off
Balanced (default)Low- and moderate-risk scopes
Full accessEvery scope, including ones that can cost Robux, affect players, or publish to your live game

Your client can’t change these settings itself. Permissions are also per person, so each collaborator sets their own. They only apply to external MCP clients, not to Assistant inside Studio.

If it still doesn’t work

Roblox’s troubleshooting list for this setup is short:

  • Restart both Roblox Studio and your MCP client. Most clients only read their server list on launch.
  • Check the command or path. On a Mac, make sure Studio is in /Applications if you use the default StudioMCP path. On Windows, confirm that mcp.bat exists in %LOCALAPPDATA%\Roblox.
  • Validate your JSON. One missing comma or bracket stops the config from loading.
  • Update Studio. If you don’t see Manage MCP Servers at all, install the latest Studio version.
  • Remove the old Rust server. If you set up rbx-studio-mcp from GitHub earlier, you’ll have a second Roblox server in your client config. Keep only the built-in one so you know which server your client is talking to.

If your agent stops partway through a long task, the cause may be your AI plan’s limits rather than Studio. With Claude, for example, see what to do when you hit Claude’s usage limit.

Once you’re connected, start with read-only requests and small edits. Then let the agent playtest, and use save_place notes so every AI change has a labeled version you can roll back to.

Sources

Frequently asked questions

Do I need to download a separate Roblox MCP server?

No. The Studio MCP server is built into current versions of Roblox Studio. Roblox's older open-source Rust server on GitHub is no longer being actively developed, and Roblox recommends the built-in server instead.

Which AI clients work with the Roblox Studio MCP server?

Any MCP client that supports stdio transport. Quick connect currently lists Antigravity, Codex CLI, Claude Code, Claude Desktop, Cursor, Gemini CLI, and Visual Studio Code.

How do I know my AI client is connected to Studio?

Open Assistant, click the three-dot menu, and choose Manage MCP Servers. A green indicator under Enable Studio as MCP server shows how many clients are connected.

Can an MCP client publish my Roblox game?

The save_place tool saves a new place version but never publishes. Publishing is only possible through Open Cloud permissions such as universe-places:write, which you have to turn on yourself in MCP Permissions.

Why doesn't my client show up in the Quick connect list?

Quick connect only lists supported clients that are installed on your computer. Install the client, restart Roblox Studio, and check the list again.

Related guides