Skip to main content
Glama

roblox_playtest

Control Roblox Studio playtest sessions to test and debug games by starting/stopping tests, moving cameras, triggering interactions, executing code, and reading game state.

Instructions

Control Roblox Studio playtest sessions and interact with the running game.

Actions:

  • "start": Begin playtest (RunService:Run). Scripts execute, physics activate. Params: mode ("run"|"play", default "run").

  • "stop": End playtest, return to Edit mode.

  • "status": Get current mode (Edit/Running/Client/Server).

  • "move_camera": Reposition camera during playtest. Params: position {X,Y,Z}, lookAt {X,Y,Z}.

  • "fire_click": Trigger a ClickDetector. Params: path (instance path).

  • "fire_proximity": Trigger a ProximityPrompt. Params: path (instance path).

  • "get_state": Read game state (player count, leaderstats, runtime info).

  • "execute": Run Lua code in the live game context. Params: code (string).

Workflow: start → interact/observe → screenshot (via roblox_scene) → evaluate → stop → fix → repeat.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionYesWhich playtest action
modeNoFor start: "run" (server only) or "play" (client+server)
positionNoCamera position {X,Y,Z} (for move_camera)
lookAtNoLook-at target {X,Y,Z} (for move_camera)
pathNoInstance path (for fire_click/fire_proximity)
codeNoLua code (for execute)

Latest Blog Posts

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/paralov/roblox-studio-opencode-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server