Provides AI tools access to Roblox Studio data, including file system operations, studio context information, property and instance management, and project structure analysis through a plugin-based architecture.
Roblox Studio MCP Server
A powerful MCP (Model Context Protocol) server that gives AI assistants comprehensive access to Roblox Studio projects. Explore game architecture, analyze scripts, debug issues, and understand complex Roblox projects through 15 specialized AI tools.
⚡ Quick Start (One Command)
For Claude Code users:
For other MCP clients (Claude Desktop, etc.):
🔌 Studio Plugin Setup (Required)
The MCP server requires a companion Roblox Studio plugin:
- Roblox Creator Store (Easiest ⭐):
- Install from: https://create.roblox.com/store/asset/132985143757536
- Click "Install" → Opens in Studio automatically
- Manual download:
- Download MCPPlugin.rbxmx
- Save to your
%LOCALAPPDATA%/Roblox/Plugins
folder
- Advanced setup:
- See studio-plugin/INSTALLATION.md for other methods
After installation:
- ✅ Enable "Allow HTTP Requests" in Game Settings → Security
- 🔘 Click the "MCP Server" button in the Plugins toolbar
- 🟢 Status should show "Connected" when working
🏗️ Architecture Overview
This is a dual-component system bridging Roblox Studio with AI assistants:
Key Components:
- 🧠 MCP Server (Node.js/TypeScript) - Exposes 15 tools via stdio for AI integration
- 🔗 HTTP Bridge - Request/response queue on localhost:3002 with 30s timeouts
- 🎮 Studio Plugin (Luau) - Polls every 500ms, executes Studio API calls, handles errors
- 📊 Smart Caching - Efficient data transfer with intelligent response limiting
🛠️ 15 Powerful AI Tools
📁 File System Tools
get_file_tree
- Complete project hierarchy with scripts, models, foldersget_file_content
- Extract source code from any scriptsearch_files
- Find files by name, type, or content patternsget_file_properties
- Script metadata, parent/child relationships
🎯 Studio Context Tools
get_place_info
- Place ID, name, game settings, workspace infoget_services
- All Roblox services and their child countsget_selection
- Currently selected objects in Studio Explorersearch_objects
- Find instances by name, class, or properties
🔍 Instance & Property Tools
get_instance_properties
- Complete property dump for any objectget_instance_children
- Child objects with metadata (scripts, GUI types, etc.)search_by_property
- Find objects with specific property valuesget_class_info
- Available properties/methods for Roblox classes
🏢 Project Analysis Tools
get_project_structure
- 🆕 AI-Optimized! Smart hierarchy with depth controlget_dependencies
- Module dependency mapping and require() analysisvalidate_references
- Find broken script references and missing modules
🧠 AI-Optimized Features
Smart Project Structure
- Service Overview Mode: Clean service list with child counts
- Path-based Exploration:
get_project_structure("game.ServerStorage", maxDepth=3)
- Script-only Filtering:
scriptsOnly=true
for code analysis - Intelligent Grouping: Large folders auto-group by class type
- Progressive Discovery: Depth limits prevent context bloat
Rich Metadata
- Script Status: Enabled/disabled, source detection, script types
- GUI Intelligence: Text content, visibility, container vs interactive
- Dependency Mapping: Complete require() call analysis
- Reference Validation: 27+ issue types detected automatically
🚀 Development & Testing
Commands
Plugin Development
- Live reload: Plugin updates automatically detect server changes
- Error handling: Robust timeout and retry mechanisms
- Debug mode: Detailed logging in Studio Output window
- Connection status: Visual indicators in plugin UI
📊 Communication Protocol
Features:
- 🕐 30-second timeouts with exponential backoff
- 🔄 Automatic retries for network issues
- 📏 Response limiting prevents context overflow
- 🎯 Request deduplication for efficiency
🎯 Example Usage
🔧 Configuration
Environment Variables:
MCP_SERVER_PORT
- MCP server port (default: stdio)HTTP_SERVER_PORT
- HTTP bridge port (default: 3002)PLUGIN_POLL_INTERVAL
- Plugin poll frequency (default: 500ms)REQUEST_TIMEOUT
- Request timeout (default: 30000ms)
Studio Settings:
- ✅ Allow HTTP Requests (Game Settings → Security)
- 🌐 HttpService.HttpEnabled = true
- 🔌 Plugin activated via toolbar button
📄 License
MIT License - Feel free to use in commercial and personal projects!
This server cannot be installed
local-only server
The server can only run on the client's local machine because it depends on local resources.
An AI-powered server that provides access to Roblox Studio data through a plugin architecture, enabling AI tools to interact with file systems, studio context, properties, and project structure.
Related MCP Servers
- AsecurityAlicenseAqualityProvides comprehensive access to Roam Research's API functionality. This server enables AI assistants like Claude to interact with your Roam Research graph through a standardized interface.Last updated -182538TypeScriptMIT License
- AsecurityFlicenseAqualityEnables interaction with the Loxo recruitment platform API, facilitating tasks such as candidate and job management, activity logging, and call queue management through AI assistants.Last updated -12JavaScript
- -securityFlicense-qualityA server enabling seamless interaction between AI models and WordPress sites with secure, standardized communication using the WordPress REST API for comprehensive site management.Last updated -99TypeScript
- -securityAlicense-qualityA server that allows AI assistants to access, view, run, and manage Hex projects through a standardized interface.Last updated -PythonAGPL 3.0