Roblox Studio MCP connects your AI coding agent to a live Studio session through a lightweight HTTP bridge. This guide walks you from a clean machine to a working connection in five steps — no manual file editing required if you use theDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/Chrrxs/robloxstudio-mcp/llms.txt
Use this file to discover all available pages before exploring further.
--auto-install-plugin flag.
Prerequisites
Before you start, make sure you have:- Roblox Studio installed and able to open a place
- Node.js 18+ and
npmavailable in your terminal (node -vto check) - One of the supported AI tools: Claude Code, Codex CLI, Gemini CLI, Claude Desktop, or Cursor
The Studio plugin communicates with the MCP server over
localhost:58741. Studio blocks outbound HTTP by default, so you must opt-in once per place.This setting is saved per-place. You must enable it in every place file you want the agent to connect to. It does not grant network access to the published game on Roblox servers — it only allows localhost traffic in Studio.
The
--auto-install-plugin flag tells the server to copy the matching MCPPlugin.rbxmx into Studio’s Plugins folder the first time it starts. Run the command that matches your tool:Claude Code
Codex CLI
Gemini CLI
Claude Desktop / Cursor (JSON config)
Windows — Claude Desktop / Cursor (cmd wrapper)
Windows users: If
npx does not resolve when launched from a JSON-configured client (Claude Desktop, Cursor), use the cmd /c wrapper variant shown above.@latest pins the server to the newest npm release automatically. If you need a specific version, replace @latest with the version tag (e.g. @2.20.0).Studio loads plugins only on startup. After the MCP server has run for the first time with
--auto-install-plugin, you must completely close and reopen Roblox Studio — not just close the place — so the new MCPPlugin.rbxmx is picked up.Make sure Roblox Studio is not running in the system tray or background before reopening. On macOS, use Cmd+Q (not just closing the window) to ensure a full exit.
After Studio restarts, look for the MCP Server button in the Plugins toolbar. Click it to open the dock widget. The status indicator should show Connected (green).
If the widget shows Disconnected (red), that is normal while the MCP server is not running. The plugin will auto-connect as soon as the server starts.
If you see a yellow warning banner, the plugin and server versions differ — see the version mismatch section for the one-command fix.
With the plugin showing Connected, open your AI tool and try one of these prompts to confirm everything is working end-to-end:
Start a multiplayer test with 2 clients, read the server log, and tell me why the round never starts.
Next steps
- Multiple places open? Read MCP Clients to learn how
instance_idrouting works when several Studio windows are connected. - Want read-only access? The Inspector Edition ships 36 read-only tools — safe for code review without risk of accidental edits.
- Need Open Cloud features? Pass
--open-cloud-key,--creator-id, and--creator-group-idflags to unlock cloud-side tools. See MCP Clients for details.