Skip to main content
Glama

Roblox Studio MCP Server

get_script_source

Retrieve the source code of a script object (LocalScript, Script, or ModuleScript) by specifying the instance path using the MCP server in Roblox Studio. Enables direct access to script data for development and debugging purposes.

Instructions

Get the source code of a script object (LocalScript, Script, or ModuleScript)

Input Schema

NameRequiredDescriptionDefault
instancePathYesPath to the script instance (e.g., "game.ServerScriptService.MainScript")

Input Schema (JSON Schema)

{ "properties": { "instancePath": { "description": "Path to the script instance (e.g., \"game.ServerScriptService.MainScript\")", "type": "string" } }, "required": [ "instancePath" ], "type": "object" }

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/boshyxd/robloxstudio-mcp'

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