Overview
Cursor IDE supports the Model Context Protocol (MCP), allowing AI coding assistants to access RbxGenie’s 46 Roblox Studio tools directly within your development environment.The RbxGenie daemon must be running before configuring MCP integration.
Quick Install
Build the MCP server
Compile the TypeScript MCP server to JavaScript:This generates
dist/mcp.js which Cursor will invoke.Run the auto-installer
The installer automatically updates both Claude Desktop and Cursor configurations:Output:
Restart Cursor
Completely quit and restart Cursor IDE. The RbxGenie MCP server will be available automatically.
Manual Configuration
If you prefer manual setup or the auto-installer fails:Locate the config file
Cursor stores its MCP configuration in:Windows:macOS:Linux:If the file doesn’t exist, create it.
How It Works
The architecture is identical to Claude Desktop integration:- Cursor AI invokes an MCP tool via stdio
- mcp.js proxies the request to the daemon at
http://127.0.0.1:7766 - Daemon queues the command and waits for the plugin
- Roblox Studio plugin polls, executes, and returns the result
- Result propagates back through daemon → MCP server → Cursor
Configuration Options
Custom Daemon URL
If your daemon runs on a different port or host, set theDAEMON_URL environment variable:
http://127.0.0.1:7766
Troubleshooting
MCP server not appearing in Cursor
MCP server not appearing in Cursor
- Verify the
mcp.jsonsyntax is valid JSON - Check that the path to
mcp.jsis absolute and correct - Restart Cursor completely (quit, not just close window)
- Check if
~/.cursor/directory exists and is writable
Tools timeout or fail
Tools timeout or fail
- Ensure the daemon is running:
http://127.0.0.1:7766/health - Verify Roblox Studio plugin is installed and enabled
- Check that the plugin shows a green status indicator
- Tool timeout is 120 seconds — complex operations may need optimization
Permission denied on config file
Permission denied on config file
- Check file permissions on
~/.cursor/mcp.json - Ensure Cursor is not running during config modification
- Try creating the directory manually:
mkdir -p ~/.cursor
Node.js not found
Node.js not found
- Ensure Node.js is installed and in your PATH
- Try using full path to node:
"/usr/local/bin/node"(macOS/Linux) or"C:/Program Files/nodejs/node.exe"(Windows) - Check Node.js version:
node --version(requires v16+)
Usage in Cursor
Once configured, you can interact with Roblox Studio directly from Cursor:Workflow Tips
Script Editing
Use Cursor to edit Luau scripts in your IDE, then sync them to Studio with
set_script_sourceBulk Modifications
Cursor excels at batch operations — mass property changes, bulk creation, etc.
Testing & Debugging
Use
execute_luau and run_script_in_play_mode to test code without leaving CursorProject Analysis
Ask Cursor to analyze your game structure with
get_project_structure and summarize_gameAvailable Tools
Cursor has access to all 46 RbxGenie tools. See the Tools Reference for the complete list.Tool Categories
- Info/Read — Get file trees, search objects, inspect properties
- Properties — Set, calculate, and batch-modify properties
- Objects — Create, delete, duplicate instances
- Scripts — Read, write, and edit Luau source code
- Attributes — Manage custom instance attributes
- Tags — CollectionService tag operations
- Selection — Get current Studio selection
- Execute — Run Luau code and capture console output
- Playtest — Control Studio play/server modes
- Marketplace — Insert free models from the catalog
Next Steps
Claude Desktop
Set up RbxGenie in Claude Desktop
HTTP API
Use the HTTP API directly
Custom Agents
Build your own AI agents
Tools Reference
Browse all available tools