How to connect Roblox Studio's built-in MCP server to Claude Code and Codex
Roblox Studio ships with a built-in MCP server. Connect Claude Code or the Codex CLI and the agent can edit scripts in your open place, run Luau code, and playtest while checking console output and the viewport. There's no plugin to download.
- Update Studio to the latest version and open Assistant. Click
…→ Manage MCP Servers and turn on Enable Studio as MCP server. - In Assistant Settings → MCP Servers, expand Quick connect and turn on Claude Code or Codex CLI. If your client isn't listed, install it and restart Studio.
- To register it yourself, run this in Claude Code (macOS). On Windows, use
cmd.exe /c %LOCALAPPDATA%\Roblox\mcp.batas the command.
claude mcp add Roblox_Studio -- /Applications/RobloxStudio.app/Contents/MacOS/StudioMCP
- Once connected, the same panel shows a green indicator with the number of connected clients. Restart your client and ask something like "Build a jump pad and verify it in a playtest."
Tools include script_read and multi_edit (read and edit scripts), execute_luau (run Luau), and start_stop_play, get_console_output and screen_capture (playtesting). With several Studio windows open, pick the target ID with list_roblox_studios. Connected clients can read and modify your open places, so only connect ones you trust. If the server doesn't show up, restart both Studio and the client.
Sources
Get notified when a new tip lands
Tip alerts only go out in the app. Install it and turn notifications on.