Roblox Studio MCP is configured through a combination of CLI flags passed when the server starts and environment variables that unlock specific API-dependent features. Most setups only needDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/Chrrxs/robloxstudio-mcp/llms.txt
Use this file to discover all available pages before exploring further.
--auto-install-plugin and an Open Cloud API key for asset operations. This page documents every available knob.
CLI flags
These flags are passed directly to thenpx invocation that starts the MCP server.
--auto-install-plugin
Copies the Studio plugin bundled with the current package version into Roblox Studio’s Plugins folder when the server starts. The installer removes the other plugin variant (inspector or main) before writing, so you will never end up with both installed simultaneously.
.rbxmx file.
--install-plugin
Installs the bundled plugin, then exits immediately without starting the MCP server. Use this for a one-time manual install or to update the plugin on a machine where the server is managed separately.
--open-cloud-key <key>
Sets ROBLOX_OPEN_CLOUD_API_KEY for this server process. Equivalent to passing the key as an environment variable, but useful for environments where env vars are awkward to set.
--creator-id <id>
Sets ROBLOX_CREATOR_USER_ID for this server process. Required for asset uploads that are owned by a user account.
--creator-group-id <id>
Sets ROBLOX_CREATOR_GROUP_ID for this server process. Required for asset uploads owned by a Roblox group. Takes precedence over --creator-id when both are provided.
Environment variables
ROBLOX_OPEN_CLOUD_API_KEY
An Open Cloud API key used by tools that call the Roblox Open Cloud REST API. Required for the following tools:
| Tool | Required scope |
|---|---|
search_assets | asset:read |
get_asset_details | asset:read (falls back to ROBLOSECURITY for own assets) |
get_asset_thumbnail | asset:read |
upload_asset | asset:write |
manage_instance action="list_place_versions" | asset:read |
ROBLOX_CREATOR_USER_ID
The numeric Roblox user ID that should own uploaded assets. Required for upload_asset when ROBLOX_CREATOR_GROUP_ID is not set.
ROBLOX_CREATOR_GROUP_ID
The numeric Roblox group ID that should own uploaded assets. When provided, it takes precedence over ROBLOX_CREATOR_USER_ID for all upload calls.
MCP_PLUGINS_DIR
Overrides the default Studio Plugins folder path used by --auto-install-plugin and --install-plugin. Useful when Studio is installed to a non-standard location, or when running on WSL with a Windows Studio installation.
MCP_PLUGINS_DIR is not set:
| Platform | Default path |
|---|---|
| Windows | %LOCALAPPDATA%\Roblox\Plugins\ |
| macOS | ~/Documents/Roblox/Plugins/ |
| WSL | /mnt/c/Users/<you>/AppData/Local/Roblox/Plugins/ |
Default port
The MCP server listens onlocalhost:58741 and binds to the loopback interface only. All Studio plugin communication stays on your local machine. The port is not currently configurable; if another process is using it, see Troubleshooting.
MCP client JSON config
Claude Desktop / Cursor / other JSON-config clients
Add the following block to your MCP client’s JSON configuration file.@latest floats the package to the newest npm release on every server start.
Windows cmd wrapper
On some Windows machinesnpx does not resolve correctly inside the MCP client’s process environment. Wrap it with cmd /c to fix this:
CLI clients (Claude Code, Codex, Gemini)
Version pinning
Replace@latest with a specific version tag for reproducible builds. This prevents unintentional plugin/server version mismatches caused by a new npm release.
When you pin to a specific version, the Studio plugin bundled with that exact package is installed. If you later float back to
@latest and a newer plugin is installed, you must fully close and reopen Studio for the new plugin to load.