Run a Lua file from disk
run_fileReads a local .lua, .luau, or .txt script file and executes it in the connected Roblox executor without pasting code.
Instructions
Read a .lua, .luau or .txt file from this computer and run it in the connected Roblox executor, like execute_lua but without pasting the code. The path is on the computer that runs the Superbase MCP server (absolute, or relative to its working folder; ~ is the home folder). Files up to 500 KB. The code runs with the executor's full permissions, so only run files the user asked for. Requires the connected state.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path of the file on this computer. | |
| client | No | Client id from list_clients, for example c2. Defaults to the client that connected last. | |
| timeout_ms | No | How long to wait for the code to finish (default 15000). |