2021 Roblox Studio MCP Bridge
This server bridges AI clients to 2021 Roblox Studio (Octane/Aisaka), letting them inspect, edit, script, and playtest a live Roblox place over MCP.
Studio management: list connected Studio instances (
list_roblox_studios) and check Edit/Play mode state (get_studio_state).Visual inspection: capture high-res screenshots of the Studio window (
screen_capture).Code execution: run arbitrary Luau in edit context with undo checkpoints (
execute_luau).Hierarchy exploration: scan the DataModel tree (
get_tree,search_game_tree) and deep-inspect instances, properties, children, attributes, and tags (inspect_instance).Scripting: read scripts (
read_script,script_read), write/overwrite source (write_script), make multi-file edits or create scripts (multi_edit), and regex/keyword search across all scripts (script_grep).Instance manipulation: create new instances with properties (
create_instance) and safely delete them (delete_instance).Diagnostics: retrieve recent Studio output log messages (
get_output_log) and audit scene objects for external asset IDs (audit_scene_assets).Autonomous playtesting: start (
start_playtest), stop (stop_playtest), or run a full test cycle that monitors console errors, screenshots gameplay, and returns to Edit mode (run_playtest).
Provides tools for interacting with 2021 Roblox Studio / Aisaka Studio, enabling AI agents to capture viewport screenshots, execute Luau code, read and write scripts, explore the DataModel hierarchy, create and delete instances, and retrieve Studio output logs.
Click on "Deploy 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., "@2021 Roblox Studio MCP Bridge take a screenshot of my Roblox Studio window"
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.
2021 Roblox Studio MCP Bridge ๐ฎ๐ค
Connect AI coding assistants (OpenCode, Claude Desktop / Claude Code, Cursor, Codex, Windsurf, Gemini CLI, and browser AIs via ZeroScript) directly to 2021 Roblox Studio (Octane / Aisaka) using Anthropic's Model Context Protocol (MCP).
๐ Features
screen_capture: Captures high-res screenshots of your Studio viewport/GUI directly into the AI chat.execute_luau: Executes arbitrary Luau code in Studio edit mode with automaticChangeHistoryServiceundo checkpoints.read_script&write_script: Reads and overwrites the full source code of scripts, local scripts, and module scripts.script_grep: Global regex search across all scripts in the place.inspect_instance: Deep property inspector (CFrames, colors, attributes, tags, children).audit_scene_assets: Scans all 3D scene objects (sounds, meshes, decals, particles, clothing) for asset IDs.Playtest Suite (
run_playtest,start_playtest,stop_playtest): Autonomous AI playtesting with gameplay screenshots and console error diagnostics.Stability Suite: HTTP Long-Polling (94% less traffic), Studio heartbeat tracking, infinite-loop guard, and UTF-8 sanitization.
Related MCP server: Roblox Studio MCP
๐ Quick Setup Guide
โจ NEW: Native Desktop Setup & Control Center App (
Octane Studio MCP Setup.exe) Double-clickOctane Studio MCP Setup.exeto open the native Windows GUI installer & control center! It includes:
โก 1-Click Studio Plugin Installer (automatically copies
MCPBridge2021.luainto%localappdata%\Roblox\Plugins)๐ฆ Built-in
npm installRunner (installs server dependencies right inside the app)๐ค 1-Click AI Client Configurator (auto-configures OpenCode, Claude Desktop, Cursor, Windsurf, Claude Code, Codex, and the ZeroScript Browser Extension)
๐งช Live Studio Connection Tester (ping 2021 Studio, inspect
Workspace, read logs, and test screenshots live)
1. Install the Studio Plugin
Open Windows Run (
Win + R), type:%localappdata%\Roblox\Pluginsand press Enter.
Copy
MCPBridge2021.luainto that folder.Open 2021 Roblox Studio (Octane).
Check your Output window in Studio; you should see:
[MCP 2021] Bridge initialized. Connecting to http://127.0.0.1:3021 ...(Note: The plugin automatically enables
HttpServiceon launch).
2. Install Dependencies
Open your terminal (PowerShell or Command Prompt) in the repository folder and run:
npm install๐ Connect to Your AI Client
Option 1: OpenCode
Add this to opencode.json (or ~/.config/opencode/opencode.jsonc):
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"Roblox_2021": {
"type": "local",
"command": ["node", "C:/path/to/server.js"],
"enabled": true
}
}
}Option 2: Claude Desktop
Add this to %APPDATA%\Claude\claude_desktop_config.json:
{
"mcpServers": {
"roblox-2021": {
"command": "node",
"args": ["C:/path/to/server.js"]
}
}
}Option 3: Cursor
In your project folder, create .cursor/mcp.json (or add in Cursor Settings > Features > MCP):
{
"mcpServers": {
"roblox-2021": {
"command": "node",
"args": ["C:/path/to/server.js"]
}
}
}Option 4: Codex CLI
Run in your terminal:
codex mcp add roblox-2021 -- node "C:/path/to/server.js"Option 5: Windsurf
Add to ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"roblox-2021": {
"command": "node",
"args": ["C:/path/to/server.js"]
}
}
}Option 6: Claude Code CLI
Run in your terminal:
claude mcp add roblox-2021 -- node "C:/path/to/server.js"๐ Available Tools for the AI
Tool | Description |
| Captures a high-resolution screenshot of the Studio window or active screen for visual AI inspection. |
| Executes arbitrary Luau code in Studio's edit context with undo waypoint tracking. |
| Traverses and returns the DataModel hierarchy ( |
| Reads the complete |
| Writes or overwrites the |
| Creates new instances ( |
| Destroys instances in the DataModel safely. |
| Retrieves recent output log messages from Studio. |
| Global search across all scripts in the place for matching text/regex lines. |
| Inspects detailed properties, children, attributes, and tags of any instance. |
| Scans all 3D scene objects (sounds, meshes, decals, particles, clothing) and reports external asset IDs. |
| Starts a playtest in Studio ( |
| Stops the active playtest simulation and returns to Edit mode (Shift+F5). |
| Autonomous AI test: launches test, monitors for console errors over N seconds, takes gameplay screenshot, and returns to Edit mode. |
๐ License
MIT License
Available Tools
19 toolsaudit_scene_assetsA
Scans all 3D objects in the scene (sounds, meshes, decals, animations, clothing) and reports all external asset IDs
Inputs: service.
create_instanceD
Creates a new Instance in the DataModel
Inputs: className (required), name, parent, properties.
delete_instanceC
Deletes an instance from the DataModel
Inputs: path (required).
execute_luauB
Executes Luau code in 2021 Roblox Studio edit context and returns output
Inputs: code (required).
get_output_logC
Retrieves recent messages from Studio's output log
Inputs: limit.
get_studio_stateB
Gets the state of 2021 Roblox Studio (Edit/Play mode)
Inputs: no named parameters.
get_treeC
Scans and returns the hierarchy tree starting at root path
Inputs: root, maxDepth.
inspect_instanceB
Inspects detailed properties, children, attributes, and tags of an instance
Inputs: path (required).
list_roblox_studiosB
Lists connected 2021 Roblox Studio instances
Inputs: no named parameters.
multi_editC
Edits or creates scripts in Studio
Inputs: edits (required), file_path (required).
read_scriptC
Reads the complete Source text of a Script
Inputs: path (required).
run_playtestA
Runs an autonomous test: starts playtest, monitors for runtime errors over duration, captures screenshot, and stops test
Inputs: mode, duration, capture_screen.
screen_captureB
Captures a screenshot of the 2021 Roblox Studio / Aisaka window
Inputs: no named parameters.
script_grepB
Searches all Scripts, LocalScripts, and ModuleScripts across the place for a text pattern or keyword
Inputs: pattern (required), root, max_matches, case_sensitive.
script_readC
Reads a script from the Roblox workspace
Inputs: target_file (required).
search_game_treeC
Explore the Roblox game hierarchy tree
Inputs: path, max_depth.
start_playtestC
Starts a playtest in Roblox Studio (F5 for Play Solo, F8 for Run / Server Simulation)
Inputs: mode.
stop_playtestA
Stops the active playtest simulation in Roblox Studio and returns to Edit mode (Shift+F5)
Inputs: no named parameters.
write_scriptC
Updates or overwrites the Source text of an existing Script in Studio
Inputs: path (required), source (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogโฆ
TDQS
Scored across 19 tools
read_script and script_read are near-duplicates, get_tree and search_game_tree overlap, write_script and multi_edit both edit/create scripts, and execute_luau can subsume many specific operations. These unclear boundaries create real misselection risk.
All tools use snake_case, but the verb/noun ordering is inconsistent: read_script vs script_read, get_tree vs search_game_tree, write_script vs multi_edit, and script_grep. This is readable but not a predictable pattern.
19 tools is on the heavy side for this bridge, and several overlapping/duplicate tools inflate the count. The domain is complex enough to justify many tools, but consolidation would make the set cleaner.
Core coverage is strong: connection/state, script read/write/edit/search, instance create/delete/inspect, output logs, scene asset audit, and playtest lifecycle. Direct property/attribute setters and instance reparenting are absent, but execute_luau provides a workaround.
Maintenance
Related MCP Connectors
Use AI models for chat, image, and video generation from Claude Code and other MCP hosts.
Remote MCP server exposing your Node Command fleet (files, shell, processes, browser) to AI hosts.
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yoโฆ
One connector for 15,000+ MCP servers plus your team's private MCPs, from any AI client.
Related MCP Servers
- AlicenseNot gradedqualityNot gradedmaintenanceConnects Roblox Studio to AI coding editors via the Model Context Protocol, allowing AI agents to understand and interact with live Roblox Studio sessions through scene manipulation, scripting, and optional Roblox Open Cloud API integration.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.7 npm2MIT
- AlicenseNot gradedqualityAmaintenanceEnables AI assistants to control Roblox Studio by running Luau code, creating and editing instances, reading the scene tree, and managing scripts via an MCP server with a long-polling plugin bridge.MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI tools to read the Roblox Studio game tree, edit scripts, insert models, and run playtests via the Studio MCP interface.37 npmMIT