Guide · 9 min read · Updated November 19, 2026
How to connect Claude to Roblox Studio
Turn on the MCP server that Roblox built into Studio, then connect Claude Code or Claude Desktop to it with Studio's Quick connect or one command. Once connected, Claude can read your scripts, edit them, build parts, start a playtest, read the errors and look at a screenshot. The steps below were checked against Roblox's and Anthropic's own documentation on November 19, 2026.
The short version: 3 steps
- Turn on Studio's MCP server. Update Roblox Studio and open a place. Open Assistant, click ⋯ ▸ Manage MCP Servers, and turn on Enable Studio as MCP server.
- Connect Claude. In Assistant Settings ▸ MCP Servers, expand Quick connect and turn on Claude Code or Claude Desktop. Not listed? Install it, then restart Studio. Or add it by hand; for Claude Code on Windows, in Command Prompt:
claude mcp add --transport stdio --scope user Roblox_Studio -- cmd.exe /c %LOCALAPPDATA%\Roblox\mcp.bat - Restart Claude and check. Studio's MCP panel shows a green indicator with the number of connected clients. Then ask Claude: "Use the Roblox MCP to read the current game tree in Roblox Studio. List what's in Workspace." On a fresh Baseplate it should name Camera, Terrain, Baseplate and SpawnLocation.
Stuck? Jump to common failures. Do not want a terminal or a Claude plan? See when Forge is the better choice.
Before you start
- Roblox Studio, latest version. Roblox lists this as the only Studio prerequisite.
- Claude Code or Claude Desktop, installed and signed in. On Windows, Anthropic's installer for Claude Code is one line in PowerShell:
irm https://claude.ai/install.ps1 | iex. In Command Prompt it iscurl -fsSL https://claude.ai/install.cmd -o install.cmd && install.cmd && del install.cmd. Open a new terminal afterwards and runclaude --version; a version number means it worked. Then runclaudeonce and sign in through the browser. - A Claude plan that includes Claude Code. Anthropic says Claude Code needs a Pro, Max, Ultra, Team, Enterprise or Console account, and that the free claude.ai plan does not include Claude Code. We could not find a statement on Anthropic's pages today about which plans can use local MCP servers in Claude Desktop, so check your own plan before you rely on it.
Step 0: turn on Studio's MCP server
Every option needs this once.
- Update Roblox Studio and open a place (New ▸ Baseplate is fine).
- Open Assistant, click ⋯, choose Manage MCP Servers.
- Turn on Enable Studio as MCP server. A green indicator shows how many clients are connected.
Roblox's server runs as a local process on your computer and talks to Claude over stdio (standard input and output), so Claude acts on the Studio session open on the same computer.
Option 1: Claude Code (or Claude Desktop) with Quick connect
The easiest manual route. Roblox's Quick connect lists Claude Code and Claude Desktop, along with Cursor, Codex CLI, Gemini CLI, Antigravity and Visual Studio Code.
- Install Claude Code or Claude Desktop first. Studio only lists supported clients that are already installed, so restart Studio if you installed it while Studio was open.
- In Studio: Assistant Settings ▸ MCP Servers, expand Quick connect, and turn on your client.
- Restart the client. In Claude Code, run
/mcpto see the Studio server and its status. Roblox's page does not say what name Quick connect gives the server, so look for the Roblox Studio entry rather than an exact name.
Option 2: add it by hand
Claude Code, one command
Claude Code adds a local server with claude mcp add [options] <name> -- <command> [args...]. Options such as --transport and --scope go before the name; everything after -- is the command that starts the server. On Windows, run this in Command Prompt (cmd):
claude mcp add --transport stdio --scope user Roblox_Studio -- cmd.exe /c %LOCALAPPDATA%\Roblox\mcp.bat
On a Mac:
claude mcp add --transport stdio --scope user Roblox_Studio -- /Applications/RobloxStudio.app/Contents/MacOS/StudioMCP
--scope user makes it available in every folder you open Claude Code in (the default, local, only covers the current project). Check it with:
claude mcp list
You want to see Roblox_Studio listed as connected. If it shows as failed, Studio's switch is usually off, Studio is closed, or the path is wrong; see common failures below and MCP not connecting. To see one server's details use claude mcp get Roblox_Studio, and to start over use claude mcp remove Roblox_Studio.
Claude Desktop, JSON config
Add a Roblox_Studio entry under mcpServers in Claude Desktop's config file (Settings ▸ Developer ▸ Edit Config), then restart Claude Desktop. The file lives at %APPDATA%\Claude\claude_desktop_config.json on Windows and ~/Library/Application Support/Claude/claude_desktop_config.json on a Mac. On Windows:
{
"mcpServers": {
"Roblox_Studio": {
"command": "cmd.exe",
"args": ["/c", "%LOCALAPPDATA%\\Roblox\\mcp.bat"]
}
}
}
On a Mac, use "command": "/Applications/RobloxStudio.app/Contents/MacOS/StudioMCP" with no args. If the file already has servers, add the entry inside the same mcpServers object with a comma. "Restart" means quit Claude Desktop completely, not just close the window.
Claude Code inside VS Code, with Script Sync
Roblox also publishes a longer route, Build with a coding harness: Visual Studio Code with the Claude Code extension (or Cursor), Studio's Script Sync beta so .luau files in a folder appear as scripts in Studio, and Quick connect for MCP. Pick it if you want your scripts in Git. Script Sync is a beta you turn on under File ▸ Beta Features, and it only covers the services you link to folders, which is why the MCP connection is still needed for things like StarterGui.
Common failures and the fix
| What you see | What to do |
|---|---|
| Claude is missing from Quick connect | Quick connect only lists clients already installed. Close Studio completely, open it again, and look again. |
claude is not recognized | Open a new terminal after installing. If it is still not found, the install folder is not on your PATH yet; Anthropic's install troubleshooting page covers it. |
The token '&&' is not a valid statement separator | You pasted the Command Prompt installer into PowerShell. Use the PowerShell line instead, or open Command Prompt. |
claude mcp list shows Roblox_Studio as failed | Studio must be open with Enable Studio as MCP server on. Then check the path: on Windows the file %LOCALAPPDATA%\Roblox\mcp.bat must exist (paste %LOCALAPPDATA%\Roblox into File Explorer's address bar). Restart both Studio and Claude. |
| Claude Desktop shows no Studio tools | The JSON is usually the problem: one missing comma or bracket stops the whole file loading. Quit Claude Desktop fully and reopen it. Its MCP logs are in %APPDATA%\Claude\logs (mcp.log, plus one mcp-server-…log file per server). |
| Claude asks before every Studio action | Expected. Roblox notes you may need to approve the command or add the MCP tool to an allowlist. Read what it is about to run before you approve. |
| Two Studio windows open, edits land in the wrong one | Every Studio tool call names a studio_id. Ask Claude to run list_roblox_studios first and use the place you mean. |
| An old tutorial says to install an npm package or turn on Allow HTTP Requests | Those are community servers from before Studio had its own. Roblox's instructions for the built-in server use neither. |
Still stuck? Roblox Studio MCP not connecting? 12 fixes goes deeper, one cause at a time.
Good first prompts
Whichever option you use, start small and make Claude prove it worked:
Look at this place and tell me what is in Workspace, ServerScriptService
and StarterGui. Do not change anything yet.
Add a Coins leaderstat that saves with DataStoreService (pcall, session
lock, save on leave). Start a playtest, read the output console, fix any
errors, then capture the viewport and stop the playtest.
The second prompt uses the tools that make Studio's MCP server worth it: multi_edit to write the script, start_stop_play, get_console_output and screen_capture to check it. Roblox's list on November 19, 2026 also includes execute_luau, search_game_tree, inspect_instance, save_place, input simulation and asset generation tools. For full game sequences, the tycoon and obby guides work in any Claude client.
Stay safe
- Roblox's docs warn that MCP clients can read and modify content in your open places. Only connect clients you trust.
- Save or publish a version before a long session (File ▸ Version History is your undo).
- Read any Creator Store model with scripts in it before you keep it. Free models are the classic malware route.
- No tool, AI or human, ever needs your Roblox password or
.ROBLOSECURITYcookie.
When the free route is enough, and when Forge is better
Studio's MCP server costs nothing. What you pay for is Claude itself, through your own Claude plan or API account. That route is the right one for many people.
The free route is enough if you already pay for a Claude plan that includes Claude Code, you are happy in a terminal, you can read the Luau Claude writes and decide whether to approve each action, or you are on a Mac (Studio's server has a Mac command; the Forge Bridge does not run on Mac). It also lets you switch to Cursor, Codex CLI or another client with the same server.
Forge is the better choice if you do not have a Claude plan, do not want a terminal or a config file, or want the game built rather than the toolchain. Forge (originally launched as Forge) is a Roblox game builder that runs Claude for you. You do not need a Claude account, a terminal or a config file: download the Forge Bridge on your Windows PC, it pairs itself, you flip Studio's MCP switch, and you type in the browser. Claude Sonnet 5.5 is the default, with Claude Opus 5.5 and Fable 5.2 for harder problems, and the price of each message shows before you send it.
What you get on top of a raw connection: a system prompt tuned for Roblox (server-side economy, validated remotes, one idempotent ProcessReceipt), a playtest and screenshot after each step, finished UI screens for members, per-message and per-day spending caps, and Roblox sign-in only.
Where Forge is worse: it is Windows only today; it bills its own credits, separate from any Claude plan you already pay for; and you work in Forge's chat rather than choosing your own client.
| Claude Code / Desktop + Studio MCP | Forge | |
|---|---|---|
| Setup | Quick connect or one command | Download the Bridge, flip one switch |
| Platforms | Windows and Mac (wherever Studio and the client run) | Windows today |
| Who pays for Claude | You, through your own Claude plan or API account | Included in Forge credits: $10 = 1,000, $25 = 2,750, $60 = 7,200, $150 = 19,500; or Builder $19/month (2,000 credits), Pro $49/month (5,600) |
| Roblox know-how | Whatever you put in your prompts | Built in, plus a playtest and screenshot every step |
| Best for | Programmers who already use Claude Code and want full control | People who want the game built, not the toolchain |
Questions
How do I connect Claude to Roblox Studio?
In Studio, open Assistant, click ⋯, choose Manage MCP Servers and turn on Enable Studio as MCP server. Then go to Assistant Settings ▸ MCP Servers, expand Quick connect and turn on Claude Code or Claude Desktop, or add the server by hand with claude mcp add. Restart Claude and check for the green indicator in Studio's MCP panel.
Can Claude control Roblox Studio?
Yes, through Studio's built-in MCP server. Turn it on, connect Claude Code or Claude Desktop, and Claude can read and edit scripts, inspect the Explorer, run Luau, playtest, read the console and capture screenshots.
What is the claude mcp add command for Roblox Studio?
On Windows in Command Prompt: claude mcp add --transport stdio --scope user Roblox_Studio -- cmd.exe /c %LOCALAPPDATA%\Roblox\mcp.bat. On a Mac, replace everything after -- with /Applications/RobloxStudio.app/Contents/MacOS/StudioMCP.
Do I need a Claude subscription?
For Claude Code, yes: Anthropic says it needs a Pro, Max, Ultra, Team, Enterprise or Console account, and the free claude.ai plan does not include Claude Code. For Claude Desktop we could not confirm on Anthropic's pages which plans can use local MCP servers. Forge runs Claude for you on prepaid credits from $10 with no subscription.
Why does Claude not show up in Studio's Quick connect list?
Quick connect only lists supported clients that are already installed on your computer. If you installed Claude Code or Claude Desktop while Studio was open, close Studio fully and open it again.
Can I use Cursor or ChatGPT's Codex instead?
Yes. Studio's Quick connect also lists Cursor, Codex CLI, Gemini CLI, Antigravity and Visual Studio Code, and any client that supports stdio MCP servers can use the commands above. See Cursor with Roblox Studio and Codex with Roblox Studio.
Sources
- Roblox, Connect to the Roblox Studio MCP server, checked November 19, 2026 (enable steps, Quick connect clients, Windows and Mac commands, JSON config, tool names,
studio_id, troubleshooting, security note). First checked October 18, 2026. - Roblox, Build with a coding harness, checked November 19, 2026 (Script Sync beta, the Workspace check prompt, tool approvals, restart after installing an editor).
- Anthropic, Connect Claude Code to tools via MCP, checked November 19, 2026 (
claude mcp addsyntax,--scope,claude mcp list,get,remove,/mcp). - Anthropic, Claude Code advanced setup, checked November 19, 2026 (Windows install commands,
claude --version, the PowerShell and CMD error messages, which accounts include Claude Code). - Model Context Protocol, Connect to local MCP servers, checked November 19, 2026 (Claude Desktop's Edit Config path, config file locations, full restart, log files).
Related guides
- Roblox Studio's MCP server, explained
- Roblox Studio MCP not connecting? 12 fixes
- How to use Cursor with Roblox Studio
- Every Roblox AI tool in 2026, sourced