Roblox Studio MCP
Provides tools for interacting with Roblox Studio, enabling AI agents to edit scripts, manage instances, manipulate the world, run playtests, debug, take screenshots, and more.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Roblox Studio MCPStart a playtest and list any errors from the console."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Roblox Studio MCP
MCP server for Roblox Studio: 29 tools over a push-based bridge, batched writes that undo as one step, editor-safe script edits. MIT.

Install
1. The Studio plugin
npx -y @el4cteo/rbx-studio-mcp --install-pluginOr download StudioMCP.rbxmx from Releases into your Studio plugins folder.
2. The server, in whichever client you use:
claude mcp add roblox-studio -- npx -y @el4cteo/rbx-studio-mcpcodex mcp add roblox-studio -- npx -y @el4cteo/rbx-studio-mcp{
"mcpServers": {
"roblox-studio": {
"command": "npx",
"args": ["-y", "@el4cteo/rbx-studio-mcp"]
}
}
}{
"mcpServers": {
"roblox-studio": {
"command": "npx",
"args": ["-y", "@el4cteo/rbx-studio-mcp"]
}
}
}{
"mcpServers": {
"roblox-studio": {
"command": "npx",
"args": ["-y", "@el4cteo/rbx-studio-mcp"]
}
}
}{
"mcpServers": {
"roblox-studio": {
"command": "npx",
"args": ["-y", "@el4cteo/rbx-studio-mcp"]
}
}
}{
"servers": {
"roblox-studio": {
"type": "stdio",
"command": "npx",
"args": ["-y", "@el4cteo/rbx-studio-mcp"]
}
}
}{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"roblox-studio": {
"type": "local",
"command": ["npx", "-y", "@el4cteo/rbx-studio-mcp"],
"enabled": true
}
}
}3. Open Studio and accept the 127.0.0.1 prompt — the plugin connects automatically. Verify with studio_status.
4. debug additionally needs Debugger Luau API in File → Beta Features, plus a Studio restart. Nothing else requires it.

Port defaults to 44755 — change with --port or ROBLOX_STUDIO_MCP_PORT, and match it in the plugin widget. Loopback only.
Related MCP server: Roblox Studio MCP
Multiple agents
Register the server in as many clients as you like — the plugin connects out to one port, the first server owns it and the rest proxy through. No configuration, no second Studio connection.
Each agent keeps its own target (set_active_studio is per client), so two agents can work on two open places and neither can retarget the other. Pass studioId on a single call to reach elsewhere without changing your default.
Subagents share their parent's connection and therefore its target — a subagent calling set_active_studio silently retargets its parent. Give subagents an explicit studioId per call.
Tools
Session |
|
Discover |
|
Scripts |
|
Instances |
|
World |
|
Run & debug |
|
Look |
|
Gotchas: during a playtest two sessions connect — pass studioId explicitly and use the edit session for anything that must persist. device emulation persists until device op="stop".
Batching
Every write tool takes an array — ten script edits or two hundred deletions is one call.
tool | takes | cap |
| instances, each nesting | 100 |
| entries, each with an unlimited list of | 100 entries |
| paths | 200 |
| moves | 200 |
| edits, across any number of scripts | 50 |
| scripts | 50 |
| paths | 50 |
| input steps, delivered in order | 40 |
modify caps entries, not targets — one entry can anchor five hundred parts, so pair it with find to change a whole place in one call.
Each batch is a single ChangeHistoryService recording: one Ctrl+Z. Batches are all-or-nothing — everything is transformed in memory first, so a failed match leaves the place untouched.
Parallel tool calls also work (responses are keyed by request id), but prefer a batch: N parallel calls are N round trips and N undo steps, a batch is one of each.
Compared to what else exists
tools | transport | editor-safe writes | undo recording | live API dump | licence | |
this | 29 | SSE push | yes | yes | yes | MIT |
~27 | stdio | partial | — | n/a | closed source | |
~40 | poll | no | partial | no | MIT | |
51 | poll 500 ms | no | yes | no | MIT | |
43 | long-poll | no | no | no | MIT (archived) | |
2 | HTTP | no | no | no | MIT (superseded) |
Push, not poll — 50 sequential round trips: 13.6 ms mean vs 25.8 ms, 12.8 ms median vs 29.9 ms (
node scripts/latency.mjs --count 50 --compare).Safe script edits —
ScriptEditorService:UpdateSourceAsync, notscript.Source; your unsaved editor buffer survives.~16k tokens of schema against 43–51 tools elsewhere. Cursor-paged, capped,
detail: concise | standard | full.Live API dump — property typos get suggestions (
Anchorred→Anchored).
Not built here: terrain, AI mesh and material generation.
Security
Binds 127.0.0.1, rejects Origin, and requires a header a browser cannot set cross-origin — closing the DNS-rebinding hole. HTTP permission is granted per plugin and per URL, so your experience's "Allow HTTP Requests" setting is untouched.
Development
npm install
npm run build # TypeScript -> dist/
npm run build:plugin # plugin/src -> build/StudioMCP.rbxmx
npm run install:plugin # build + copy into the Studio plugins folder
npm test # plugin (Luau) + bridge (Node) testsNeeds luau, luau-compile and luau-analyze from the Luau releases on PATH or in tools/.
evals/ holds ten questions answerable only by driving a real Studio session — see evals/README.md.
Licence
MIT.
Maintenance
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables AI coding tools to control Roblox Studio for workspace exploration, instance manipulation, and script management. It provides tools for playtesting, scene rendering, and integration with the Roblox Creator Store.66MIT
- AlicenseNot gradedqualityDmaintenanceConnects AI assistants to Roblox Studio, enabling them to interact with instance hierarchy, edit Luau scripts, manage properties, and sync files over a local connection.201MIT
- AlicenseNot gradedqualityCmaintenanceBridges AI assistants to Roblox Studio with 51 tools for exploring, editing, and automating game development, all locally via HTTP polling.7986MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to build and edit Roblox Studio places by inspecting, generating terrain, geometry, and code, with validation and iteration.MIT
Related MCP Connectors
The team layer for AI coding agents: shared contracts, collision alerts, E2EE sessions.
Build, validate, and deploy multi-agent AI solutions from any AI environment.
Git-backed platform for skills, tools, and context for AI agents
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/EL4CTEO/rbx-studio-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server