# Roblox Studio — MCP Server

> Let an AI model read scripts, run Luau and playtest your Roblox place.

**Source:** https://mcpplaygroundonline.com/mcp-servers/roblox-studio  
**Transport:** stdio  
**Requires auth:** No

---

## What it does

The built-in server exposes Studio itself as MCP tools. A model can search and read your scripts and apply edits, walk the game tree and inspect instances, run Luau in Edit, Client or Server context, start and stop playtests, read the console and capture the screen, drive a test character with keyboard and mouse input, and search or insert Creator Store assets. Several Studio windows can be connected at once; each tool call picks one by studio_id. Roblox replaced its older standalone server (Roblox/studio-rust-mcp-server on GitHub) with this built-in one and no longer develops the standalone version.

## Tools exposed

- script_search / script_grep / script_read — find and read scripts in the place
- multi_edit — apply edits to a script
- execute_luau — run Luau in Edit, Client or Server context
- search_game_tree / inspect_instance — explore the data model
- start_stop_play / get_console_output / screen_capture — playtest and see what happened
- search_asset / insert_asset — find and insert Creator Store assets
- list_roblox_studios — list connected Studio windows and their studio_id

## Example queries you can run

- "Find every script that touches the leaderstats folder and explain how points are awarded."
- "Start a playtest, walk the character to the spawn area and tell me any errors in the console."
- "Add a cooldown of 2 seconds to the sword attack in the Sword script."
- "Search the Creator Store for a low-poly tree and insert three of them near the spawn."

## Details

- **Recommended model:** anthropic/claude-sonnet-5.5 — Claude Sonnet 5.5 handles the long read, edit, playtest, check loop well. DeepSeek V4 Pro is a cheaper option for script questions and small edits.
- **Transport:** stdio
- **Authentication:** Not required — No API key. Enable it in Studio under Assistant → … → Manage MCP Servers. Studio enforces per-game permission levels (Safe, Balanced, Full access).
- **Official source:** [Roblox Studio MCP docs](https://create.roblox.com/docs/studio/mcp)

## Connecting to Roblox Studio

### Client configuration

**macOS — any MCP client**

Restart Studio and your MCP client after changing the config.

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

**Windows — any MCP client**

This is the command Roblox documents for Windows. Restart Studio and your MCP client after changing the config.

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

## Frequently asked questions

### What is the Roblox Studio MCP server?

It is an MCP server built into Roblox Studio. Once you turn it on, AI clients such as Claude, Cursor or Codex CLI can read and edit scripts, run Luau, explore the game tree, playtest and insert assets in the place you have open. It runs on your computer over stdio.

### How do I turn it on?

Update Roblox Studio, open the Assistant panel, click the … menu, choose Manage MCP Servers and switch on "Enable Studio as MCP server". Quick connect there can configure Claude Desktop, Claude Code, Cursor, Codex CLI, Gemini CLI, VS Code and Antigravity for you. A green indicator shows when a client is connected.

### Is it safe to let an AI change my game?

MCP clients can read and modify your open place, so only connect clients you trust. Studio sets permissions per game: Safe, Balanced (the default), Full access or Custom. Full access includes actions that cost Robux or publish live, so keep Balanced while testing, and use version history to roll back edits.

### Can I connect DeepSeek or other non-Claude models to Roblox Studio?

Yes, through any MCP client that supports a local stdio server and lets you choose the model. The server does not care which model calls it. Models differ a lot at multi-step tool use, so try your prompt on a few of them first. MCP Playground Desktop runs local stdio servers like this one and lets you switch between 90+ models, including DeepSeek, in Agent Studio.

### What happened to the studio-rust-mcp-server on GitHub?

Roblox stopped active development of the standalone Roblox/studio-rust-mcp-server and recommends the MCP server built into Studio instead. The old repository stays online for reference. It had six tools, such as run_code and insert_model, while the built-in server has around thirty.

---

_Test this server across 40+ models on MCP Playground: https://mcpplaygroundonline.com/mcp-servers/roblox-studio — free, no install._
