Installation Guide
Complete installation guide for both the MCP server and Roblox Studio plugin.System Requirements
- Node.js 16.x or higher (for MCP server)
- Roblox Studio (latest version recommended)
- MCP-compatible AI client (Claude Code, Claude Desktop, or any MCP client)
- Operating System: Windows, macOS, or Linux
Part 1: MCP Server Installation
The MCP server runs on your machine and exposes tools to AI assistants.Option A: Install via NPM (Recommended)
Install the package globally or in your project:Option B: Run with npx (No Installation)
Thenpx method downloads and runs the latest version automatically:
Part 2: MCP Client Configuration
Configure your AI client to use the Roblox Studio MCP server.- Claude Code
- Claude Desktop
- Other MCP Clients
Claude Code Setup
Claude Code has built-in MCP support. Add the server with:- Adds “robloxstudio” to your MCP configuration
- Configures it to run via
npx -y robloxstudio-mcp - Makes tools available immediately
Windows-Specific Configuration
If you’re on native Windows (not WSL) and encounter issues, use this configuration:cmd.exe which can resolve path and environment issues.
Part 3: Studio Plugin Installation
The plugin runs inside Roblox Studio and executes API calls for the MCP server.Choose Installation Method
Select the method that works best for you:
Method 1: Roblox Creator Store (Easiest)
- Visit: https://create.roblox.com/store/asset/132985143757536
- Click the “Install” button
- Plugin opens automatically in Studio
- No restart needed — ready to use immediately!
Method 2: Direct Download
- Download the plugin file:
-
Save to plugins folder:
- Windows:
%LOCALAPPDATA%/Roblox/Plugins/- Full path:
C:\Users\YourName\AppData\Local\Roblox\Plugins\
- Full path:
- macOS:
~/Documents/Roblox/Plugins/- Full path:
/Users/YourName/Documents/Roblox/Plugins/
- Full path:
- Or use Studio: Plugins tab → Plugins Folder button
- Windows:
- Restart Roblox Studio completely
- Plugin appears in toolbar with “MCP Server” button
Method 3: Save as Local Plugin
-
Copy the plugin source code:
- Open plugin.luau on GitHub
- Select all code (Ctrl+A / Cmd+A) and copy (Ctrl+C / Cmd+C)
-
Create in Studio:
- Open any Roblox Studio place
- In Explorer, right-click ServerScriptService
- Click “Insert Object” → “Script”
- Paste the plugin code into the script
-
Save as plugin:
- Right-click the script
- Select “Save as Local Plugin…”
- Name it “Roblox Studio MCP”
- Click Save
- Plugin appears immediately in your toolbar — no restart needed!
Enable HTTP Requests
The plugin requires HTTP access to communicate with the MCP server on Then delete the script.
localhost:3002.- In Roblox Studio, click Home tab
- Click Game Settings button
- Navigate to Security section
- Find “Allow HTTP Requests” and check the box
- Click OK to save
Activate the Plugin
- Look for the “MCP Server” button in the Plugins toolbar
- Click the button to activate
- A dock widget appears with:
- Connection status indicator
- Activity log panel
- Server URL configuration (default:
http://localhost:3002)
Verify Installation
Test that everything works:
-
Check plugin status:
- Plugin button should be in toolbar
- Dock widget should be visible
- No errors in Output window
-
Test with AI:
- Open your AI assistant (Claude Code/Desktop)
- Ask: “Show me the services in my Roblox game”
- AI should call
get_servicestool - Plugin status changes to 🟢 “Connected”
- AI returns formatted list of services
-
Check activity log:
- Plugin’s activity panel shows the request
- You can copy/export the log
Configuration
Environment Variables
The MCP server supports these environment variables:Plugin Configuration
The plugin uses these defaults:- Server URL:
http://localhost:3002 - Poll Interval: 500ms (with long polling)
- Timeout: 30 seconds per request
Troubleshooting
MCP Server Issues
'npx: command not found'
'npx: command not found'
Node.js isn’t installed or not in your PATH.Solution:
- Install Node.js from nodejs.org
- Verify:
node --versionandnpm --version - Restart your terminal
- Try the MCP installation again
'Permission denied' errors
'Permission denied' errors
NPM packages can’t install globally without permissions.Solution (macOS/Linux):Solution (Windows):
- Run terminal as Administrator
- Or use
npxmethod instead (no installation needed)
AI can't find the tools
AI can't find the tools
MCP server isn’t running or misconfigured.Checklist:
- Configuration file has correct JSON syntax
- You restarted your AI client after editing config
- For Claude Code:
claude mcp listshows the server - No firewall blocking localhost:3002
Server crashes or times out
Server crashes or times out
Network or port conflicts.Solution:
- Check if port 3002 is in use:
netstat -an | grep 3002(Unix) ornetstat -an | findstr 3002(Windows) - Change port via environment variable:
- Update plugin URL to match new port
Studio Plugin Issues
Plugin missing from toolbar
Plugin missing from toolbar
Plugin file isn’t in the correct location or Studio needs restart.Solution:
- Verify plugin file location:
- Windows:
%LOCALAPPDATA%/Roblox/Plugins/MCPPlugin.rbxmx - macOS:
~/Documents/Roblox/Plugins/MCPPlugin.rbxmx
- Windows:
- Restart Roblox Studio completely (close all windows)
- Check Output window for plugin load errors
- Try Method 3 (Save as Local Plugin) as alternative
'HTTP 403 Forbidden' errors
'HTTP 403 Forbidden' errors
HTTP requests are disabled in game settings.Solution:
- Game Settings → Security → Enable “Allow HTTP Requests”
- Click OK and close settings
- If error persists, restart Studio
- Run this script once:
game:GetService("HttpService").HttpEnabled = true
Plugin shows 'Disconnected' always
Plugin shows 'Disconnected' always
This is normal behavior when idle. The plugin only connects when handling requests.To test:
- Ask your AI: “Get game.Workspace structure”
- Watch plugin status change to 🟢 “Connected”
- After request completes, returns to “Disconnected”
- MCP server isn’t running (check AI client)
- Firewall blocking localhost:3002
- Wrong server URL in plugin settings
'Connection refused' or timeout errors
'Connection refused' or timeout errors
Plugin can’t reach MCP server.Solution:
- Verify MCP server is running (ask AI a question)
- Check plugin server URL matches MCP server port (default:
http://localhost:3002) - Windows Firewall: Allow localhost connections
- Antivirus: Whitelist Node.js and Roblox Studio
Plugin works but requests are slow
Plugin works but requests are slow
Network latency or polling issues.Solution:
- Check Output window for retry/timeout messages
- Long polling should respond instantly; 500ms+ delay suggests issues
- Verify no VPN or proxy intercepting localhost traffic
- Try restarting both Studio and MCP server
General Issues
Results are incomplete or truncated
Results are incomplete or truncated
Large responses may need pagination or depth limits.Solution:
- Use
maxDepthparameter onget_project_structure(try 5-10) - For large scripts, use
startLine/endLineparameters - Check Output window for memory/size warnings
AI hallucinating tool parameters
AI hallucinating tool parameters
AI isn’t using the correct tool schema.Solution:
- Be specific: “Use maxDepth=5” instead of “show me everything”
- For paths: Always use dot notation like
game.Workspace.Part - For Vector3: Use
{X: 0, Y: 5, Z: 0}format, not strings - Check AI client has latest MCP server version
Updating
Update MCP Server
For npx method:Update Studio Plugin
- Download latest MCPPlugin.rbxmx
- Replace existing file in plugins folder
- Restart Studio
Next Steps
Quick Start
Try your first AI commands
Tool Reference
Explore all 53+ tools
Getting Help
If you’re still stuck:- GitHub Issues: Report bugs
- Discussions: Ask questions
- Check Output Window: Studio’s Output tab shows detailed error messages
- Activity Log: Plugin’s activity panel tracks all requests