Skip to main content
Glama

Roblox Studio MCP Server

INSTALLATION.md•4.94 kB
# Roblox Studio MCP Plugin Installation Guide Complete your AI assistant integration with this easy-to-install Studio plugin. Works with Claude Code, Claude Desktop, and any MCP-compatible AI. ## šŸš€ Quick Installation ### **Method 1: Roblox Creator Store** ⭐ (Easiest) 1. **Install from Creator Store:** - Visit: https://create.roblox.com/store/asset/132985143757536 - Click **"Install"** button - Plugin automatically opens in Studio 2. **No restart needed** - Plugin appears immediately in toolbar! ### **Method 2: Direct Download** 1. **Download the plugin:** - **GitHub Release**: [Download MCPPlugin.rbxmx](https://github.com/boshyxd/robloxstudio-mcp/releases/latest/download/MCPPlugin.rbxmx) - This is the official Roblox plugin format 2. **Install to plugins folder:** - **Windows**: Save to `%LOCALAPPDATA%/Roblox/Plugins/` - **macOS**: Save to `~/Documents/Roblox/Plugins/` - **Or use Studio**: Plugins tab → Plugins Folder → drop the file 3. **Restart Roblox Studio** - Plugin appears automatically! ### **Method 3: Save as Local Plugin** 1. **Copy the plugin code:** - Open [plugin.luau](https://github.com/boshyxd/robloxstudio-mcp/blob/main/studio-plugin/plugin.luau) on GitHub - Copy all the code (Ctrl+A, Ctrl+C) 2. **Create in Studio:** - Open Roblox Studio with any place - Create a new Script in ServerScriptService - Paste the plugin code - **Right-click script** → **"Save as Local Plugin..."** - Name it "Roblox Studio MCP" 3. **Plugin appears immediately** in your toolbar! ## āš™ļø Setup & Configuration ### **1. Enable HTTP Requests (Required)** šŸ” **Game Settings** → **Security** → āœ… **"Allow HTTP Requests"** ### **2. Activate the Plugin** šŸ”˜ **Plugins toolbar** → Click **"MCP Server"** button - 🟢 **Green status** = Connected and ready - šŸ”“ **Red status** = Disconnected (normal until MCP server runs) ### **3. Install MCP Server** Choose your AI assistant: **For Claude Code:** ```bash claude mcp add robloxstudio-mcp ``` **For Claude Desktop/Others:** ```json { "mcpServers": { "robloxstudio-mcp": { "command": "npx", "args": ["-y", "robloxstudio-mcp"] } } } ``` <details> <summary>Note for native Windows users</summary> If you encounter issues, you may need to run it through `cmd`. Update your configuration like this: ```json { "mcpServers": { "robloxstudio-mcp": { "command": "cmd", "args": ["/c", "npx", "-y", "robloxstudio-mcp@latest"] } } } ``` </details> ## šŸŽÆ How It Works 1. **šŸ¤– AI calls tool** → MCP server queues request 2. **šŸ”„ Plugin polls** every 500ms for work 3. **āš™ļø Plugin executes** Studio API calls 4. **šŸ“¤ Plugin responds** with extracted data 5. **āœ… AI receives** comprehensive Studio information **Available Tools:** 15 specialized tools for file trees, dependencies, properties, project structure, and more! ## šŸ”§ Troubleshooting ### **Plugin Missing from Toolbar** - āœ… Verify file saved to correct plugins folder - šŸ”„ Restart Roblox Studio completely - šŸ“ Check Output window for error messages ### **"HTTP 403 Forbidden" Errors** - āœ… Enable "Allow HTTP Requests" in Game Settings → Security - šŸ” Verify MCP server is running (status should show connected) ### **Plugin Shows "Disconnected"** - āœ… **Normal behavior** when MCP server isn't running - šŸ”˜ Click "MCP Server" button to activate - šŸ“” Install MCP server using commands above ### **Connection Issues** - šŸ”„ Check Windows Firewall isn't blocking localhost:3002 - šŸ–„ļø Restart both Studio and your AI assistant - šŸ“ Check Studio Output window for detailed error messages ## šŸ”’ Security & Privacy - šŸ  **Local-only**: All communication stays on your machine - 🚫 **No external servers**: Plugin only talks to localhost - šŸ‘ļø **Read-only access**: Plugin extracts data but never modifies your place - šŸ” **No data collection**: Your projects remain private ## šŸ› ļø Advanced Usage ### **Plugin Features** - **Real-time status**: Visual connection indicators - **Smart polling**: Exponential backoff for failed connections - **Error recovery**: Automatic retry with timeout handling - **Debug friendly**: Comprehensive logging in Output window ### **Customization** - šŸ“ **Server URL**: Modify in plugin UI (default: http://localhost:3002) - ā±ļø **Poll interval**: 500ms default (editable in code) - šŸ”§ **Timeout settings**: 30-second request timeouts ### **Development Mode** ```lua -- Enable debug logging in plugin code: local DEBUG_MODE = true ``` ## šŸ’” Pro Tips - šŸ–„ļø **Keep Studio open** while using AI assistants - šŸ”„ **Plugin auto-connects** when MCP server starts - šŸ“Š **Monitor status** via the dock widget - šŸŽÆ **Use AI tools** to explore game architecture, find bugs, analyze dependencies - šŸš€ **Perfect for** code reviews, debugging, and understanding complex projects!

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/boshyxd/robloxstudio-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server