Roblox Studio MCP
Connect your coding agent directly to Roblox Studio. It can edit places, run Luau in live server and client contexts, start and stop playtests, and collect logs, screenshots, memory reports, and profiler captures from each peer.
What it can do
Debug a running game
- Run Luau with
eval_server_runtimeoreval_client_runtime. Both tools execute in a live server or client context and use the samerequirecache as your game scripts. - Instrument live code with
breakpoints. It records each hit without pausing the playtest. - Read output from edit mode, the server, or a specific client with
get_runtime_logs, including messages logged during startup.
Automate playtests
- Start, inspect, and stop solo or multi-client sessions with
solo_playtestandmultiplayer_playtest. - Open or close Studio windows with
manage_instance. It can launch a baseplate, a local place file, a published place, or an older place revision.
Find performance problems
- Record server or client CPU timings with
capture_script_profilerandcapture_micro_profiler. - Break down memory use with
get_memory_breakdownor attribute scene cost withget_scene_analysis.
Work in edit mode
- Run Luau in Studio's edit context with
execute_luau. - Use
set_propertiesfor instance properties andfind_and_replace_in_scriptsfor script text. For project-specific bulk edits, useexecute_luau. - For large generated Luau, use the verified chunk-staging workflow: explicit instance routing, UTF-8 byte/hash readback, ownership-checked cleanup, and bounded recovery without blindly replaying mutations.
- Use
selectionto inspect or update Studio selection and frame a part or model before capturing the viewport. - Capture the viewport with
capture_screenshot, then send mouse or keyboard input. See Configuration.
Inspect Creator Store assets
- Find public assets with
search_assets, then read the full catalog metadata withget_asset_details. - Check an asset's hierarchy, media metadata, and security scan with
preview_assetbefore adding it to the place. - Add an asset with
insert_asset. The tool removes scripts and package links, verifies the cleaned result, and then parents it in Studio.
Look up Roblox APIs
- Fetch official engine API documentation as Markdown with
get_roblox_docs. - List and retrieve Roblox-authored skills with
get_roblox_skills.
See the complete tool list.
Setup
1. Connect your client
Choose your MCP client below. Each setup installs the matching Studio plugin automatically.
bashcodex mcp add robloxstudio -- npx -y @chrrxs/robloxstudio-mcp@latest --auto-install-plugin
bashclaude mcp add robloxstudio -- npx -y @chrrxs/robloxstudio-mcp@latest --auto-install-plugin
bashagy mcp add robloxstudio -- npx -y @chrrxs/robloxstudio-mcp@latest --auto-install-plugin
json{ "mcpServers": { "robloxstudio-mcp": { "command": "npx", "args": ["-y", "@chrrxs/robloxstudio-mcp@latest", "--auto-install-plugin"] } } }
2. Restart Studio
Fully close and reopen Studio after installation or updates. When the plugin displays Connected, you're ready.
Custom Plugins folder. Set MCP_PLUGINS_DIR to use a custom location.
Manual plugin installation.
bashnpx -y @chrrxs/robloxstudio-mcp@latest --install-plugin
Both editions prefer the bundled plugin. If it is missing, installation downloads the GitHub release matching the installed npm package version and validates the plugin's version and edition before replacing the installed file. This also applies to development versions; a missing matching release is an error.
Inspector edition
Read-only access to the DataModel.
No DataModel or script edits. The selection tool can change editor selection and camera framing; export and profiler tools can write files only to explicit local paths.
Install only one variant at a time (the installers remove the other automatically):
Codex CLI
bashcodex mcp add robloxstudio-inspector -- npx -y @chrrxs/robloxstudio-mcp-inspector@latest --auto-install-plugin
Claude Code
bashclaude mcp add robloxstudio-inspector -- npx -y @chrrxs/robloxstudio-mcp-inspector@latest --auto-install-plugin
Antigravity CLI
bashagy mcp add robloxstudio-inspector -- npx -y @chrrxs/robloxstudio-mcp-inspector@latest --auto-install-plugin
Other clients (Cursor, Claude Desktop, etc.)
json{ "mcpServers": { "robloxstudio-inspector": { "command": "npx", "args": ["-y", "@chrrxs/robloxstudio-mcp-inspector@latest", "--auto-install-plugin"] } } }
Documentation
| Topic | Guides |
|---|---|
| Setup & usage | Configuration and HTTP bridge · Large inputs & recovery · Creator Store assets |
| Development | Building from source · API migration · Token budgets |
Report issues · Report a security vulnerability · MIT Licensed · Based on boshyxd/robloxstudio-mcp v2.7.0




