In short
Install the ChatGPT desktop app and sign in. In Roblox Studio, open Assistant, click … > Manage MCP Servers and turn on Enable Studio as MCP server. In the ChatGPT app, open Settings > MCP servers > Add server, choose STDIO, enter Roblox's command for your system, save and select Restart. Type /mcp in the composer to check the server is listed, then start with a request that only reads.
- ChatGPT on the web cannot do this. OpenAI says ChatGPT web does not read local configuration files, and Studio's server only runs as a local process.
- Roblox's quick connect list has no ChatGPT entry. Its OpenAI client is Codex CLI. OpenAI says the desktop app, Codex CLI and the Codex IDE extension share one MCP configuration, but we have not run the desktop app with Studio.
- A connected client can edit scripts, run Luau, start playtests and save the place. Set the Studio server to ask before each tool call, and save a version first.
On this page
Can ChatGPT connect to Roblox Studio?
It depends on which ChatGPT you mean. Studio's MCP server is a program on your computer that talks to a client over stdio (standard input and output), so the client has to run on the same computer and be able to start a local command. This is what each OpenAI product can do, according to OpenAI's and Roblox's documentation on 13 November 2026.
| Client | Reaches Studio? | What the documentation says |
|---|---|---|
| ChatGPT in a web browser | No | OpenAI: ChatGPT web does not read local Codex configuration files. It uses remote MCP tools through plugins, and Studio's server is not remote. |
| ChatGPT mobile app | Not documented | Neither Roblox nor OpenAI describes it. A phone is not the computer where Studio runs. |
| ChatGPT desktop app | According to OpenAI | OpenAI documents adding a local STDIO server under Settings > MCP servers. Roblox does not list the app, and we have not tested it with Studio. |
| Codex CLI | Yes | On Roblox's quick connect list. You can sign in to it with a ChatGPT account. See the Codex guide. |
| Codex IDE extension | According to OpenAI | OpenAI says it shares MCP configuration with the desktop app and Codex CLI. Roblox does not list it. |
| An OpenAI API key in Studio Assistant | Yes, a different route | No MCP involved. Roblox's Assistant accepts an OpenAI API key and then runs an OpenAI model inside Studio. See below. |
What you need before you start
| You need | Details |
|---|---|
| Roblox Studio | The latest version. The MCP server is built into Studio, so there is nothing else to install on the Roblox side. |
| The ChatGPT desktop app | OpenAI's quickstart offers downloads for macOS, Windows and Linux. On Windows the app comes from the Microsoft Store. Roblox's MCP commands exist for Windows and macOS only. |
| A ChatGPT account | OpenAI's pricing page says ChatGPT Work and Codex are included in the Free, Go, Plus, Pro, Business, Edu and Enterprise plans. For Free and Go it describes access in the desktop app as "subject to rollout", so a Free account may or may not have it yet. |
| Both on the same computer | The app starts the Studio server as a local process. It cannot reach a Studio that runs on another machine. |
OpenAI's MCP page mentions no plan requirement for adding MCP servers. On Business and Enterprise workspaces, administrators control which tools are available, so the setting may be managed for you.
Step 1: Turn on the MCP server in Studio
- Open Roblox Studio and open the place you want to work on. Install any Studio update first.
- Click Assistant to open the Assistant window.
- Click … and choose Manage MCP Servers.
- Turn on Enable Studio as MCP server.
The panel then shows a Quick connect drop-down. Roblox lists seven clients for it: Antigravity, Codex CLI, Claude Code, Claude Desktop, Cursor, Gemini CLI and Visual Studio Code. ChatGPT is not among them, so you add the server in the ChatGPT app yourself in the next step. If the Assistant button is missing, see how to open the Assistant panel.
Step 2: Add Studio as a local server in the ChatGPT app
These are the steps on OpenAI's MCP page. The command is the one Roblox documents for clients without quick connect.
- In the ChatGPT desktop app, open Settings, then select MCP servers.
- Select Add server.
- Enter a name, for example
Roblox_Studio, choose STDIO, and provide the server's command (below). - Save the server, then select Restart.
/Applications/RobloxStudio.app/Contents/MacOS/StudioMCP
cmd.exe /c %LOCALAPPDATA%\Roblox\mcp.bat
OpenAI's page does not show how the form splits a command from its arguments. If the Windows form has separate fields, the command is cmd.exe and the two arguments are /c and %LOCALAPPDATA%\Roblox\mcp.bat, which is how Roblox's JSON configuration writes them.
Or edit the shared config file
OpenAI says the desktop app, Codex CLI and the IDE extension share one configuration, kept in ~/.codex/config.toml by default. Each server is a [mcp_servers.<name>] table with a required command and optional args. If you prefer a file to a form, these entries put Roblox's commands into that format. Use the form or the file, not both: two tables with the same name are a TOML error, and two names give you two Studio servers.
[mcp_servers.Roblox_Studio]
command = "/Applications/RobloxStudio.app/Contents/MacOS/StudioMCP"
default_tools_approval_mode = "prompt"
[mcp_servers.Roblox_Studio]
command = "cmd.exe"
args = ["/c", "%LOCALAPPDATA%\\Roblox\\mcp.bat"]
default_tools_approval_mode = "prompt"
The last line is explained in Step 4. In the Windows entry, keep the double backslashes: TOML reads a single backslash as the start of an escape.
Already use Codex CLI?
Because the configuration is shared, a Studio server you added for Codex CLI, by hand or with Roblox's quick connect switch for Codex CLI, should already be in the app's server list according to OpenAI's description. Roblox does not say which file its quick connect writes, and we have not checked this, so look in Settings > MCP servers before you add a second entry.
Step 3: Check the connection
- In the ChatGPT app, type
/mcpin the composer. OpenAI says this shows the connected servers. - In Studio, open Assistant > … > Manage MCP Servers. A green indicator under Enable Studio as MCP server shows the number of connected clients.
- Send a first request that cannot change anything.
Use the Roblox Studio MCP tools. Call list_roblox_studios and tell me which place you are connected to, then list what is in Workspace. Do not change anything.
On a fresh Baseplate, Roblox's coding harness guide expects the answer to describe the default Camera, Terrain, Baseplate and SpawnLocation. An answer that sounds right but shows no tool call does not prove the connection, so check that the reply names your place.
The app has a toggle above the composer for Chat or Work. OpenAI's MCP page does not say which of the two can call a local STDIO server. If /mcp lists the Studio server but ChatGPT answers without using it, try the same request in the other mode. We have not tested either.
Step 4: Keep ChatGPT asking before it changes your place
Roblox's warning is short: MCP clients can read and modify content in your open places, so connect only clients you trust. The server's tools include multi_edit (edits and creates scripts), execute_luau (runs code in Studio), start_stop_play (starts a playtest), insert_asset (brings an asset in by ID), upload_image (sends images to Roblox) and save_place (saves the open place without a dialog).
OpenAI's MCP page describes approval as a setting on the server in config.toml. default_tools_approval_mode accepts auto, prompt, writes or approve, and a single tool can override it with tools.<tool>.approval_mode. The page explains only writes, which prompts for tools that are not marked read-only. The entries in Step 2 use prompt so that requests to use Studio's tools come to you.
- If you added the server through the app's form, open
~/.codex/config.toml, find the[mcp_servers.…]header with the name you gave it, and add the linedefault_tools_approval_mode = "prompt"under it. Then restart the app. - OpenAI's page does not describe what the approval prompt looks like in the desktop app. On your first request, check that ChatGPT stops and asks before a Studio tool runs. If it does not, stop and re-check the file.
- Roblox does not say which of its tools are marked read-only, so do not rely on
writesto catch every change. - To switch tools off entirely, the same table accepts
disabled_tools, for exampledisabled_tools = ["insert_asset", "upload_image", "save_place"].
Save a version before each session
Roblox's MCP page does not say whether a client's edits land in Studio's undo history. Before you let ChatGPT change anything, use File > Save to Roblox with Notes so there is a named version to go back to, and work in a test copy rather than your live game. The Studio MCP guide shows how to restore a version and why a playtest in the live game can touch real player data.
One client can reach every Studio window you have open, and each tool call names its target with a studio_id. Close the places you do not want touched, and name the place in your prompt.
Other ways to use OpenAI models with Studio
- Codex CLI. The OpenAI client on Roblox's quick connect list, and the only OpenAI route Roblox's MCP page names. It runs in a terminal and offers sign-in with a ChatGPT account. Setup, approvals and an AGENTS.md for Roblox are in how to use OpenAI Codex with Roblox Studio.
- An OpenAI API key in Assistant. Roblox's announcement says Assistant accepts API keys from Anthropic, OpenAI and Google Gemini. Open Assistant, click … > Manage API Keys, choose the provider, paste the key and pick the model in the Model drop-down. You type in Studio, not in ChatGPT, and API use is billed by OpenAI separately from a ChatGPT plan.
- Pasting code from ChatGPT on the web. It still works for a single script, but nothing on that route reads your place or checks the result in Studio. The guide to using AI in Roblox Studio compares the options.
OpenAI's pricing page notes that every MCP server adds context to your messages and uses more of your limit, and advises disabling servers you do not need. Remove or disable the Studio server when you are not working on your game.
Troubleshooting ChatGPT and Studio
Roblox's own checklist has three items: restart both Studio and the client, check that the command or binary path exists, and check the configuration syntax. These are the cases specific to ChatGPT.
ChatGPT in my browser says it cannot see Roblox Studio
That is expected. OpenAI says ChatGPT web does not read local configuration files, and Studio's server runs only as a local process. Use the ChatGPT desktop app or Codex CLI on the computer where Studio runs.
There is no MCP servers entry in Settings
OpenAI documents it under Settings > MCP servers in the desktop app. Update the app first. On Free and Go, OpenAI describes desktop access as subject to rollout, and on Business or Enterprise an administrator controls which tools are available. If the entry is still missing, Codex CLI is the documented alternative.
/mcp shows the Studio server but no tools, or the server fails to start
Check that the file exists: /Applications/RobloxStudio.app/Contents/MacOS/StudioMCP on macOS, %LOCALAPPDATA%\Roblox\mcp.bat on Windows. Open your place in Studio, make sure Enable Studio as MCP server is on, then select Restart in the app or quit and reopen it. OpenAI's default wait for a server to start is 10 seconds; startup_timeout_sec in the server's table raises it.
There is no green indicator in Studio
The app has not connected. Confirm the server is saved under Settings > MCP servers, restart the app, and restart Studio. Roblox says a client needs a restart to apply configuration changes.
The app shows two Studio servers
One came from the form and one from config.toml, or from an earlier Codex CLI setup. Keep one, make sure it has default_tools_approval_mode = "prompt", delete the other table and restart the app.
ChatGPT answers but never calls a Studio tool
Name the tools in your request, as in the prompt in Step 3, and try the other setting of the Chat or Work toggle. OpenAI does not document which mode can call local servers.
ChatGPT changed the wrong place
With several Studio windows open, every tool call names its target with a studio_id. Ask ChatGPT to call list_roblox_studios and name the place you mean, close the windows you are not using, and restore the changed place from Version History.
Or skip the MCP setup: RoCode
RoCode (RoCode.app) is a different route, and it is not an MCP product. It is an independent AI agent for Roblox Studio: you describe a change in a web chat at rocode.app, and a free RoCode plugin from the Creator Store carries out the steps in the place you have open. There is no config file, command line or MCP server to set up. You allow the plugin's HTTP and Script Injection permissions in Studio. The plugin then connects by itself when Studio is signed in to the same Roblox account you use on RoCode; otherwise you pair the chat and the plugin once with the 8-character code shown in the plugin panel.
The trade-offs, stated plainly. RoCode cannot connect a ChatGPT subscription. It runs third-party models through OpenRouter under their own names: GPT-6 Luna on every plan, GLM 5.3 Flash and Claude Sonnet 5.5 from Pro, Claude Opus 5.5 from Studio and GPT-6 Astra from Ultra. With plugin 3.9 or newer it can run a short playtest and read the errors, and with plugin 3.9.11 or newer control a test character to check the game works. It does not run code directly or generate meshes, both of which the Studio MCP tools can do. The free Starter plan includes 1 credit a day. For how it compares with other tools, see Roblox AI tools compared.
My CoinPickup script gives coins twice when a player touches a coin. Find the cause and fix it.
- Finds the script with Search Scripts and reads it with Read Script
- Fixes the code in place with Edit Script, in the Studio window that is connected
- Compile-checks the script inside Studio with Check Script before it finishes. That is a compile check, not a type check or a playtest
- Sends its changes in batches, and each batch is an undo point in Studio's own history
RoCode checks only what it chose to test, so press Play yourself and collect a few coins to confirm the fix. The prompt is an example written by us; the steps use the real tool names. How the plugin and pairing work. RoCode is an independent product, not affiliated with, endorsed by or sponsored by Roblox Corporation.
Questions
Can ChatGPT connect to Roblox Studio?
Not ChatGPT in a web browser. OpenAI says ChatGPT web does not read local configuration files, and Studio's MCP server is a local process. The ChatGPT desktop app can add a local STDIO server under Settings > MCP servers, according to OpenAI. Roblox does not list the app, and we have not tested it with Studio (checked 13 November 2026).
Is ChatGPT on the Roblox Studio quick connect list?
No. Roblox's list is Antigravity, Codex CLI, Claude Code, Claude Desktop, Cursor, Gemini CLI and Visual Studio Code. Codex CLI is the OpenAI client on it, and it offers sign-in with a ChatGPT account.
Do I need ChatGPT Plus to connect to Roblox Studio?
OpenAI's MCP page states no plan requirement for adding MCP servers. Its pricing page says Work and Codex are included in every plan from Free up, but describes Free and Go access in the desktop app as subject to rollout. Roblox's MCP page mentions no charge for the Studio server.
Do I need an OpenAI API key?
Not for the desktop app, which uses your ChatGPT sign-in. An API key is for a different route: Assistant in Studio accepts an OpenAI key under … > Manage API Keys and then runs an OpenAI model inside Studio.
Can ChatGPT playtest my Roblox game?
Through the Studio MCP tools, a connected client can. start_stop_play starts and stops a playtest, get_console_output reads the Output, screen_capture captures the viewport, and the input tools move the character and send keys and clicks. It checks only what it chose to check, so play the game yourself too.
Does it work on a Mac?
Both sides document macOS. OpenAI offers a macOS download of the desktop app, and Roblox documents the macOS server path /Applications/RobloxStudio.app/Contents/MacOS/StudioMCP.
Sources and further reading
- Roblox Creator Docs: Connect to the Roblox Studio MCP server. enabling the server, the quick connect list, the Windows and macOS commands, the tools and troubleshooting
- Roblox Creator Docs: Build with a coding harness. the first read-only check in Workspace
- Roblox Developer Forum: Studio MCP Server Updates and External LLM Support for Assistant. an OpenAI API key in Assistant
- OpenAI: Model Context Protocol. adding a STDIO server in the desktop app, the shared configuration, /mcp, approval modes and ChatGPT web
- OpenAI: ChatGPT desktop app. platforms, sign-in and the Chat or Work toggle
- OpenAI: Windows app. Microsoft Store install, PowerShell by default and the WSL2 setting
- OpenAI: Pricing. which plans include Work and Codex, and how MCP servers affect your limit
- Model Context Protocol: Introduction. the open standard the Studio server implements