What is RbxGenie?
RbxGenie is an AI Vibe Code tool that connects AI agents directly to Roblox Studio. It provides a daemon + plugin architecture with MCP (Model Context Protocol) support, enabling AI assistants like Claude to read, modify, and execute code in your Roblox projects. All operations are undoable via Ctrl+Z thanks to ChangeHistoryService integration.Key Features
46 Powerful Tools
Read and modify instances, properties, scripts, attributes, tags, and more. Execute Luau code and automate playtesting.
MCP Server Support
Native integration with Claude Desktop and Cursor through the Model Context Protocol.
HTTP API
Direct REST API access for custom AI agents, scripts, or any HTTP client.
Event-Driven Bridge
Efficient long-polling architecture between the Node.js daemon and Roblox Studio plugin.
Full Undo Support
All AI changes are tracked via ChangeHistoryService. Undo with Ctrl+Z.
Type-Safe Serialization
Automatic conversion between JSON and Roblox types (Vector3, CFrame, Color3, UDim2, etc.).
How It Works
- AI Agent sends a tool request via MCP or HTTP
- Daemon (Node.js on port 7766) queues the command
- Plugin polls for commands, executes in Roblox Studio
- Results flow back through the daemon to the AI agent
Architecture Overview
RbxGenie consists of three main components:Daemon (Node.js)
Express server running on
http://127.0.0.1:7766 that manages command queuing and provides both HTTP and MCP interfaces.Plugin (Lua)
Roblox Studio plugin that polls the daemon for commands, executes them using 46 specialized tools, and returns results.
All operations are wrapped in
ChangeHistoryService.SetWaypoint for full undo/redo support.Quick Example
Create a part and set its properties:Use Cases
AI-Assisted Game Development
AI-Assisted Game Development
Use Claude or other AI assistants to generate and modify game objects, scripts, and UI elements through natural language.
Automated Testing
Automated Testing
Write scripts that use the playtest tools to automatically test game mechanics and capture results.
Bulk Operations
Bulk Operations
Modify hundreds of instances at once using mass operations (mass_set_property, mass_create_objects, etc.).
Code Generation
Code Generation
Generate scripts with AI and inject them directly into your game using set_script_source.
Custom Tooling
Custom Tooling
Build custom editors, validators, or migration scripts using the HTTP API.
Ready to Get Started?
Quickstart
Get RbxGenie running in under 5 minutes
Installation
Detailed installation guide for all components
Tools Reference
Explore all 46 available tools
Architecture
Deep dive into how RbxGenie works