How to Connect Claude to Roblox Studio
How to connect Claude to Roblox Studio: turn on Studio's built-in MCP server, link Claude Desktop or Claude Code in a few clicks, and fix common errors.
Last updated: November 2026
Here is how to connect Claude to Roblox Studio, step by step. Roblox Studio now has an MCP server built in. MCP (Model Context Protocol) is the standard way for an AI app to talk to other programs. Once it is on, Claude can read your game, write scripts, run Luau code and press Play for you, all inside the place you have open.
You don't need a plugin, Node.js or an API key. The whole setup takes a few minutes. This guide covers both Claude Desktop (the chat app) and Claude Code (the terminal tool), plus fixes for the problems people hit most.
What You Need Before You Start
- The latest Roblox Studio, signed in to your Roblox account. Roblox says you need the latest version for the MCP server.
- Claude Desktop or Claude Code installed on the same computer.
- A place open in Studio. Claude talks to the Studio window you have open, so keep Studio running the whole time.
Heads up: older guides tell you to download a separate server and plugin from Roblox's GitHub (studio-rust-mcp-server). Roblox says that project is no longer actively developed and recommends the built-in server instead. If you set up the old one before, switch to the steps below.
Step 1: Turn On the MCP Server in Roblox Studio
- Click Assistant on the right side of the bar at the top of Studio (Roblox's docs call it the mezzanine bar).
- In Assistant, click … and then Manage MCP Servers.
- Turn on Enable Studio as MCP server.
The panel now shows a Quick connect option and setup instructions for different apps.
Step 2: Quick Connect Claude to Roblox Studio (Easiest Way)
Quick connect sets up the link for you, with no files to edit. It supports Claude Desktop and Claude Code (plus Cursor, Codex CLI, Gemini CLI, Visual Studio Code and Antigravity).
- In Studio, go to Assistant Settings and then MCP Servers.
- Open the Quick connect dropdown. It lists the supported apps installed on your computer.
- Turn on Claude Desktop or Claude Code.
- Restart Claude so it loads the new connection.
Claude isn't in the list? Install it, then restart Roblox Studio and look again.
If quick connect worked, skip to Step 4 below. If not, use the manual setup in Step 3.
Step 3: Connect Roblox Studio to Claude by Hand
Option A: Claude Desktop (Config File)
- Open Claude Desktop's Settings (from the Claude menu in your system menu bar, not the chat window).
- Go to the Developer tab and click Edit Config. This opens
claude_desktop_config.json.- Mac:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
- Mac:
- Paste the block for your computer. These come straight from Roblox's docs.
Windows:
{
"mcpServers": {
"Roblox_Studio": {
"command": "cmd.exe",
"args": ["/c", "%LOCALAPPDATA%\\Roblox\\mcp.bat"]
}
}
}
Mac:
{
"mcpServers": {
"Roblox_Studio": {
"command": "/Applications/RobloxStudio.app/Contents/MacOS/StudioMCP"
}
}
}
- Already have other servers in the file? Copy only the
Roblox_Studioentry into your existingmcpServerslist, and put a comma between entries. One missing comma breaks the whole file. - Save, then fully quit Claude Desktop and open it again. Closing the window is not enough.
- To check, click the + button (Add files, connectors, and more) at the bottom left of the message box, then Connectors and Manage connectors. You should see
Roblox_Studio.
Option B: Claude Code (One Command)
Claude Code adds local servers with claude mcp add <name> -- <command>. Everything after -- is the command that starts the server, so you just put Roblox's command there.
Mac (Terminal):
claude mcp add --scope user Roblox_Studio -- /Applications/RobloxStudio.app/Contents/MacOS/StudioMCP
Windows (Command Prompt):
claude mcp add --scope user Roblox_Studio -- cmd.exe /c %LOCALAPPDATA%\Roblox\mcp.bat
--scope user makes the server work in every project. Leave it out and it only works in the folder you ran the command from.
Then check it:
- Run
claude mcp list. Next toRoblox_Studioyou want to see Connected. - Inside a Claude Code session, type
/mcpto see the server and its tools.
Step 4: Check That Claude Is Connected
- In Studio, open Assistant, click … and then Manage MCP Servers.
- Under Enable Studio as MCP server, look for the green indicator. It shows how many apps are connected.
- Now test it in Claude. Ask something like: "Use Roblox Studio to list everything in the Workspace." If Claude answers with the parts in your place, you're done.
What Claude Can Do in Roblox Studio Once Connected
With the connection on, Claude can actually build things in Roblox Studio, not just chat about them. Roblox's built-in server gives Claude tools to:
- Read and edit scripts, or create new ones (
script_read,multi_edit). - Run Luau code in Studio and see the result (
execute_luau). - Look through your game and inspect any object (
search_game_tree,inspect_instance). - Find and insert models from the Creator Store (
search_asset,insert_asset). - Generate meshes, materials, animations and simple models from text.
- Playtest: start and stop Play, read the Output window and take a screenshot of the viewport (
start_stop_play,get_console_output,screen_capture). - Save the place (
save_place).
Roblox warns that a connected app can read and change your open places. Only connect apps you trust, and save a copy of your place (or use Git, as Roblox's own video suggests) before you let Claude make big changes.
Troubleshooting: Claude Won't Connect to Roblox Studio
The server doesn't show up, or Claude has no Roblox tools
Roblox's own fixes, in order:
- Restart both Roblox Studio and Claude. For Claude Desktop, fully quit it, don't just close the window.
- Check that the path in your config or command is right and the file exists. On a Mac, Studio must be in your Applications folder for the path above to work.
- Check your JSON. A missing comma or bracket stops the file from loading.
It worked, then it disconnected
The connection only works while Studio is open with your place loaded. If you closed Studio, open your place again, make sure Enable Studio as MCP server is still on, then restart both Studio and Claude. If you use the old GitHub plugin, move to the built-in server: Roblox no longer works on the old one.
Claude keeps asking for permission
That's normal. Claude Desktop asks you to approve each tool action, and Claude Code shows a Yes / No prompt for MCP tools. Read what Claude wants to do before you say yes, especially for scripts and Luau code.
More than one Studio window is open
One Claude can talk to several Studio windows at once. Ask Claude to list the connected Studio instances first (the list_roblox_studios tool), then say which one to work in.
Still stuck? Check the logs
Claude Desktop writes MCP logs to ~/Library/Logs/Claude on Mac and %APPDATA%\Claude\logs on Windows. mcp.log shows connection failures. In Claude Code, claude mcp list prints the error next to a server that failed to connect.
Don't Want to Set Any of This Up?
Now you know how to connect Claude to Roblox Studio. It's great when you want to work on your own place step by step. But if you just want a finished game to start from, there's a shorter path.
On AI Game Makers, you describe a game in one sentence in your browser. The AI builds the whole thing (3D map, scripts and UI) and you preview it right there. Then you download one .rbxlx file and open it in Roblox Studio. No plugin, no API key, and no Studio connection while it builds. Our Roblox Studio guide shows how to open the file and press Play.
FAQ
Do I need a plugin or Node.js to connect Claude to Roblox Studio?
No. The MCP server is built into Roblox Studio. The config just points Claude at a file that ships with Studio. The old GitHub server needed a plugin, but Roblox now recommends the built-in one.
Does Roblox Studio need to stay open?
Yes. Claude works inside your open Studio session. Close Studio and Claude loses access until you open it again.
Can I connect other AI tools to Roblox Studio, not just Claude?
Yes. Quick connect also supports Cursor, Codex CLI, Gemini CLI, Visual Studio Code and Antigravity. Any AI app that supports MCP over stdio can use the JSON config or command above.
Should I use Claude Desktop or Claude Code with Roblox Studio?
Claude Desktop is a chat app, so it's easier if you've never used a terminal. Claude Code runs in the terminal and suits people who already code. Both work with quick connect and use the same Studio tools.
Is it safe to let Claude edit my Roblox game?
Claude asks before it uses a tool, and only does what you approve. Still, a connected app can change your open place, so connect only apps you trust and keep a backup before big edits.
Sources
- Roblox Creator Docs: Connect to the Roblox Studio MCP server
- Roblox Creator Docs: Assistant for Studio
- Roblox Creator Docs: How to start coding with AI on Roblox (MCP) (video)
- Roblox on GitHub: studio-rust-mcp-server (no longer actively developed)
- Claude Code Docs: Connect Claude Code to tools via MCP
- Claude Code Docs: Configure permissions
- Model Context Protocol: Connect to local MCP servers (Claude Desktop setup)
- Claude Help Center: Getting started with local MCP servers on Claude Desktop