Skip to main content
Glama
dcc-mcp-roblox-studio
by dcc-mcp
README.md
# dcc-mcp-roblox-studio

Roblox Studio adapter for the DCC-MCP ecosystem.

The adapter connects an MCP client to an open Roblox Studio session through a
local stdio sidecar and a Studio plugin WebSocket. The sidecar uses
`dcc-mcp-core` for bridge lifecycle and multi-instance routing. The plugin owns
typed Studio API operations and groups script edits in one Studio undo record.

## Install

The package will be published as `dcc-mcp-roblox-studio` after the first
release-please release is merged. It requires `dcc-mcp-core>=0.20.53,<0.21.0`.

```powershell
python -m pip install dcc-mcp-roblox-studio
```

For development:

```powershell
python -m pip install -e ".[dev]"
```

## Connect

Build the local plugin model:

```powershell
python plugin/build_plugin.py
```

Copy `plugin/RobloxStudioDccMcpPlugin.rbxmx` into the Roblox Studio local
Plugins folder, restart Studio, and enable HTTP requests in Studio.

Start the adapter:

```powershell
dcc-mcp-roblox-studio --ws-port 9001
```

MCP client configuration:

```json
{
  "mcpServers": {
    "dcc-mcp-roblox-studio": {
      "command": "dcc-mcp-roblox-studio",
      "args": ["--ws-port", "9001"]
    }
  }
}
```

Call `roblox_list_studios` first when several Studio sessions are running.
Pass its `studio_id` to subsequent tools.

## Tools

- `roblox_list_studios`
- `roblox_get_studio_state`
- `roblox_search_game_tree`
- `roblox_inspect_instance`
- `roblox_script_read`
- `roblox_multi_edit`

The initial tool surface keeps host operations typed and bounded. Arbitrary
Luau execution and native UI input are outside this adapter's default scope.

## Official Roblox MCP route

Roblox Studio also provides an official local stdio MCP server. The DCC-MCP
translator can expose it through the gateway:

```powershell
dcc-mcp-server translate `
  --stdio "`$env:LOCALAPPDATA\Roblox\mcp.bat" `
  --app-type roblox-studio `
  --expose-streamable-http true
```

Use the official route when its built-in tools are sufficient. Use this
adapter when DCC-MCP should own plugin lifecycle, typed bridge policy, event
handling, or multi-instance metadata.

## Development

```powershell
python -m ruff check src tests
python -m ruff format --check src tests
python -m pytest
python -m build
```

See [architecture](docs/architecture.md) and the [live smoke test](docs/live-smoke.md).

## License

MIT. Roblox and Roblox Studio are trademarks of Roblox Corporation.

TDQS

B3/5.0

Scored across 6 tools

Disambiguation4/5

Each tool has a fairly clear role: listing sessions, reading state, searching the tree, inspecting one instance, reading scripts, and batch-editing scripts. The closest overlap is roblox_list_studios vs roblox_get_studio_state and roblox_search_game_tree vs roblox_inspect_instance, but the descriptions distinguish discovery from drill-down well enough.

Naming Consistency4/5

All six tools share a consistent roblox_ prefix and snake_case, with a mostly verb_noun structure (list_studios, get_studio_state, search_game_tree, inspect_instance). roblox_script_read and roblox_multi_edit deviate from verb-first ordering, but the pattern remains readable and predictable.

Tool Count5/5

Six tools is a tight, well-scoped set for a Roblox Studio bridge, with each tool covering a distinct inspection or editing need. Nothing feels padded or missing at the count level.

Completeness3/5

The surface is read-heavy: it can inspect the data model and read scripts, but write capability is limited to script edits via roblox_multi_edit. There is no way to create/delete instances, write arbitrary properties, manage session connections, or control playtesting, which are notable gaps for a Studio automation domain.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues