Skip to main content
Glama
roblox-studio
by nardjay

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
--portNoPort for the HTTP bridge. Defaults to 44755 unless that port is busy.44755
--tokenNoShared secret that the Studio plugin must send; set the same token in the plugin panel.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server controls a live Roblox Studio session through the companion "RobloxMCP" Studio plugin. Start with studio_status: it reports whether Studio is attached and which place is open. Discover before editing: get_tree lists services/children, search_instances finds things by name or class, and get_selection reads what the user has selected. Paths look like Workspace.Model.Part. Mutating calls (create_instance, set_properties, delete_instance, clone_instance, reparent_instance, set_script_source, edit_script, insert_asset) are each one undo step in Studio, so history undo reverses the last call. Prefer edit_script over set_script_source for small changes, and read source before rewriting it. Datatype values are tagged JSON: {"__type":"Vector3","x":0,"y":5,"z":0}, {"__type":"CFrame","components":[...]} and plain strings such as "Neon" or "#ff8800" are accepted for enums and Color3.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}

Tools

Functions exposed to the LLM to take actions

NameDescription
studio_statusA

Check whether the Roblox Studio plugin is connected, which place is open, and the bridge port. Call this first when a tool reports that Studio is disconnected: it tells you whether the plugin is missing, stale (protocol mismatch) or simply not polling.

get_treeA

Read the instance hierarchy under a path, breadth-first, with class names and paths. Use this to discover what exists before editing. Returns child counts plus a truncated flag when the tree is larger than maxNodes.

search_instancesA

Find instances by name substring and/or class name under a subtree, traversing descendants. This is the fastest way to locate a script, part or GUI by name when you do not know its full path.

get_instanceA

Read one instance: ClassName, parent path, attributes, and property values encoded as readable JSON. Datatypes come back tagged, e.g. {"__type":"Vector3","x":1,"y":2,"z":3} or {"__type":"CFrame","components":[...]}. Omit "properties" to get a curated snapshot.

create_instanceA

Create a new instance of a ClassName under a parent and optionally set properties in the same call. Typical use: Part in Workspace, TextLabel in a ScreenGui, Script with a Source property, Folder for grouping. Property values use the same tagged JSON that get_instance returns; plain strings are accepted for enums ("Neon"), Color3 ("#ff8800" or {"__type":"Color3",...}) and instance references.

set_propertiesA

Set one or more properties on an existing instance. Values may be primitives or tagged datatypes such as {"__type":"Vector3","x":0,"y":10,"z":0}, {"__type":"CFrame","components":[...]}, {"__type":"UDim2","xs":0,"xo":0,"ys":0,"yo":0}, "Enum.Material.Neon" or a plain enum name. Read-only properties and type mismatches are reported individually and do not abort the rest.

delete_instanceA

Destroy an instance and its descendants. Recoverable with the history tool (undo) until the place is closed.

clone_instanceB

Deep-clone an instance (Archivable is set on the clone), optionally renaming it and placing it under a new parent.

reparent_instanceA

Move an existing instance under a different parent, optionally renaming it.

get_script_sourceA

Read the full Source of a Script, LocalScript or ModuleScript. Line numbers are 1-based in the returned text.

set_script_sourceA

Replace the entire Source of a script. Prefer edit_script for small changes: rewriting a file from memory risks losing code you have not read. If the script is open in Studio, the editor buffer is updated through ScriptEditorService so Studio does not show a stale file.

edit_scriptA

Apply an exact literal string replacement inside a script. Fails if find is missing, so a bad edit cannot silently corrupt the file. Set all=true to replace every occurrence, otherwise the occurrence must be unique unless occurrence (1-based) is given.

get_selectionA

Read the instances currently selected in Studio. This reflects what the user is looking at right now, which is often a better anchor than guessing a path.

set_selectionA

Select instances in Studio so the user can see what you changed. focus=true also moves the camera to them (only works for 3D instances).

insert_assetA

Insert a Roblox asset (model, mesh part, tool) by asset id using InsertService. Requires the asset to be public or owned by the signed-in account, and needs an internet connection in Studio.

historyA

Undo or redo the last change in Studio, or write an explicit waypoint into the undo history. Each of your mutating tool calls is already a single undo step, so "undo" reverses the last tool call.

get_console_outputA

Read recent Studio Output-window lines captured by the plugin (print/warn/error from Studio and from playtests that the plugin is attached to). Useful after loading a script or inserting a model.

run_selftestA

Ask the plugin to verify its own capabilities inside this Studio build: source read/write, ChangeHistoryService recordings, InsertService, ScriptEditorService, Selection and HTTP. Use it when a tool misbehaves and you need to know which Studio API is unavailable instead of guessing.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.8/5.0

Scored across 18 tools

Disambiguation4/5

Most tools are cleanly separable by resource+action (read tree, read instance, create, clone, delete, reparent, set properties, script read/write/edit). The only mild overlaps are get_instance vs get_script_source (Source could plausibly come from either) and get_tree vs search_instances for locating nodes, but both descriptions steer usage clearly. The set_script_source/edit_script pair is explicitly differentiated by guidance, which is a strong touch.

Naming Consistency4/5

The dominant convention is snake_case verb_noun (get_tree, create_instance, set_properties, delete_instance, edit_script), applied consistently. Two outliers use bare nouns instead of verbs: studio_status and history. Minor deviation, fully readable, no mixed casing.

Tool Count4/5

18 tools is on the heavier side of the ideal band, but each maps to a distinct Studio operation (diagnostics, hierarchy reads, instance CRUD, script editing, selection, history, assets, console). No obviously redundant or vanity tools inflate the count.

Completeness4/5

Strong lifecycle coverage: diagnostics/selftest, discovery, full instance CRUD plus reparent/clone, property and source editing, undo/redo, asset insertion and console output. Gaps remain around playtest start/stop control, attribute-specific read/write, and batch/multi-instance operations, which agents may have to work around via re-running single-instance calls.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues