Enables programmatic manipulation of Roblox instances and objects, including bulk property editing, object creation, and management of attributes and tags.
Provides deep integration with Roblox Studio to explore project hierarchies, search for files, and directly edit or refactor script source code.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Roblox Studio MCP ServerList the children of Workspace and find the script named 'GameManager'"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Roblox Studio MCP Server (Enhanced Fork)
Fork of — the original MCP server for Roblox Studio created by @boshyxd.
This fork (
v2.0.0) adds significant improvements: long polling instead of 500ms interval polling, 16 new tools, Vector3 property fix, enhanced activity logger with copy/export, and a battle-tested plugin for complex Roblox projects.
MCP server for AI-powered Roblox Studio integration. 37+ specialized tools for exploring projects, editing scripts, manipulating attributes/tags, and performing bulk operations.
What's new in this fork
Feature | Original | This Fork |
Polling | 500ms interval polling | Long polling (instant response) |
Tools | 37 tools | 37+ tools + 16 new ones |
Vector3 properties | Broken on mass operations | Fixed ( |
Activity logger | None | Full UI logger with copy/export |
Plugin UI | Basic status | Enhanced status + activity panel |
Quick Start
For Claude Code users:
For other MCP clients (Claude Desktop, etc.):
Install NPM Package
Studio Plugin Setup (Required)
The MCP server requires a companion Roblox Studio plugin:
Download MCPPlugin.rbxmx
Save to your
%LOCALAPPDATA%/Roblox/Pluginsfolder
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 37+ tools via stdio and HTTP
HTTP Bridge - Request/response queue on localhost:3002
Studio Plugin (Luau) - Polls server and executes API calls
Full HTTP API - All tools available via both stdio MCP and HTTP endpoints
37+ 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 propertiesget_selection- Get currently selected objects in Studio
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 instancesset_calculated_property- Set properties using mathematical formulasset_relative_property- Modify properties relative to current values
Object Creation & Manipulation 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 instancesmart_duplicate- Duplicate with naming patterns, position offsets, property variationsmass_duplicate- Perform multiple smart duplications at once
Script Editing Tools (v1.9.0)
get_script_source- Read script source code with line numbersset_script_source- Replace entire script sourceedit_script_lines- Replace specific lines without rewriting entire scriptinsert_script_lines- Insert new lines at specific positionsdelete_script_lines- Delete specific lines from scripts
Attribute Tools (v1.9.0)
get_attribute- Get a single attribute valueset_attribute- Set an attribute (supports Vector3, Color3, etc.)get_attributes- Get all attributes on an instancedelete_attribute- Remove an attribute
Tag Tools (CollectionService) (v1.9.0)
get_tags- Get all tags on an instanceadd_tag- Add a tag to an instanceremove_tag- Remove a tag from an instanceget_tagged- Find all instances with a specific tag
Project Analysis Tools
get_project_structure- Smart hierarchy with depth control (recommended: 5-10)
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
Testing
Jest Unit Tests - 32 tests covering bridge service, HTTP server, and integration
Lune E2E Tests - 30 tests verifying all HTTP endpoints work correctly
Tests ensure full feature parity between stdio MCP and HTTP modes
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!