Robloxstudio
FreeNot checkedRoblox Studio MCP server (npm @6xvl/robloxstudio-mcp). 96+ tools, Roblox MCP hook, Blender-parity hang controls, multi-Studio routing.
About
Roblox Studio MCP server (npm @6xvl/robloxstudio-mcp). 96+ tools, Roblox MCP hook, Blender-parity hang controls, multi-Studio routing.
README
Connect AI assistants like Claude, Codex, Gemini, or any MCP-compatible AI to Roblox Studio
What is This?
An MCP server that lets AI explore your game structure, read/edit scripts, mutate terrain/lighting/animation/sound/particles, profile performance, and route requests across multiple Studio tabs — all locally and safely.
Extended fork with 130+ tools, multi-Studio routing, Blender-parity hang controls, and a Roblox official StudioMCP.exe hook.
Live-game tooling
A playtest forks the DataModel, and the plugin runs in each fork — so a running place is several peers at once: edit, server, and client-1..N. Tools that need the running game name which peer they mean.
eval_server_runtime/eval_client_runtime— Luau in the live VM, sharing its require cache.execute_luauruns in the plugin VM against a fresh ModuleScript, sorequire(SomeModule)hands back a new copy and every table the game has mutated is invisible. These see the real thing.get_runtime_logs— output per peer, with asincecursor. A value that differs between server and client is the shape of every replication bug, and a merged log cannot show which side printed it.capture_script_profiler/capture_micro_profiler— Luau CPU hotspots and engine frame time on a live peer.profile_snapshotsays a frame is slow; these say which function.get_memory_breakdown/get_scene_analysis— memory by tag and scene cost, compared across peers. Scene modes includeunparented_instances(a leak detector) andtriangle_composition.breakpoints— breakpoints and logpoints, with conditions.set_device_simulator/capture_device_matrix— emulate a device, or screenshot up to six of them in one call.set_network_profile— simulated latency, jitter and packet loss viaNetworkSettings.solo_playtest/multiplayer_playtest— run and inspect a test, up to 8 clients.import_rbxm/export_rbxm— real.rbxmvia SerializationService. Lossless, unlikeexport_build's compact JSON.manage_instance— launch, close, and inspect Studio processes; list a place's published revisions.get_roblox_docs/get_roblox_skills— the official engine reference and the installed Studio Assistant skills. Both answer with no Studio open.
Ported from Chrrxs/robloxstudio-mcp (MIT).
Setup
- Install the Studio plugin into your Plugins folder
- Enable Allow HTTP Requests in Experience Settings > Security
- Connect your AI:
Claude Code:
claude mcp add robloxstudio -- npx -y @6xvl/robloxstudio-mcp@latest
Codex CLI:
codex mcp add robloxstudio -- npx -y @6xvl/robloxstudio-mcp@latest
Gemini CLI:
gemini mcp add robloxstudio npx --trust -- -y @6xvl/robloxstudio-mcp@latest
Plugin shows "Connected" when ready.
Seeing
failed to connect to roblox studio: -32000(or[roblox-hook] ... Connection closed)? This is harmless and does not mean the server failed. It's the optional Roblox officialStudioMCP.exehook, which auto-enables when%LOCALAPPDATA%\Roblox\mcp.batexists and errors out if Roblox Studio isn't running with its built-in MCP enabled. The line is logged(non-fatal)and the server keeps running normally. To silence it, disable the hook:claude mcp add robloxstudio -e ROBLOX_MCP_HOOK=0 -- npx -y @6xvl/robloxstudio-mcp@latestOr open Roblox Studio first and the hook connects instead of erroring.
Other MCP clients (Claude Desktop, Cursor, etc.)
{
"mcpServers": {
"robloxstudio-mcp": {
"command": "npx",
"args": ["-y", "@6xvl/robloxstudio-mcp@latest"]
}
}
}
Windows users: if you encounter issues, use cmd:
{
"mcpServers": {
"robloxstudio-mcp": {
"command": "cmd",
"args": ["/c", "npx", "-y", "@6xvl/robloxstudio-mcp@latest"]
}
}
}
What Can You Do?
Ask things like:
- "Show me the full game structure"
- "Generate a forest at terrain region (0,0,0) → (200,50,200) with mixed grass and leafy"
- "Set lighting to horror preset and add fog"
- "Play animation 9876543210 on workspace.NPC1"
- "Profile the game for 10 seconds and tell me what's slow"
Inspector Edition (Read-Only)
@6xvl/robloxstudio-mcp-inspector
A lighter, read-only edition that only exposes inspection tools. No writes, no script edits, no object creation. Ideal for safely browsing game structure, reviewing scripts, and debugging without risk of accidental changes.
Setup — same plugin, just swap the package name:
Claude:
claude mcp add robloxstudio-inspector -- npx -y @6xvl/robloxstudio-mcp-inspector@latest
Codex:
codex mcp add robloxstudio-inspector -- npx -y @6xvl/robloxstudio-mcp-inspector@latest
Gemini:
gemini mcp add robloxstudio-inspector npx --trust -- -y @6xvl/robloxstudio-mcp-inspector@latest
Other MCP clients
{
"mcpServers": {
"robloxstudio-mcp-inspector": {
"command": "npx",
"args": ["-y", "@6xvl/robloxstudio-mcp-inspector@latest"]
}
}
}
Troubleshooting
failed to connect to roblox studio: -32000 / [roblox-hook] ... Connection closed
Harmless — the server still works. This is the optional Roblox official StudioMCP.exe hook, not the MCP server itself. It auto-enables when %LOCALAPPDATA%\Roblox\mcp.bat is present and reports -32000: Connection closed when Studio isn't running with its built-in MCP. The error is logged (non-fatal); the server continues on stdio. Disable the hook to remove the message:
claude mcp add robloxstudio -e ROBLOX_MCP_HOOK=0 -- npx -y @6xvl/robloxstudio-mcp@latest
Set ROBLOX_MCP_HOOK=1 to force the hook on, or 0 to force it off (default: auto).
Server says "Waiting for Studio plugin to connect..." forever
The Studio plugin connects to one HTTP port (default 58741).
If another robloxstudio-mcp already owns that port, this server no longer competes with it — it enters proxy mode and shares that server's Studio connection (see Several AI clients at once below). Nothing to configure.
If something else is squatting on the port, the server climbs to the next free one (58742, 58743, ...) and warns — and the plugin will not find it there. Pin the port so it matches the plugin:
claude mcp add robloxstudio -- npx -y @6xvl/robloxstudio-mcp@latest --port 58741
--port and ROBLOX_STUDIO_PORT do the same thing; the flag wins.
Several AI clients at once (two Claude terminals, Claude + Codex, ...)
Just run them. The first instance to start binds the port and becomes the primary; every later one detects it and becomes a proxy, forwarding its tool calls through the primary to the same Studio. You do not have to shut one down to use another, and they do not need separate ports.
Each client keeps its own set_active_studio choice — a per-request pin travels with every call, so one client picking a place cannot retarget another's tool calls.
Check it end to end with the primary running:
node scripts/check-proxy-mode.mjs
If the primary exits, a proxy promotes itself to primary within a few seconds and the plugin reconnects to it.
Several Studio places open at once
Different from the above: that is many AI clients, this is many Studios. The plugin window has one tab per port, so give each Studio its own port and add one MCP entry per port:
claude mcp add robloxstudio -- npx -y @6xvl/robloxstudio-mcp@latest --port 58741
claude mcp add robloxstudio2 -- npx -y @6xvl/robloxstudio-mcp@latest --port 58742
Then connect tab 1 in the first Studio and tab 2 in the second. Within one server, list_studios and set_active_studio pick between places connected to the same port.
Plugin never shows "Connected"
- Make sure Allow HTTP Requests is enabled (Game Settings → Security).
- Confirm the plugin and the server target the same port (see above).
- On Windows, if
npxmisbehaves, use thecmd /c npx ...form shown above.
**v3.3.0** — 96+ tools, multi-Studio routing, Roblox MCP hook, Blender-parity hang controls
Report Issues | MIT Licensed
Installing Robloxstudio
This server has no published package — it is built from source. Open the repository and follow its README.
▸ github.com/6xvl/robloxstudio-mcp-serverFAQ
Is Robloxstudio MCP free?
Yes, Robloxstudio MCP is free — one-click install via Unyly at no cost.
Does Robloxstudio need an API key?
No, Robloxstudio runs without API keys or environment variables.
Is Robloxstudio hosted or self-hosted?
Self-hosted: the server runs locally on your machine via the install command above.
How do I install Robloxstudio in Claude Desktop, Claude Code or Cursor?
Open Robloxstudio on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
GitHub
PRs, issues, code search, CI status
by GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Unyly Deploy
Deploy sites and MCP servers to Unyly straight from your AI agent
by UnylyAmap Maps Mcp Server
MCP server for using the AMap Maps API
by duxiaohuiPayMCP
Lightweight payments layer for MCP servers: turn tools into paid endpoints with a two-line decorator. [PyPI](https://pypi.org/project/paymcp/) · [npm](https://w
by blustAITemplate MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
by mcpdotdirectSupabase
Database, auth and storage
by SupabaseEverything
Reference / test server with prompts, resources, and tools.
Git
Tools to read, search, and manipulate Git repositories.
Compare Robloxstudio with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All development MCPs
