Universal Roblox AI Studio
Integrates with the Roblox platform, providing tools to manage game assets, scripts, and the DataModel hierarchy through MCP.
Provides MCP integration with Roblox Studio, enabling AI-driven game creation including component-based building, Luau script management, asset handling, and playtesting via the official StudioMCP.exe.
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., "@Universal Roblox AI StudioCreate a script for a click-to-collect coin system"
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.
⚡ Universal Roblox AI Studio — Autonomous Multi-Mode Capability MCP Platform
Universal Roblox AI Studio is a next-generation Model Context Protocol (MCP) runtime that transforms Roblox Studio into an AI-Native, autonomous, and bidirectional development platform for external AI coding assistants (Claude Desktop, Cursor, Antigravity, VS Code, etc.).
📖 Table of Contents
🧱 Hierarchy & Component-First Construction ("+ Sign" Paradigm)
🛡️ Restricted and Official MCP Routing Tree (Restricted Taxonomy)
🌟 Core Features
63+ First-Class Universal MCP Tools: DataModel hierarchy, Instance lifecycle, Luau script management, PBR materials, Voxel Terrain, Playtest simulation, 3D Generative AI, and Virtual Hardware input.
Official Roblox Studio MCP (
StudioMCP.exe) Native Integration: Roblox's own official MCP client (%LOCALAPPDATA%\Roblox\Versions\...\StudioMCP.exeandmcp.bat) is auto-discovered, and restricted 3D/Asset/Playtest commands are routed directly to the official engine.Component & Hierarchy-First Construction (
VisualConstructionEngine): Instead of generating everything with massive scripts, it builds physical objects, constraints, lights, particles, and sounds layer by layer using the+(Insert Object) logic from Studio Explorer.Advanced Animation & Hardware Calibration (
AnimationAuthoringEngine): R15/R6 rig posing (Motor6D), joint safety, KeyframeSequence creation, andTool.Gripcalibration to ensure tools sit correctly in the character's hand.Self-Healing Error Diagnostics (
DiagnosticsEngine): Instantly analyzes Luau engine errors (C0 is read only,attempt to index nil,HttpDisabled, etc.) and provides ready-to-use fix code (suggestedFix) and recommendations to the AI assistant.4-Tier Dynamic Capability Resolution (
UniversalCapabilityEngine): A command is resolved via a direct tool, a workflow template, compiled primitives, or an autonomous planner.Bidirectional Secure HTTP/HTTPS Bridge: Real-time event listening between the Studio plugin and the Node.js server (
LogService, errors, selection changes) withChangeHistoryServiceUndo/Redo (Ctrl+Z) safety.
🏛️ Architecture and 11 Specialized Providers
Instead of a single static tool list, Universal Roblox MCP operates through 11 specialized providers (IProvider) and a Central Capability Router (CapabilityRouter):
┌────────────────────────────────────────────────────────┐
│ AI Client (Claude / Cursor) │
└──────────────────────────┬─────────────────────────────┘
│ MCP (JSON-RPC)
▼
┌────────────────────────────────────────────────────────┐
│ Universal Roblox Studio MCP Router │
│ (UniversalCapabilityEngine) │
└───────┬──────────────────┬───────────────────┬─────────┘
│ │ │
┌────────────────────┴───┐ ┌────────┴────────┐ ┌──────┴────────────────┐
│ 1. Embedded Plugin │ │ 2. Official MCP │ │ 3-11. Specialized │
│ (HTTP/HTTPS Bridge) │ │ (StudioMCP.exe) │ │ Domain Engines │
└────────────┬───────────┘ └────────┬────────┘ └──────┬────────────────┘
│ │ │
│ Polling RPC │ Stdio / WS │ Logic & Templates
▼ ▼ ▼
┌──────────────────────────────────────────────────────────────────────────────────┐
│ Roblox Studio Session │
│ • DataModel Tree • Luau ScriptEditor • Viewport Framebuffer • Simulation │
└──────────────────────────────────────────────────────────────────────────────────┘11 Provider Layers:
EmbeddedPluginProvider: Manages 36 core primitives by communicating with the native plugin inside Roblox Studio.OfficialRobloxMCPProvider: Connects to Roblox's officialStudioMCP.exebinary to execute restricted 3D, Asset, and Playtest commands.ModelingProvider: Coordinates 3D meshes, PBR materials, and procedural part assemblies.AnimationProvider: Manages animation clips, player controls, and rig poses.LuauProvider: Provides Luau static analysis, syntax validation, and safe code execution.WorkflowProvider: Applies composite game systems (Day/Night, Leaderstats, Island Generator, etc.) as templates.AssetProvider: Fetches/inserts models, sounds, and visual assets from the Creator Store and Cloud inventory.TestingProvider: Manages automated scenario tests, virtual keyboard/mouse inputs, and validation processes.DiagnosticsProvider: Monitors Studio output, performs root cause analysis, and suggests safe repairs.ObservationProvider: Manages viewport screen capture and visual inspection.DesignProvider: Audits spatial aesthetics, color harmony, and design rules.
🧱 Hierarchy & Component-First Construction ("+ Sign" Paradigm)
An experienced developer in Roblox Studio does not procedurally generate everything with a single massive Luau script. Instead, they use Component-Driven development. Our system builds objects in 5 stages following industry-standard layering:
[Katman 1: Mekansal İskelet] ───▶ Model / Folder / Frame / Parts / Meshes / PrimaryPart
↓
[Katman 2: Görsel & Duyusal] ───▶ PBR Materials / PointLight / Particles / Sounds / SurfaceGui
↓
[Katman 3: Etkileşim & Fizik] ───▶ ProximityPrompt / HingeConstraint / WeldConstraint / Attachments
↓
[Katman 4: Animasyon & Donanım]──▶ KeyframeSequence / Motor6D Poses / Tool Grip Calibration
↓
[Katman 5: Ayrık Mantık] ───▶ Sadece sinyalleri dinleyen hafif ve modüler Luau ControllerReady-Made Component Templates (component_compose):
interactive_door: Wooden frame (Frame), hinge (HingePart), door panel (DoorPanel),ProximityPrompt, opening sound (Sound),TweenServicecontroller, and customAttributes(IsOpen,OpenAngle).collectible_coin: Spinning cylinder coin, metal material, goldenPointLight,Sparkles, collection sound, andCollectionServicetag.equippable_weapon: CalibratedTool.Grip,RightGripAttachment,Handle, swing sound, hit trail (Trail), and activation script.interactive_chest: Fixed chest body, opening lid (ChestLid),HingeConstraint,ProximityPrompt, golden glow, andLootTableattributes.streetlamp_fixture: Metal pole, glass lamp head,PointLight,SpotLight, Neon material, and Day/Night automatic light sensor.teleporter_pad: Teleportation platform, particle beam (ParticleEmitter&Beam), teleport sound, and target coordinates.dialogue_npc: Posed R15/R6 character,BillboardGuiname tag, dialogueProximityPrompt, and conversation tree.
🛡️ Restricted and Official MCP Routing Tree (Restricted Taxonomy)
For security reasons, the Roblox engine restricts certain APIs (RobloxSecurity, RobloxScriptSecurity, SensitiveInput, Capture) for third-party plugins. Our system automatically recognizes these restrictions via the RestrictedCapabilityRegistry and routes them directly to the official StudioMCP.exe proxy:
RESTRICTED / OFFICIAL-ONLY (12 Kategori)
├── 1. RobloxSecurity ──▶ official-roblox-mcp (execute_luau / search_game_tree)
├── 2. RobloxScriptSecurity ──▶ official-roblox-mcp (script_grep / execute_luau)
├── 3. Internal Studio APIs ──▶ official-roblox-mcp (get_studio_state, list_roblox_studios)
├── 4. Internal Engine APIs ──▶ official-roblox-mcp (generate_mesh / get_console_output)
├── 5. Internal Plugin APIs ──▶ official-roblox-mcp (internal plugin manager)
├── 6. Protected Debug APIs ──▶ official-roblox-mcp (get_console_output)
├── 7. Protected Studio Control APIs ──▶ official-roblox-mcp (start_stop_play [Play/Run/Stop])
├── 8. Missing Sandbox Capabilities ──▶ official-roblox-mcp (screen_capture, keyboard/mouse input)
├── 9. Restricted Asset APIs ──▶ official-roblox-mcp (generate_mesh, generate_material, search_asset)
├── 10. Restricted HTTP APIs ──▶ official-roblox-mcp (Cloud Auth HTTP)
├── 11. Internal Network APIs ──▶ official-roblox-mcp (Replication diagnostics)
└── 12. Provider-Specific Capabilities ──▶ official-roblox-mcp (subagent, execute_luau)🧠 Self-Healing Diagnostics Engine
AI models can get stuck on common Roblox API errors while running code. The DiagnosticsEngine catches these errors and produces directly working solutions for the AI:
Encountered Error | Root Cause | Automatic Diagnosis and Solution |
| The R15 joint ( | Automatically suggests checking |
| The dynamic object has not loaded yet. | Generates |
| The operation requires | Routes the request to the official MCP |
|
| Reports that HTTP permission must be enabled via Studio Game Settings. |
🛠️ Comprehensive MCP Tool List (63+ Tools)
1. Visual Construction & Animation Tools
component_compose: Builds complete components (door, chest, coin, NPC, etc.) from ready-made templates.component_template_list: Lists all available component templates and their hierarchy trees.hierarchy_scaffold: Organizes the Studio project into folders following professional industry standards.tool_grip_calibrate: Automatically calibrates the grip angles (Tool.Grip) of weapons and items in the character's hand.rig_pose_and_animate: Safely poses R15/R6 character joints (Motor6D).
2. Official Roblox MCP Tools (StudioMCP.exe Integrated)
generate_mesh: Generates Roblox Cloud AI 3D meshes from natural language prompts.generate_material: Generates PBR materials and textures from natural language prompts.generate_procedural_model: Creates procedural part assemblies.search_asset&insert_asset: Searches and inserts assets from the Creator Store and Cloud library.screen_capture: Captures high-resolution screenshots from the Studio 3D Viewport.start_stop_play: Physically starts the game (Play/Run) or returns to edit mode (Stop).get_studio_state: Queries the Studio session, open document, and active simulation mode.list_roblox_studios&set_active_studio: Lists running Studio windows and selects the active one.character_navigation: Moves the character to 3D world coordinates during simulation.user_keyboard_input&user_mouse_input: Injects hardware-level key presses and mouse clicks into the simulation.script_read,multi_edit,script_search,script_grep: Local multi-file editing and search via the Studio Script Editor.subagent&execute_luau: Runs Roblox's native sub-agent and Luau code execution engine.
3. Core DataModel & Primitive Tools
studio_info,studio_get_tree,studio_search,studio_inspect: DataModel hierarchy scanning and deep property inspection.instance_create,instance_delete,instance_clone,instance_reparent,instance_rename,instance_move: Object lifecycle and 3D positioning.property_get,property_set,property_get_all: Property read/write with automatic Luau type conversion.attribute_get,attribute_set,attribute_delete,attribute_get_all: Attribute management.script_get_source,script_set_source,script_patch_source,script_search_code: Script source reading, line-based patching, and code search.selection_get,selection_set,selection_add,selection_clear: Studio Explorer selection control.output_get,output_get_errors,output_clear: Output log and error capture.terrain_fill_block,terrain_fill_ball,terrain_clear: Voxel Terrain creation and clearing.batch_execute: Atomic multi-command execution in a single operation (withUndo/Redowaypoint support).
🚀 Quick Setup & Getting Started
1. Requirements
Node.js: v18.0.0 or higher (v20+ / v24 recommended).
Roblox Studio: Installed on Windows or macOS.
2. Cloning the Repository and Building
git clone <repo-url>
cd "Roblox Studio MCP"
npm install
npm run build3. Installing the Roblox Studio Plugin
You can install the plugin using one of two methods:
Method A: Copy the Ready-Made Plugin File (Recommended)
Run npm run bundle:plugin and node scripts/build-rbxmx.js (or copy the compiled files):
Windows: Copy the
plugin-build\RobloxUniversalMCP.rbxmxfile to the%LOCALAPPDATA%\Roblox\Plugins\directory.macOS: Copy the
plugin-build/RobloxUniversalMCP.rbxmxfile to the~/Library/Application Support/Roblox/Plugins/directory.
Method B: Manual Installation Inside Studio
Open any Place in Roblox Studio.
Paste the contents of the
plugin-build/RobloxUniversalMCP.luaufile into a Script.Right-click the Script and select "Save as Local Plugin...".
Enable "Allow HTTP Requests" from Home > Game Settings > Security.
🤖 AI Client Configurations (Universal Setup for All Computers)
Three different universal methods are provided to run it consistently and portably on any computer:
🌟 Method 1: Global CLI Registration (Recommended — One Line on All Computers!)
Run npm link once in the project folder to register the system as a global command:
npm run build
npm linkNow you don't need to type any file path in Claude Desktop, Cursor, or any MCP client:
Claude Desktop (claude_desktop_config.json)
Windows:
%APPDATA%\Claude\claude_desktop_config.jsonmacOS:
~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"roblox-universal-studio": {
"command": "roblox-studio-mcp"
}
}
}🚀 Method 2: Cursor / VS Code Universal Workspace (${workspaceFolder})
When you open the project in Cursor or VS Code, add it to the .cursor/mcp.json or .vscode/mcp.json file. No matter which computer it opens on, ${workspaceFolder} is detected automatically:
{
"mcpServers": {
"roblox-universal-studio": {
"command": "node",
"args": [
"${workspaceFolder}/dist/index.js"
]
}
}
}📁 Method 3: Running by Specifying a Direct File Path
If you want to call the compiled dist/index.js file directly instead of the global CLI:
{
"mcpServers": {
"roblox-universal-studio": {
"command": "node",
"args": [
"<PROJE_KLASORUNUZ_TAM_YOLU>/dist/index.js"
]
}
}
}(Example Windows: C:\\Projects\\Roblox-Studio-MCP\\dist\\index.js | macOS: /Users/username/Projects/Roblox-Studio-MCP/dist/index.js)
📊 Live Telemetry and Studio Interface
When the plugin is loaded, a special DockWidget (DiagnosticsView) opens inside Roblox Studio:
Plugin Runtime:
ONLINE/STANDALONEMCP Bridge:
CONNECTED(Green) /DISCONNECTED(Red)Capabilities Discovered: 80+ Live Capabilities (All providers and subsystems)
Low-Level Tools: 57 Primitive Tools
High-Level Workflows: 19 Composite Workflows
Total Universal Tools: 76 Universal Tools
Active Mode:
CHAT|OBSERVE|BUILD|PLAYTEST|AUTONOMOUS
🧪 Testing and Verification
To run the full test suite:
npm testTest output:
✔ Tool Registry contains all universal tools
✔ HTTP Bridge Status returns disconnected when no session is active
✔ HTTP Bridge Handshake registers studio session
✔ Executing a command dispatches over polling RPC and resolves with response
✔ 11 Providers are registered and operational in ProviderRegistry
✔ Universal Capability Engine resolves across 4-tier hierarchy
✔ MultiModeEngine handles operating mode transitions and permissions
✔ Live Dashboard endpoint returns comprehensive real-time telemetry
✔ Visual Construction Engine lists rich archetypes and templates
✔ Animation Authoring Engine calibrates tool grips and keyframe sequences📄 License
This project is licensed under the MIT License. Enjoy the AI-native game development experience with Roblox Studio! 🎮⚡
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to control Unreal E…
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
OCR, transcription, file extraction, and image generation for AI agents via MCP.
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/Cmmdx256/Roblox-Studio-MCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server