rbx-studio-plus
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| RBX_STUDIO | No | Default target Studio (name substring or place id). | |
| RBX_SYNC_DIR | No | Default sync folder. | |
| RBX_TIMEOUT_MS | No | Per-call timeout in milliseconds (default 60000). | 60000 |
| RBX_UPSTREAM_CMD | No | JSON array overriding the Studio bridge command. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
Roblox Studio bridge (rbx-studio-plus). No studio_id needed: the open Studio is picked automatically. Workflow:
studio_status & game_overview — see connected Studio, mode, services, scripts, Remotes, and tags in 1 call.
Scripts: sync_pull once (pass sourcemap=true for Luau LSP / luau-analyze), then read/edit/grep local files under ./roblox-src and sync_push (or sync_watch on=true). script_read / script_write / script_edit / script_grep also work directly.
World & UI: tree / inspect / set_props (supports batch paths, tag selector, ColorSequence, NumberSequence, Font, Rect, CollectionService tags) / instance (supports nested children trees) / luau_run. selection = what the user selected.
Verify: script_check (syntax + require() cycle/path/GetService checks), then playtest (captures BOTH Server and Client errors, supports wait_for_player, server_code, client_code).
console shows new Output lines per datamodel (plugin noise filtered). history undo reverts mistakes. Other Studio tools (save_place, generate_*, insert_asset, screen_capture, input simulation, …) are available with the same names.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| prompts | {} |
| resources | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| studio_statusA | START HERE. One call shows: connected Studio instances (and which one is targeted), play mode, available datamodels, PlaceId, script-sync state and recent sync activity. |
| studio_selectA | Choose which open Studio instance all following calls target (only needed when several are open). |
| game_overviewB | One-call architectural overview of the place: PlaceId, services with script/child counts, all Remotes & Bindables, all CollectionService tags, Lighting & StarterPlayer settings. |
| luau_runA | Run Luau in Studio and get back print/warn output, the return value (Instances, Vector3, tables… are serialized) and errors with line numbers. Use for queries and one-off edits; changes are undoable (history action=undo). Code runs on Studio's main thread: in long loops call task.wait() every ~1000 iterations. Top-level |
| consoleA | Read Studio's Output window. By default returns only lines that are new since your previous console call (tracked per datamodel). Errors are prefixed [E], warnings [W]. Studio plugin noise is hidden by default. |
| playA | Start or stop a playtest (waits until Studio has actually switched), or report the current mode. |
| playtestA | One-shot verification: starts a playtest, optionally waits for player/character spawn, runs optional server and/or client Luau assertions, waits, collects errors/warnings/prints from BOTH Server and Client Output, then stops. Use after changes to verify runtime behaviour. |
| treeA | Compact view of the instance hierarchy (Name [Class] (+N hidden children)). With class/name/tag filters, lists matching instances with full ~N-disambiguated paths. Faster and terser than search_game_tree. |
| inspectC | Properties, attributes, CollectionService tags, and children summary of an instance (supports ~N disambiguation, dots in names, and playtest datamodels). |
| set_propsA | Set properties, attributes, and/or CollectionService tags on one instance ( |
| instanceA | Create (with optional recursive |
| script_readA | Read a script's source (includes unsaved editor changes), with line numbers. Prefer the local files if the place is synced (sync_pull). |
| script_writeA | Replace a script's whole source, creating the script (and missing parent Folders) if needed. Undoable. |
| script_editA | Exact search/replace edits in one script (atomic, supports ~N & dots in names). Each |
| script_grepA | Search across all scripts in Studio (or under |
| script_checkA | Compile every script (or those under given paths) for syntax errors AND statically check require() cycles, broken require() paths, and GetService() typos. Optionally runs local luau-analyze/selene if synced. |
| selectionA | Get the instances the user currently has selected in Studio (great for 'fix this'), or set the selection. |
| historyA | Undo or redo the last change(s) in Studio (every tool edit is recorded as an undo step). |
| sync_pullA | Export the place's scripts to a local folder (Rojo-style: .server.luau / .client.luau / .luau) so you can read/edit/grep them with your normal file tools. Safe to re-run: only changed files are rewritten; files edited on both sides produce a .studio conflict copy instead of being overwritten. |
| sync_pushA | Send locally edited/new script files to Studio. Refuses to overwrite scripts that were also changed in Studio since the last sync (conflict) unless force. New files are created (class from suffix, optional |
| sync_statusB | What differs between the local folder and Studio: local edits, Studio edits, new/removed scripts, conflicts. Read-only. |
| sync_watchA | Live two-way sync: local file saves are pushed to Studio automatically, and edits made in Studio are pulled every few seconds. Pulls first if the folder is not synced yet. |
| sync_sourcemapA | Generate a Rojo-compatible sourcemap.json (and optional .luaurc) from Studio so Luau LSP, luau-analyze, and coding agents resolve require() paths and instances. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| roblox-workflow | Orient yourself on the connected Roblox Studio project and sync scripts. |
| verify-and-playtest | Run static checks and a Server+Client playtest to verify the game. |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| Studio status | Connected studios, play mode, sync state |
| Game overview | Services, script counts, Remotes, tags, Lighting & StarterPlayer |
| Console output | Recent Studio Output log (plugin noise filtered) |
TDQS
Scored across 23 tools
Most tools have clearly distinct targets: script_read/write/edit/grep/check, instance, set_props, inspect, tree, and the sync_* family each do one obvious thing. The only genuinely confusable pairs are play vs playtest (start/stop a session vs one-shot verified run) and tree vs game_overview vs inspect, but descriptions disambiguate them (agents directed to tree as faster/terser, game_overview as a single architecture dump).
There are strong prefix families (script_*, sync_*, studio_*), but the overall convention is mixed: noun_verb (script_read, luau_run, game_overview), verb_noun (set_props, sync_pull), and bare nouns/verbs (tree, inspect, instance, selection, history, play, playtest, console). Readable overall but no single predictable pattern an agent can extrapolate from.
23 tools is on the heavy side, but the surface spans several genuinely different concerns (script I/O, hierarchy inspection, playtesting, undo, local sync), and each tool maps to a real operation. The five sync_* tools are the only cluster that could arguably be trimmed for a lighter footprint.
Coverage of the core domain is strong: read/write/edit scripts, create/delete/clone/reparent instances, set properties and tags, search, lint, playtest verification, output reading, undo/redo, and local file sync. Gaps are peripheral rather than blocking: no screenshot/visual capture, no place save/publish or open/close operations, and no asset/marketplace tooling.