robloxstudio-mcp

v3.6.0
@chrrxs/robloxstudio-mcp Checked 6 hours ago Published 5 days ago

MCP server for testing, debugging, and controlling Roblox Studio from AI coding tools

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

get_place_info

Use when you need the current place's identity or settings.

ParameterTypeDescription
instance_idstringStudio process ID when ambiguous.

search_objects

Use to find instances by name, class, or property value.

ParameterTypeDescription
classNamestringIsA filter, e.g. BasePart.
instance_idstringStudio process ID when ambiguous.
maxResultsintegerDefault 100.
pathstringSubtree root; defaults to game.
propertyNamestringProperty to search when searchType is property.
querystringSubstring; optional with className.
searchTypestringField to search; defaults to name.

get_instance_properties

Use to inspect an instance's current properties.

ParameterTypeDescription
instancePath *stringCanonical path of the instance.
excludeSourcebooleanFor scripts, return source metrics instead of Source.
instance_idstringStudio process ID when ambiguous.

get_project_structure

Use to inspect a DataModel subtree and its hierarchy.

ParameterTypeDescription
instance_idstringStudio process ID when ambiguous.
maxDepthnumberMaximum descendant depth; defaults to 3.
pathstringSubtree root; defaults to Workspace.
scriptsOnlybooleanReturn only scripts; defaults to false.

set_properties

Use to update several properties on one instance in a single call.

ParameterTypeDescription
instancePath *stringCanonical path of the target instance.
properties *objectProperty names mapped to new values.
atomicbooleanValidate all first; undo applied writes if one fails.
dryRunbooleanWith atomic, validate and preview only.
instance_idstringStudio process ID when ambiguous.
operation_idstringUnique recovery ID; reuse only for identical arguments.

get_script_source

Use to read all or part of a script's source.

ParameterTypeDescription
instancePath *stringCanonical path of the script.
instance_idstringStudio process ID when ambiguous.
line_rangestringLine selector: "N", "N-M", "N-", or "-M".

set_script_source

Use only when replacing a script's entire source.

ParameterTypeDescription
instancePath *stringCanonical path of the script.
source *stringComplete replacement source.
expected_revisionstringRevision from the last read; rejects stale writes.
instance_idstringStudio process ID when ambiguous.
operation_idstringUnique recovery ID; reuse only for identical arguments.

edit_script_lines

Use for exact replacements in one script; batched edits apply all or none.

ParameterTypeDescription
instancePath *stringCanonical path of the script.
dry_runbooleanPreview the diff without editing.
editsarrayBatch instead of old_string; all or none, one undo step.
expected_revisionstringRevision from the last read; rejects stale edits.
instance_idstringStudio process ID when ambiguous.
line_rangestringStart line; required when old_string is not unique.
new_stringstringReplacement source text.
old_stringstringExact text; must be unique unless line_range is set.
operation_idstringUnique recovery ID; reuse only for identical arguments.

insert_script_lines

Use to add source after a known line in one script.

ParameterTypeDescription
instancePath *stringCanonical path of the script.
newContent *stringSource text to insert.
afterLinenumberLine to insert after; 0 means before line 1.
expected_revisionstringRevision from the last read; rejects stale writes.
instance_idstringStudio process ID when ambiguous.
operation_idstringUnique recovery ID; reuse only for identical arguments.

delete_script_lines

Use to remove a known inclusive line range from one script.

ParameterTypeDescription
instancePath *stringCanonical path of the script.
line_range *stringInclusive "N-M" or "N" range; open ends are invalid.
expected_revisionstringRevision from the last read; rejects stale writes.
instance_idstringStudio process ID when ambiguous.
operation_idstringUnique recovery ID; reuse only for identical arguments.

get_attributes

Use to inspect every attribute on one instance.

ParameterTypeDescription
instancePath *stringCanonical path of the instance.
instance_idstringStudio process ID when ambiguous.

selection

Use to get, set, or frame selection.

ParameterTypeDescription
action *stringView frames a target or the current selection and preserves the…
angleYnumberView elevation in degrees.
fromnumberView azimuth: 0 +X, 90 +Z.
instance_idstringStudio process ID when ambiguous.
modestringHow set applies paths.
paddingnumberView distance scale.
pathstringOptional BasePart or Model path for view; omit to frame exactly…
pathsarraySet needs paths; empty clears in set mode.

execute_luau

Use for custom Studio traversal, edits, or peer execution.

ParameterTypeDescription
code *stringLuau code to execute.
instance_idstringStudio process ID when ambiguous.
operation_idstringUnique recovery ID; reuse only for identical arguments.
targetstringExecution peer; defaults to edit.

eval_server_runtime

Use to run Luau in the live server VM with its require cache, or to wait until a server condition holds.

ParameterTypeDescription
codestringLuau to run first; return a value to see it.
instance_idstringStudio process ID when ambiguous.
operation_idstringUnique recovery ID; reuse only for identical arguments.
poll_msintegerPoll interval in ms; default 250.
timeout_snumberWait limit in seconds; default 20.
wait_untilstringLuau condition polled until truthy; must not yield.

eval_client_runtime

Use to run Luau in a live client VM with its require cache, or to wait until a client condition holds.

ParameterTypeDescription
codestringLuau to run first; return a value to see it.
instance_idstringStudio process ID when ambiguous.
operation_idstringUnique recovery ID; reuse only for identical arguments.
poll_msintegerPoll interval in ms; default 250.
targetstringClient peer; defaults to the client named by instance_id, else…
timeout_snumberWait limit in seconds; default 20.
wait_untilstringLuau condition polled until truthy; must not yield.

grep_scripts

Use to search script sources.

ParameterTypeDescription
pattern *stringLiteral or Lua pattern; max 4096 UTF-8 bytes.
caseSensitivebooleanLua patterns are always case-sensitive.
classFilterstringExact script class to include.
contextLinesintegerSurrounding lines (0-100; default 0).
filesOnlybooleanPaths only; default false.
instance_idstringStudio process ID when ambiguous.
maxResultsintegerDefault 100.
maxResultsPerScriptintegerPer-script cap; 0 is unlimited.
pathstringCanonical subtree to search.
usePatternbooleanEnable Lua pattern with top-level | (not PCRE).

manage_instance

Use to manage Studio processes or list place revisions.

ParameterTypeDescription
action *stringOperation; authorize and complete only resume identity launches.
instance_idstringStudio process ID for close or status; excludes launch_id.
launch_idstringLaunch for close or status; excludes instance_id.
local_place_filestring.rbxl or .rbxlx path; required for local_file.
max_page_sizenumberVersions per page; clamped to 1-50, default 10.
page_tokenstringPrior list_place_versions page token.
place_idnumberPlace ID; required for published sources and version listing.
place_versionnumberRevision number; required for place_revision.
process_environmentobjectLaunch-only environment changes; never stored.
require_process_identitybooleanRequire PID attestation and explicit authorization.
sourcestringLaunch source; local_file needs path, published needs place_id.
studio_executablestringExact Studio executable for launch; otherwise auto-discovered.
studio_working_directorystringStudio process working directory; isolates relative plugin…
timeout_msnumberPlugin timeout in ms; default 120000; ignored in identity mode.
wait_for_connectionbooleanWait for instance_id; false returns launch_id.

solo_playtest

Use to start, stop, or inspect a single-player Studio playtest.

ParameterTypeDescription
action *stringLifecycle action to run.
instance_idstringStudio process ID when ambiguous.
modestringstart mode; default play.
ready_timeout_snumberSeconds start waits for peers to answer eval; default 90.
timeoutnumberStop wait in seconds, default 15; start aliases ready_timeout_s.

set_network_profile

Use to simulate client latency, jitter, or packet loss.

ParameterTypeDescription
profile *stringNetwork preset; custom requires overrides.
instance_idstringStudio process ID when ambiguous.
overridesobjectNetworkSettings fields that override or define the profile.
targetstringClient peer or all-clients; defaults to client-1.

get_simulation_state

Use to inspect current network and device simulation.

ParameterTypeDescription
includestringState group; defaults to both.
instance_idstringStudio process ID when ambiguous.
targetstringEdit or client scope; servers are invalid.

reset_simulation_state

Use to clear network and device simulation state.

ParameterTypeDescription
deviceSimulatorbooleanStop device simulation; defaults to true.
instance_idstringStudio process ID when ambiguous.
networkbooleanReset network simulation; defaults to true.
targetstringEdit or client scope; servers are invalid.

get_device_simulator_state

Use to inspect device simulation or list device presets.

ParameterTypeDescription
deviceIdstringBuilt-in preset to inspect.
includeDeviceListbooleanInclude built-in presets; defaults to true.
instance_idstringStudio process ID when ambiguous.
targetstringEdit or client peer; defaults to edit. Servers are invalid.

set_device_simulator

Use to manage device simulation in edit or a playtest client.

ParameterTypeDescription
deviceIdstringBuilt-in device preset ID.
instance_idstringStudio process ID when ambiguous.
orientationstringScreenOrientation enum name.
pixelDensitynumberPositive density override after the preset.
resolutionobjectResolution override after the preset.
scalingModestringDeviceSimulatorScalingMode enum name.
stopSimulationbooleanStop simulation; excludes other simulator settings.
targetstringEdit, client-N, or all-clients; defaults to edit.

capture_device_matrix

Use to compare viewport screenshots across up to six device settings.

ParameterTypeDescription
entries *arrayOrdered device settings to capture.
formatstringImage format; defaults to jpeg. png is lossless.
instance_idstringStudio process ID when ambiguous.
qualitynumberJPEG quality 1-100; defaults to 92. Ignored for png.
restoreAfterbooleanRestore a preset afterward; custom devices cannot be restored.
settleSecondsnumberDelay per capture in seconds; defaults to 0.3.
targetstringEdit or one client-N; not server or all-clients.

multiplayer_playtest

Use to run or inspect a multi-client Studio playtest.

ParameterTypeDescription
action *stringLifecycle action to run.
instance_idstringStudio process ID when ambiguous.
numPlayersnumberClient count for start or add_players; 1-8.
ready_timeout_snumberSeconds start waits for peers to answer eval; default 90.
targetstringClient for leave_client; defaults to client-1.
testArgsJSON value exposed through GetTestArgs on server and clients.
timeoutnumberWait in seconds; defaults to 30; start aliases ready_timeout_s.
valueJSON value returned by end to the edit process.

get_runtime_logs

Use to read merged logs for one Instance or separate Instance logs for a MultiplayerGroup.

ParameterTypeDescription
cursorstringOpaque cursor returned by the previous read of one Instance. It…
cursor_by_instanceobjectFor a multiplayer group, opaque cursors keyed by Instance ID…
filterstringLiteral message substring applied before tail.
instance_idstringExact Studio process ID; excludes multiplayer_group_id.
multiplayer_group_idstringMultiplayer group ID; excludes instance_id.
tailnumberLast N entries after filtering.

capture_script_profiler

Use to find Luau CPU hotspots on a running server or client.

ParameterTypeDescription
duration_msnumberCapture length in ms.
filterstringCase-insensitive function name or source substring.
frequencynumberSamples per second.
include_nativebooleanInclude native frames; defaults to false.
include_pluginbooleanInclude plugin frames; defaults to false.
instance_idstringStudio process ID when ambiguous.
max_functionsnumberReturned function and debug-label limit.
min_total_usnumberMinimum function TotalDuration in microseconds.
output_pathstringRaw JSON file; the response returns only its path.
targetstringRunning server or client-N; edit is invalid.

capture_micro_profiler

Use to profile engine and game frame time on a live peer, or to analyze a saved MicroProfiler capture.

ParameterTypeDescription
actionstringcapture records duration_ms; start/stop record around other…
baselineobjectInline summary used as the baseline.
baseline_labelstringBaseline comparison label.
baseline_pathstringSummary file used as the baseline.
current_labelstringCurrent comparison label.
duration_msnumberRecording length for action=capture.
end_framenumberLast frame_id to analyze.
filterstringCase-insensitive timer or group substring.
focusstringSubsystem filter.
include_comparison_indexbooleanReturn the full comparison index; defaults to false.
include_gpubooleanInclude GPU events; defaults to false.
include_idlebooleanInclude idle timers; defaults to false.
input_pathstringCapture to analyze: an earlier capture.path or a MicroProfiler…
instance_idstringStudio process ID when ambiguous.
max_comparison_rowsnumberRows returned per comparison section.
max_groupsnumberReturned group limit; each group includes hot timers.
max_related_timersnumberParent, child, and thread rows per timer; 0 omits them.
max_timersnumberReturned timer limit.
max_timers_per_groupnumberNested timers per group; 0 omits them.
min_total_usnumberMinimum inclusive_us after other filters.
output_pathstringCapture file path; defaults to a kept temp file.
spike_framesnumberSlowest frames to break down; 3, or 0 with filter.
start_framenumberFirst frame_id to analyze.
summary_output_pathstringSummary JSON file with its comparison index.
targetstringRunning server or client-N; edit is invalid.

breakpoints

Use to trace script execution with breakpoints or logpoints.

ParameterTypeDescription
action *stringOperation; set/remove need location; clear targets MCP entries.
clear_allbooleanWith clear, also remove user-created breakpoints.
conditionstringLuau condition for set.
continue_executionbooleanContinue after hit; defaults true; false needs a resumer.
enabledbooleanInitial enabled state; defaults to true.
instance_idstringStudio process ID when ambiguous.
linenumber1-based line for set or remove.
log_messagestringLuau expressions to log; quote literal text.
script_pathstringScript path; required for set and remove.
targetstringEdit, server, or client-N; defaults to edit.

get_connected_instances

Use to discover standalone Studio Instances and role-suffixed temporary Instances nested within multiplayer groups.

get_request_status

Use to check, await, or recover a retained Studio operation or a pending tool call.

ParameterTypeDescription
request_id *stringOperation ID, request ID from an error, or a pending requestId.
wait_msintegerMax ms to await settlement, capped at the response budget…

search_assets

Use to find public Creator Store assets by type or keyword.

ParameterTypeDescription
assetType *stringAsset type; Image maps to Decal, Particle and VFX to Model.
maxResultsnumberResult limit; defaults to 25.
querystringTerms; Particle and VFX add an effect suffix.
robloxCreatedOnlybooleanOnly Roblox-created assets; defaults to false.
sortBystringSort order; defaults to Relevance.

get_asset_details

Use to inspect a shortlisted Creator Store asset.

ParameterTypeDescription
assetId *numberRoblox asset ID.

get_asset_thumbnail

Use when an asset thumbnail would help with visual review.

ParameterTypeDescription
assetId *numberRoblox asset ID.
sizestringThumbnail dimensions; defaults to 420x420.

insert_asset

Use to sanitize and insert a Creator Store asset into a Studio place.

ParameterTypeDescription
assetId *numberRoblox asset ID to insert.
instance_idstringStudio process ID when ambiguous.
operation_idstringUnique recovery ID; reuse only for identical arguments.
parentPathstringCanonical parent; defaults to game.Workspace.
positionobjectWorld position for the inserted asset.

generate_model

Use to stage a Roblox model from text or an image.

ParameterTypeDescription
asyncbooleanReturn job status before generation ends.
generate_texturesbooleanGenerate textures; defaults to true.
image_asset_idnumberRoblox image ID; excludes other image inputs.
image_base64stringPNG base64; image/png required; single source.
image_mime_typestringMIME type; required with image_base64.
image_pathstringLocal PNG; excludes other image inputs.
instance_idstringStudio process ID when ambiguous.
max_trianglesnumberTriangle cap; lower values are more faceted.
namestringGenerated Model name in __MCPGeneratedModels.
operation_idstringUnique recovery ID; reuse only for identical arguments.
promptstringGeneration prompt; required without an image.
schemastringPart layout; Body1 is one mesh, Car5 is five vehicle parts.
schema_groupsarrayCustom part names; excludes schema.
sizeobjectRequested size; generation may vary.
timeout_msnumberBridge deadline in ms; never cancels generation.

preview_asset

Use to inspect an asset's hierarchy and media without inserting it.

ParameterTypeDescription
assetId *numberRoblox asset ID to preview.
includeAudiobooleanReturn inline audio; needs legacy-asset:manage and never writes…
includePropertiesbooleanInclude properties in displayed nodes.
instance_idstringStudio process ID when ambiguous.
maxAudioPreviewsnumberInline audio limit; byte caps still apply.
maxDepthnumberDisplayed depth; result caps at 100 nodes, but all are scanned.

upload_asset

Use to upload a local asset file to a Roblox user or group.

ParameterTypeDescription
assetType *stringUpload type; must match the file.
displayName *stringAsset name; at most 50 characters.
filePath *stringAbsolute local file path.
descriptionstringAsset description; defaults to empty.
groupIdstringCreator group ID; replaces env defaults and wins over userId
userIdstringCreator user ID; replaces env defaults (groupId wins if both)

capture_screenshot

Use to capture the Studio viewport, a frame sequence or contact sheet, or map input coordinates.

ParameterTypeDescription
formatstringFormat; jpeg is smaller, png lossless; default jpeg.
framesintegerFrames to capture, 1-16; default 1.
gridbooleanReturn the frames as one numbered contact sheet.
instance_idstringStudio process ID when ambiguous.
interval_msintegerGap between frames in ms; default 500.
qualitynumberJPEG quality 1-100; defaults to 92. Ignored for png.

capture_video

Use to record the viewport as video to review motion such as cutscenes or animations, not repeated screenshots.

ParameterTypeDescription
actionstringrecord (default) waits duration_ms; start/stop wrap other calls.
duration_msnumberaction=record length; default 5000, max 30000.
end_msnumberStoryboard span end; default the video end.
fpsnumberFrames per second, 1-60; default 30.
framesnumberStoryboard image frames, 0-25; default 9.
input_pathstringVideo for action=storyboard: an earlier video.path.
instance_idstringStudio process ID when ambiguous.
output_pathstring.mp4 path; defaults to a kept temp file.
start_msnumberStoryboard span start; default 0.

manage_monetization

Use to list, inspect, create, or update developer products and game passes.

ParameterTypeDescription
action *stringOperation; create and update change live Roblox items.
kind *stringItem type.
descriptionstringItem description shown to buyers.
for_salebooleanPurchasable; create defaults to false.
idintegerProduct or pass ID; required for get and update.
image_pathstringLocal PNG, JPEG, or BMP icon file.
instance_idstringStudio process ID when ambiguous.
managed_pricingbooleanLet Roblox price optimization set the price.
namestringItem name; required for create.
page_tokenstringPrior list page token.
priceintegerDefault price in Robux.
universe_idintegerUniverse ID; defaults to the connected Studio place.

manage_experience

Use to read or change experience settings such as title, devices, and private servers.

ParameterTypeDescription
action *stringOperation; update changes the live game.
confirmbooleanRequired for private server price changes.
descriptionstringPlace description; the experience description on the root.
devicesobjectDevices players may join from.
disable_private_serversbooleantrue turns private servers off; needs confirm.
instance_idstringStudio process ID when ambiguous.
namestringPlace name; the experience title on the root place.
place_idintegerPlace to read or edit; defaults to the root place.
private_server_priceintegerRobux price; cancels subscriptions; needs confirm.
remove_social_linksarraySocial link kinds to remove.
server_sizeintegerMaximum players per server.
social_linksarraySocial links to add or replace.
universe_idintegerUniverse ID; defaults to the connected Studio place.
voice_chat_enabledbooleanAllow voice chat; running servers keep their setting.

simulate_mouse_input

Use to click, move, or scroll a live playtest viewport.

ParameterTypeDescription
action *stringMouse action; click performs down, then up.
x *numberViewport pixel X coordinate.
y *numberViewport pixel Y coordinate.
buttonstringDefaults to Left.
instance_idstringStudio process ID when ambiguous.
targetstringPeer; prefers a running client, then edit.
wheelnumberFor scroll; negative is down.

simulate_keyboard_input

Use to send key presses or text to a live playtest client.

ParameterTypeDescription
actionstringKey action; tap presses, waits, and releases. Defaults to tap.
durationnumberTap hold in seconds; defaults to 0.1.
instance_idstringStudio process ID when ambiguous.
keyCodestringEnum.KeyCode name; omit when using text.
targetstringPeer; prefers a running client, then edit.
textstringText for the focused TextBox; excludes keyCode and action.

get_memory_breakdown

Use to compare memory categories across Studio peers.

ParameterTypeDescription
instance_idstringStudio process ID when ambiguous.
tagsarrayDeveloperMemoryTag filter; unknown tags return zero.
targetstringEdit, server, client-N, or all; defaults to all.

get_scene_analysis

Use to attribute scene cost across instances and content.

ParameterTypeDescription
instance_idstringStudio process ID when ambiguous.
modestringAnalysis mode; defaults to all.
rawbooleanInclude full nested result trees; defaults to false.
targetstringEdit, server, client-N, or all; defaults to all.
topNnumberFlattened entries per mode; defaults to 10.

export_rbxm

Use to save selected DataModel instances as a local .rbxm file.

ParameterTypeDescription
instance_paths *arrayCanonical instance paths to serialize.
output_path *stringAbsolute .rbxm output path.
instance_idstringStudio process ID when ambiguous.
targetstringSource DataModel; defaults to edit. server reads live state.

import_rbxm

Use to load a local, remote, or inline .rbxm under a chosen parent.

ParameterTypeDescription
parent_path *stringCanonical parent path for imported instances.
source *objectExactly one path, URL, or base64 source. All inputs are capped…
instance_idstringStudio process ID when ambiguous.
operation_idstringUnique recovery ID; reuse only for identical arguments.
targetstringDestination DataModel; defaults to edit. server uses live state.

find_and_replace_in_scripts

Use to preview or apply one replacement across scripts.

ParameterTypeDescription
pattern *stringLiteral text or Lua pattern.
replacement *stringReplacement; Lua patterns support %1, %2, and so on.
caseSensitivebooleanLiteral match casing; patterns require true.
classFilterstringExact script class to include.
dryRunbooleanPreview diffs and revisions without edits; defaults to false.
expected_revisionsobjectScript path to revision; pass the dryRun revisions.
instance_idstringStudio process ID when ambiguous.
maxReplacementsintegerTotal cap checked before any write; defaults to 1000.
operation_idstringUnique recovery ID; reuse only for identical arguments.
pathstringCanonical subtree to search.
usePatternbooleanUse Lua patterns; requires caseSensitive.

get_roblox_skills

Use to read installed Roblox Studio Assistant skills.

ParameterTypeDescription
action *stringList skills or get one document.
namestringListed skill name; required for get.

get_roblox_docs

Use to read official Roblox engine or Luau references.

ParameterTypeDescription
name *stringExact engine or Luau reference name; case-sensitive.
doc_typestringReference category; defaults to classes.
sectionstringLevel-two heading to return.