Studio MCP: Studio always gets 401 Unauthorized from StudioMCP (token enforcement on, Studio never passes)

So as of today, Studio just stopped connecting to the MCP. It was working fine yesterday and I didn’t update anything. The Studio and StudioMCP files are still from Oct 22, so I’m pretty sure it’s a flag change on Roblox’s end.

Claude Code and Codex both just get {“studios”:}, and Studio keeps popping up “Studio couldn’t authenticate with the MCP server. Restart your AI clients, then try again.” Restarting does nothing, lol.

The Studio log spams this every 3 seconds or so:
[DFLog::WebSocketTraceError] ws: N url: http://localhost:13469/studio error: 401 Unauthorized

Stuff I tried that didn’t work:

  • Restarting Studio, Claude, and my whole PC
  • Signing out and back in
  • Updating Studio
  • Deleting auth.token so it makes a new one
  • Turning the MCP toggle off and on in Assistant settings
  • Making sure only one StudioMCP was on port 13469

I ended up having Claude dig through the logs. It ran StudioMCP with --verbose and found the helper is on WS authentication mode: Enforce, because FFlagStudioMCPProxyTokenEnforce is True in StudioAppSettings.json. Studio just never passes the check. We also tried forcing FFlagAssistantMCPProxyTokenEnabled on in Studio, and it still got 401.

The fix that worked: Claude figured out the helper reads ClientAppSettings.json as an override, so I made %LOCALAPPDATA%\Roblox\ClientSettings\ClientAppSettings.json with:
{ “FFlagStudioMCPProxyTokenEnforce”: false }`

Then I killed all the StudioMCP.exe processes, restarted Claude, and it connected instantly.

Heads up: this turns off the helper’s token check, so it’s just a temporary fix until Roblox sorts it out. Delete the file once it’s fixed.

Versions, if it helps:

Studio 0.744.0.7441077 (Windows 11)
StudioMCP v1.0.0 (f500a21)
Claude Code 2.1.311, Codex 0.158.0

PS: while that file exists, the helper’s token check is off, so any program on your PC can connect to the Studio MCP without the key. Only use it if you trust what’s running locally, and delete the file (then restart Claude) as soon as Roblox fixes the flag.

Thanks for the detailed report! To help us narrow down the issue, could you

  • share your MCP configs with us
  • send us any [AUTH] logs while StudioMCP is running with --verbose (mainly looking for the “reason” value)
  • check if the auth.token file still exists, let us know its size and last modified time
  • let us know if Studio & Claude Code & Codex all run as the same user
  • other than FFlagStudioMCPProxyTokenEnforce, does your ClientAppSettings.json/StudioAppSettings.json set FFlagStudioMCPProxyToken? Also, does it contain any other entries with MCP or Assistant in the name?

feel free to private message for any part if preferred, thanks again!

here are some additional suggestions from our team:

First, make sure to delete all the previous versions of Roblox Studio from %localappdata%\roblox\versions. (don’t delete latest one where main shortcut is leading to)
Also, some diagnostic commands, this is all powershell

Health check of StudioMCP, it embeds the token, should just return some string.
Invoke-RestMethod -Uri "http://127.0.0.1:13469/health" -Headers @{ Authorization = "Bearer $(Get-Content -Raw "$env:LOCALAPPDATA\Roblox\StudioMCP\auth.token")" }

List all running paths to StudioMCP:
Get-Process -Name StudioMCP | Select-Object Path

This will help to find some old copies of StudioMCP running, which may not support token auth yet.

Stop all running StudioMCP instances, in case some old version is still somewhere
Stop-Process -Name "StudioMCP" -Force -Verbose

Double check if you have a copy of Studio MCP

Hey, thanks for getting back to me! Here’s everything you asked for.

Studio stopped connecting to the MCP on Oct 27. It worked fine the day before, and I didn’t change anything on my end. list_roblox_studios came back empty and Studio said it couldn’t authenticate with the MCP server. Restarting Studio, restarting my PC, signing out and back in, and making a new auth.token didn’t fix it. It’s still happening after Studio auto-updated to 0.745.0.7451137 (version-7062aec9dbe74b14), and that’s the only version folder I have.

MCP config (Claude Code / Claude Desktop):

  "type": "stdio",
  "command": "cmd.exe",
  "args": ["/c", "cd /d %LOCALAPPDATA%\\Roblox && .\\mcp.bat --verbose"],
  "env": { "RUST_LOG": "debug" }
}

Helper is StudioMCP.exe v1.0.0 (f500a21), listening on ws://localhost:13469.

[AUTH] logs

[AUTH] request: method=GET, path=/studio, authorization_header=false, token_match=false, mode=Enforce
[AUTH] Rejected WebSocket request: mode=enforce action=reject status=401 reason=no_auth_header

So it’s not a wrong token. Studio just isn’t sending an Authorization header at all.

auth.token
64 bytes, last modified Oct 27, 23:19 (that’s the one I regenerated). The old one is backed up. Studio and the helper both run under the same Windows user.

Flags
The only flag override I have is the workaround below. I briefly tried FFlagAssistantMCPProxyTokenEnabled=true in Studio’s own ClientSettings; it didn’t help, so I removed it.

Workaround (found with Claude’s help)
Setting FFlagStudioMCPProxyTokenEnforce to false puts the helper into Observe mode, and everything connects again. I put this in %LOCALAPPDATA%\Roblox\ClientSettings\ClientAppSettings.json:
{ "FFlagStudioMCPProxyTokenEnforce": false }

One heads up for anyone else using Claude Desktop: it’s a Store (MSIX) app, so the helper it starts reads a virtualized copy of AppData. The file also has to be at %LOCALAPPDATA%\Packages\Claude_\LocalCache\Local\Roblox\ClientSettings\ClientAppSettings.json, otherwise the workaround seems to do nothing.

It seems like the helper is enforcing the token check before Studio actually sends the token. Let me know if you need anything else:)

Thanks for the additional details! Could you run this in PowerShell and share the output? It lists all the auth.token files in localappadata

Get-ChildItem -Path $env:LOCALAPPDATA -Filter "auth.token" -Recurse -File -Force -ErrorAction SilentlyContinue

We suspect Claude Desktop’s StudioMCP helper wrote its token into Claude’s private copy of AppData, so Studio can’t see it. As a temporary fix that keeps the token check on:

  1. Quit Claude Desktop, Claude Code and Codex, and kill all StudioMCP.exe processes
  2. Copy the same auth.token to every location the command found, plus %LOCALAPPDATA%\Roblox\StudioMCP\auth.token if it’s missing there
  3. Remove FFlagStudioMCPProxyTokenEnforce: false from both ClientAppSettings.json copies
  4. Start your AI client again, then Studio

Let us know if this works for you!

Hi, thanks for the help. Your suggestion to look for every copy of auth.token found the problem, and it’s fixed now.

What was going on: I run the MCP through the Claude desktop app (installed from claude.ai), which installs as a packaged MSIX app on Windows. Claude launches mcp.bat, so StudioMCP.exe runs inside Claude’s package sandbox. Windows redirects its AppData reads and writes to Claude’s private folder. The helper wrote its token to:

%LOCALAPPDATA%\Packages\Claude_pzs8sxrjxfjjc\LocalCache\Local\Roblox\StudioMCP\auth.token

Studio runs outside the sandbox and looks in the real %LOCALAPPDATA%\Roblox\StudioMCP, which didn’t exist. Studio never found the token, and every connection got a 401.

What fixed it: I copied auth.token from Claude’s private folder into the real %LOCALAPPDATA%\Roblox\StudioMCP and restarted. It now connects with the token check on.

I confirmed it by retesting:

  1. With the real token hidden, the 401 came back.
  2. Putting FFlagStudioMCPProxyTokenEnforce: false in Claude’s private copy of ClientSettings\ClientAppSettings.json made it connect again without the token. That’s why my earlier workaround worked: the helper reads its flags from the sandboxed folder too.
  3. With the token restored and the override removed, it connects with the check on.

One question: the helper has been in Claude’s sandbox since I set it up in September and connected fine until about Oct 27. Was token enforcement turned on around then? That would explain why it suddenly broke.

Suggestion: anyone who runs the MCP from a packaged app like Claude Desktop will probably hit this. It might be worth having the helper write the token somewhere both it and Studio can always reach, or at least adding this case to the troubleshooting docs.

Versions: Studio 0.745.0.7451137, StudioMCP v1.0.0, Windows 11.

Thanks again!

glad to hear it’s working now, yes enforcement was turned on around 10/27 — we will work on making a fix for this! Thanks for reporting!