The Roblox Studio MCP Server enables AI assistants to deeply interact with Roblox Studio projects through 22 specialized tools for analysis, manipulation, and bulk operations:
Project Navigation: Explore hierarchies (
get_file_tree
), analyze game architecture (get_project_structure
), and get place information (get_place_info
)Search Capabilities: Find files (
search_files
), objects (search_objects
), or instances with specific property values (search_by_property
)Instance Management: Create (
create_object
), delete (delete_object
), and get children (get_instance_children
) of objectsProperty Handling: View (
get_instance_properties
), set (set_property
), and manipulate properties with formulas (set_calculated_property
,set_relative_property
)Bulk Operations: Perform mass creation (
mass_create_objects
), duplication (mass_duplicate
), and property setting (mass_set_property
) with atomic undo/redo supportAdvanced Features: Access class information (
get_class_info
), services (get_services
), and smart duplication with automatic naming and positioning (smart_duplicate
)
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
MCP server for AI-powered Roblox Studio integration. 18 specialized tools for exploring projects, analyzing scripts, and performing bulk operations.
Quick Start
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:
- Install from: https://create.roblox.com/store/asset/75577477776988
- 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
Dual-component system bridging Roblox Studio with AI assistants:
Key Components:
- MCP Server (Node.js/TypeScript) - Exposes 18 tools via stdio
- HTTP Bridge - Request/response queue on localhost:3002
- Studio Plugin (Luau) - Polls server and executes API calls
- Smart Caching - Efficient data transfer
18 AI Tools
File System Tools
get_file_tree
- Complete project hierarchy with scripts, models, folderssearch_files
- Find files by name, type, or content patterns
Studio Context Tools
get_place_info
- Place ID, name, game settings, workspace infoget_services
- All Roblox services and their child countssearch_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 metadatasearch_by_property
- Find objects with specific property valuesget_class_info
- Available properties/methods for Roblox classes
Property Modification Tools
set_property
- Set a property on any Roblox instancemass_set_property
- Set the same property on multiple instancesmass_get_property
- Get the same property from multiple instances
Object Creation Tools
create_object
- Create a new Roblox object instancecreate_object_with_properties
- Create objects with initial propertiesmass_create_objects
- Create multiple objects at oncemass_create_objects_with_properties
- Create multiple objects with propertiesdelete_object
- Delete a Roblox object instance
Project Analysis Tools
get_project_structure
- Smart hierarchy with depth control (recommended: 5-10)
Note: Previous tools removed:
get_file_content
,get_file_properties
,get_selection
,get_dependencies
,validate_references
. Use Rojo/Argon workflows instead.
AI-Optimized Features
Mass Operations (v1.3.0)
- Bulk property editing
- Mass object creation
- Batch property reading
- Atomic undo/redo operations
Smart Project Structure
- Service overview with child counts
- Path-based exploration:
get_project_structure("game.ServerStorage", maxDepth=5)
- Script-only filtering for code analysis
- Intelligent grouping for large folders
- Recommended maxDepth=5-10
Rich Metadata
- Script status tracking
- GUI intelligence
- Performance optimized
Development & Testing
Commands
Plugin Development
- Live reload
- Robust error handling
- Debug logging
- Visual status indicators
Communication Protocol
Features:
- 30-second timeouts with exponential backoff
- Automatic retries
- Response limiting
- Request deduplication
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!
local-only server
The server can only run on the client's local machine because it depends on local resources.
Tools
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 -2762MIT License
- -securityAlicense-qualityA server that allows AI assistants to access, view, run, and manage Hex projects through a standardized interface.Last updated -72AGPL 3.0
- -securityAlicense-qualityA server that enables AI assistants to understand and interact with Unity projects in real-time, providing access to scene hierarchy, project settings, and the ability to execute code directly in the Unity Editor.Last updated -88MIT License
- -securityAlicense-qualityConnects Roblox Studio to AI coding editors via the Model Context Protocol, allowing AI agents to understand and interact with live Roblox Studio sessions through scene manipulation, scripting, and optional Roblox Open Cloud API integration.Last updated -50MIT License