@chrrxs/robloxstudio-mcp 3.0.0 → 3.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +9401 -9047
- package/package.json +2 -2
- package/studio-plugin/MCPPlugin.rbxmx +400 -97
- package/studio-plugin/.Carbon.rbxm.lock +0 -0
- package/studio-plugin/Carbon.rbxm +0 -0
- package/studio-plugin/INSTALLATION.md +0 -170
- package/studio-plugin/MCPInspectorPlugin.rbxmx +0 -169759
- package/studio-plugin/default.project.json +0 -19
- package/studio-plugin/dev.project.json +0 -23
- package/studio-plugin/include/LibMP.lua +0 -156378
- package/studio-plugin/inspector-icon.png +0 -0
- package/studio-plugin/package-lock.json +0 -706
- package/studio-plugin/package.json +0 -19
- package/studio-plugin/plugin.json +0 -10
- package/studio-plugin/src/modules/AssetSanitizationPolicy.ts +0 -127
- package/studio-plugin/src/modules/ClientBroker.ts +0 -450
- package/studio-plugin/src/modules/Communication.ts +0 -601
- package/studio-plugin/src/modules/EvalBridges.ts +0 -255
- package/studio-plugin/src/modules/HttpDiagnostics.ts +0 -50
- package/studio-plugin/src/modules/LuauExec.ts +0 -403
- package/studio-plugin/src/modules/Recording.ts +0 -28
- package/studio-plugin/src/modules/RenderMonitor.ts +0 -60
- package/studio-plugin/src/modules/RuntimeLogBuffer.ts +0 -210
- package/studio-plugin/src/modules/ServerUrlSettings.ts +0 -117
- package/studio-plugin/src/modules/State.ts +0 -39
- package/studio-plugin/src/modules/StopPlayMonitor.ts +0 -267
- package/studio-plugin/src/modules/UI.ts +0 -597
- package/studio-plugin/src/modules/Utils.ts +0 -527
- package/studio-plugin/src/modules/handlers/AssetHandlers.ts +0 -391
- package/studio-plugin/src/modules/handlers/BreakpointHandlers.ts +0 -460
- package/studio-plugin/src/modules/handlers/CaptureHandlers.ts +0 -170
- package/studio-plugin/src/modules/handlers/EvalRuntimeHandlers.ts +0 -149
- package/studio-plugin/src/modules/handlers/GenerateModelHandlers.ts +0 -168
- package/studio-plugin/src/modules/handlers/InputHandlers.ts +0 -163
- package/studio-plugin/src/modules/handlers/LogHandlers.ts +0 -14
- package/studio-plugin/src/modules/handlers/MemoryHandlers.ts +0 -44
- package/studio-plugin/src/modules/handlers/MetadataHandlers.ts +0 -96
- package/studio-plugin/src/modules/handlers/MicroProfilerHandlers.ts +0 -1263
- package/studio-plugin/src/modules/handlers/PropertyHandlers.ts +0 -62
- package/studio-plugin/src/modules/handlers/QueryHandlers.ts +0 -716
- package/studio-plugin/src/modules/handlers/SceneAnalysisHandlers.ts +0 -216
- package/studio-plugin/src/modules/handlers/ScriptHandlers.ts +0 -531
- package/studio-plugin/src/modules/handlers/ScriptProfilerHandlers.ts +0 -386
- package/studio-plugin/src/modules/handlers/SerializationHandlers.ts +0 -172
- package/studio-plugin/src/modules/handlers/TestHandlers.ts +0 -350
- package/studio-plugin/src/server/index.server.ts +0 -135
- package/studio-plugin/src/types/index.d.ts +0 -57
- package/studio-plugin/tsconfig.json +0 -20
|
File without changes
|
|
Binary file
|
|
@@ -1,170 +0,0 @@
|
|
|
1
|
-
# Roblox Studio MCP Plugin Installation Guide
|
|
2
|
-
|
|
3
|
-
Complete your AI assistant integration with this easy-to-install Studio plugin. Works with Claude Code, Claude Desktop, and any MCP-compatible AI.
|
|
4
|
-
|
|
5
|
-
## Quick Installation
|
|
6
|
-
|
|
7
|
-
### Method 1: Roblox Creator Store (Easiest)
|
|
8
|
-
1. **Install from Creator Store:**
|
|
9
|
-
- Visit: https://create.roblox.com/store/asset/132985143757536
|
|
10
|
-
- Click **"Install"** button
|
|
11
|
-
- Plugin automatically opens in Studio
|
|
12
|
-
|
|
13
|
-
2. **No restart needed** - Plugin appears immediately in toolbar!
|
|
14
|
-
|
|
15
|
-
### Method 2: Direct Download
|
|
16
|
-
1. **Download the plugin:**
|
|
17
|
-
- **GitHub Release**: [Download MCPPlugin.rbxmx](https://github.com/chrrxs/robloxstudio-mcp/releases/latest/download/MCPPlugin.rbxmx)
|
|
18
|
-
- **CLI installer**: `npx -y @chrrxs/robloxstudio-mcp@latest --install-plugin`
|
|
19
|
-
- This is the official Roblox plugin format
|
|
20
|
-
|
|
21
|
-
2. **Install to plugins folder:**
|
|
22
|
-
- **Windows**: Save to `%LOCALAPPDATA%/Roblox/Plugins/`
|
|
23
|
-
- **macOS**: Save to `~/Documents/Roblox/Plugins/`
|
|
24
|
-
- **Or use Studio**: Plugins tab > Plugins Folder > drop the file
|
|
25
|
-
- Keep only one MCP variant in this folder. Remove `MCPInspectorPlugin.rbxmx` if installing `MCPPlugin.rbxmx`, and remove `MCPPlugin.rbxmx` if installing the inspector variant.
|
|
26
|
-
|
|
27
|
-
3. **Restart Roblox Studio** - Plugin appears automatically!
|
|
28
|
-
|
|
29
|
-
### Method 3: Save as Local Plugin
|
|
30
|
-
1. **Copy the plugin code:**
|
|
31
|
-
- Open [studio-plugin/src/server/index.server.ts](https://github.com/chrrxs/robloxstudio-mcp/blob/main/studio-plugin/src/server/index.server.ts) on GitHub (or build locally - see project README)
|
|
32
|
-
- Copy all the code (Ctrl+A, Ctrl+C)
|
|
33
|
-
|
|
34
|
-
2. **Create in Studio:**
|
|
35
|
-
- Open Roblox Studio with any place
|
|
36
|
-
- Create a new Script in ServerScriptService
|
|
37
|
-
- Paste the plugin code
|
|
38
|
-
- **Right-click script** > **"Save as Local Plugin..."**
|
|
39
|
-
- Name it "Roblox Studio MCP"
|
|
40
|
-
|
|
41
|
-
3. **Plugin appears immediately** in your toolbar!
|
|
42
|
-
|
|
43
|
-
## Setup & Configuration
|
|
44
|
-
|
|
45
|
-
### Optional: Allow third-party Creator Store assets
|
|
46
|
-
|
|
47
|
-
To preview or insert public Creator Store assets that you do not own, enable
|
|
48
|
-
**"Allow Loading Third Party Assets"** under
|
|
49
|
-
**Game Settings** > **Security**.
|
|
50
|
-
Roblox disables this setting by default.
|
|
51
|
-
|
|
52
|
-
### 1. Activate the Plugin
|
|
53
|
-
**Plugins toolbar** > Click **"MCP Server"** button
|
|
54
|
-
- **Green status** = Connected and ready
|
|
55
|
-
- **Red status** = Disconnected (normal until MCP server runs)
|
|
56
|
-
|
|
57
|
-
### 2. Install MCP Server
|
|
58
|
-
Choose your AI assistant:
|
|
59
|
-
|
|
60
|
-
**For Claude Code:**
|
|
61
|
-
```bash
|
|
62
|
-
claude mcp add robloxstudio -- npx -y @chrrxs/robloxstudio-mcp@latest --auto-install-plugin
|
|
63
|
-
```
|
|
64
|
-
|
|
65
|
-
**For Codex CLI:**
|
|
66
|
-
```bash
|
|
67
|
-
codex mcp add robloxstudio -- npx -y @chrrxs/robloxstudio-mcp@latest --auto-install-plugin
|
|
68
|
-
```
|
|
69
|
-
|
|
70
|
-
**For Claude Desktop/Others:**
|
|
71
|
-
```json
|
|
72
|
-
{
|
|
73
|
-
"mcpServers": {
|
|
74
|
-
"robloxstudio-mcp": {
|
|
75
|
-
"command": "npx",
|
|
76
|
-
"args": ["-y", "@chrrxs/robloxstudio-mcp@latest", "--auto-install-plugin"]
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
```
|
|
81
|
-
|
|
82
|
-
`@latest` floats the server package to the newest npm release. `--auto-install-plugin` copies the matching `.rbxmx` bundled with that package into Studio's Plugins folder when the server starts.
|
|
83
|
-
|
|
84
|
-
If Studio shows a yellow plugin/server version mismatch banner, the connection remains usable. Restart the MCP server with `--auto-install-plugin`, then fully close and reopen Studio so it loads the matching plugin file.
|
|
85
|
-
|
|
86
|
-
<details>
|
|
87
|
-
<summary>Note for native Windows users</summary>
|
|
88
|
-
If you encounter issues, you may need to run it through `cmd`. Update your configuration like this:
|
|
89
|
-
|
|
90
|
-
```json
|
|
91
|
-
{
|
|
92
|
-
"mcpServers": {
|
|
93
|
-
"robloxstudio-mcp": {
|
|
94
|
-
"command": "cmd",
|
|
95
|
-
"args": ["/c", "npx", "-y", "@chrrxs/robloxstudio-mcp@latest", "--auto-install-plugin"]
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
```
|
|
100
|
-
</details>
|
|
101
|
-
|
|
102
|
-
## How It Works
|
|
103
|
-
|
|
104
|
-
1. **AI calls tool** > MCP server queues request
|
|
105
|
-
2. **Plugin polls** every 500ms for work
|
|
106
|
-
3. **Plugin executes** Studio API calls
|
|
107
|
-
4. **Plugin responds** with extracted data
|
|
108
|
-
5. **AI receives** comprehensive Studio information
|
|
109
|
-
|
|
110
|
-
**Available Tools:** 37+ specialized tools for file trees, scripts, properties, attributes, tags, and more!
|
|
111
|
-
|
|
112
|
-
## Troubleshooting
|
|
113
|
-
|
|
114
|
-
### Plugin Missing from Toolbar
|
|
115
|
-
- Verify file saved to correct plugins folder
|
|
116
|
-
- Restart Roblox Studio completely
|
|
117
|
-
- Check Output window for error messages
|
|
118
|
-
|
|
119
|
-
### Plugin Shows "Disconnected"
|
|
120
|
-
- **Normal behavior** when MCP server isn't running
|
|
121
|
-
- Click "MCP Server" button to activate
|
|
122
|
-
- Install MCP server using commands above
|
|
123
|
-
|
|
124
|
-
### Connection Issues
|
|
125
|
-
- Check Windows Firewall isn't blocking localhost:58741
|
|
126
|
-
- Restart both Studio and your AI assistant
|
|
127
|
-
- Check Studio Output window for detailed error messages
|
|
128
|
-
|
|
129
|
-
## Security & Privacy
|
|
130
|
-
|
|
131
|
-
- **Local bridge by default**: The plugin connects to `http://localhost:58741`
|
|
132
|
-
unless you explicitly configure another server URL.
|
|
133
|
-
- **Explicit tool access**: The full plugin can modify a place when a write tool
|
|
134
|
-
is called. Install the Inspector edition when you need read-only access.
|
|
135
|
-
- **Provider boundary**: Tool results pass through your configured MCP client.
|
|
136
|
-
Your AI provider's data-handling policy applies to content sent by that
|
|
137
|
-
client.
|
|
138
|
-
|
|
139
|
-
See the repository's
|
|
140
|
-
[configuration guide](../docs/configuration.md) for HTTP bridge authentication
|
|
141
|
-
and network settings. Report suspected vulnerabilities through the
|
|
142
|
-
[security policy](../SECURITY.md), not a public issue.
|
|
143
|
-
|
|
144
|
-
## Advanced Usage
|
|
145
|
-
|
|
146
|
-
### Plugin Features
|
|
147
|
-
- **Real-time status**: Visual connection indicators
|
|
148
|
-
- **Smart polling**: Exponential backoff for failed connections
|
|
149
|
-
- **Error recovery**: Automatic retry with timeout handling
|
|
150
|
-
- **Debug friendly**: Comprehensive logging in Output window
|
|
151
|
-
|
|
152
|
-
### Customization
|
|
153
|
-
- **Server URL**: Modify the single plugin URL field (default: http://localhost:58741)
|
|
154
|
-
- **Multiple Studio places**: Connect every place to the same MCP server, then use `get_connected_instances` and `instance_id` to choose the target game
|
|
155
|
-
- **Poll interval**: 500ms default (editable in code)
|
|
156
|
-
- **Timeout settings**: 30-second request timeouts
|
|
157
|
-
|
|
158
|
-
### Development Mode
|
|
159
|
-
```lua
|
|
160
|
-
-- Enable debug logging in plugin code:
|
|
161
|
-
local DEBUG_MODE = true
|
|
162
|
-
```
|
|
163
|
-
|
|
164
|
-
## Pro Tips
|
|
165
|
-
|
|
166
|
-
- **Keep Studio open** while using AI assistants
|
|
167
|
-
- **Plugin auto-connects** when MCP server starts
|
|
168
|
-
- **Monitor status** via the dock widget
|
|
169
|
-
- **Use AI tools** to explore game architecture, find bugs, analyze dependencies
|
|
170
|
-
- **Perfect for** code reviews, debugging, and understanding complex projects!
|