Overview
What is RoCodex?
RoCodex is an AI-powered development toolkit that connects your coding assistant directly to Roblox Studio. It works as an MCP (Model Context Protocol) server, giving your AI access to 100+ purpose-built tools for Roblox development.
How It Works
RoCodex installs as a lightweight background service on your machine. When you open Roblox Studio, the RoCodex plugin connects to this service and creates a bridge between your AI coding assistant and your game environment.
This means your AI can:
- Search the official Roblox Creator Hub documentation before writing code
- Execute Luau scripts directly inside your running Studio session
- Inspect your game's DataModel, scripts, and instances in real-time
- Debug errors with full Studio context
Architecture
RoCodex has three components that work together:
- The Binary — A compiled executable installed by the PowerShell installer. It runs as a local MCP server and handles all communication.
- The Studio Plugin — Automatically installed into Roblox Studio. It polls the binary for tasks and executes Luau code inside your game.
- The MCP Client Config — The installer auto-configures your selected coding agents (Cursor, Claude, OpenCode, etc.) to connect to the binary.
All communication is local. Your game code, scripts, and Studio data never leave your machine. Everything happens over localhost between your editor, the RoCodex binary, and Roblox Studio.
Supported Clients
RoCodex works with any MCP-compatible coding agent. The installer can auto-configure:
- Cursor
- Claude Desktop
- OpenCode
- Windsurf
- Codex CLI
- Any custom MCP client
