Guide to setup Claude/Codex MCP on Roblox Studio (Vinegar/Wine)

You will need to create a wrapper shell script

BE SURE TO CHANGE YOUR VINEGAR PATH AND WINE PATH :warning:

#!/bin/bash

VINEGAR_MCP="<StudioMCP.exe> path in your system"

if [ -f "$VINEGAR_MCP" ]; then
    exec "<Vinegar Wine Path>"  "$VINEGAR_MCP" "$@"
else
    CONTENT_FOLDER=$(wine reg query "HKEY_CURRENT_USER\\Software\\Roblox\\RobloxStudio" /v ContentFolder 2>/dev/null | grep -oP '(?<=ContentFolder\s{4}REG_SZ\s{4}).+' | tr -d '\r')
    if [ -n "$CONTENT_FOLDER" ]; then

        MCP_WIN_PATH="${CONTENT_FOLDER}\\..\\\StudioMCP.exe"
        exec "<Vinegar Wine Path>" "$MCP_WIN_PATH" "$@"
    else
        echo "wtf 67 studiomcp.exe dont exists" >&2
        exit 1
    fi
fi

Than add this mcp to your claude/codex/whatever

Claude:

claude mcp add roblox-studio --transport stdio -- <Your wrapper script path> --stdio

Codex:

codex mcp add roblox-studio -- <Your warpper script path> --stdio

Than you should be able to use roblox studio MCP in linux normally

Thats all! You should be able to create AI slop games or code assist now! :tada:

7 Likes

Wrong section bro, this should be posted instead on guides section

2 Likes

giphy

2 Likes

2 Likes