How to Connect Claude Code to Roblox Studio (MCP Setup)

Updated October 2026 · 5 min read

Roblox Studio has a built-in MCP server. MCP (Model Context Protocol) is an open standard that lets an AI tool talk to another app. Once it's connected, Claude Code can look at your game, write scripts, run Luau, insert assets and even playtest, inside your open Studio window.

Here's the whole setup. It takes about five minutes.

What you need

  • Roblox Studio, updated to the latest version
  • Claude Code installed, with a Claude subscription
  • A place open in Studio

Step 1: Turn on the MCP server in Studio

  1. Open Assistant in Studio.
  2. Click the … menu, then Manage MCP Servers.
  3. Turn on Enable Studio as MCP server.

The panel then shows quick-connect options and setup instructions. This is straight from Roblox's MCP docs.

Step 2: Connect Claude Code

The easiest way is quick connect: in the same MCP settings panel, open the Quick connect dropdown and switch on Claude Code. If Claude Code isn't listed, install it and restart Studio.

Prefer the terminal? On Windows, the Studio MCP server is started by a small script Roblox installs. Add it to Claude Code with:

claude mcp add Roblox_Studio -- cmd.exe /c %LOCALAPPDATA%\Roblox\mcp.bat

On a Mac the server is a binary inside the app: /Applications/RobloxStudio.app/Contents/MacOS/StudioMCP.

Step 3: Check it worked

Back in Manage MCP Servers, look for the green indicator under "Enable Studio as MCP server". It shows how many clients are connected.

Then ask Claude something small:

List the Roblox Studio windows you can see, then add a bright red part above the spawn and tell me if the output has errors.

If a red part appears, you're connected.

What the AI can do once connected

The server gives the AI real tools, including:

  • Scripts: read, search and edit scripts (it can create new ones too)
  • The game tree: explore instances and inspect properties
  • Luau: run code in Studio and read the result
  • Playtesting: start and stop play mode, read the console, take screenshots
  • Assets: search the Creator Store and insert models, images and audio
  • Generation: make meshes, materials and models from a prompt

If it doesn't connect

  • Restart both Studio and Claude Code.
  • Make sure the MCP server toggle is still on.
  • If you used a JSON config, check for a missing comma. One typo stops it loading.
  • Only connect AI tools you trust: they can change your open places.

Make it do more than one-off edits

Connecting the AI is step one. Getting a good game out of it is a different skill: picking an idea people want, onboarding, monetization, getting players. That's what making a Roblox game with AI covers, and what Larpings is built for. The app connects your AI to Studio, Blender and your notes, and runs a full design pipeline instead of random prompts.

More guides