dcc-mcp-roblox-studio 0.1.1__tar.gz

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.
@@ -0,0 +1,54 @@
1
+ name: CI
2
+
3
+ on:
4
+ pull_request:
5
+ push:
6
+ branches: [main]
7
+
8
+ concurrency:
9
+ group: ${{ github.workflow }}-${{ github.ref }}
10
+ cancel-in-progress: true
11
+
12
+ permissions:
13
+ contents: read
14
+
15
+ jobs:
16
+ lint:
17
+ name: Lint and format
18
+ runs-on: ubuntu-latest
19
+ steps:
20
+ - uses: actions/checkout@v6
21
+ - uses: actions/setup-python@v6
22
+ with:
23
+ python-version: "3.12"
24
+ - run: python -m pip install -e ".[dev]"
25
+ - run: python -m ruff check src tests
26
+ - run: python -m ruff format --check src tests
27
+
28
+ test:
29
+ name: Test Python ${{ matrix.python-version }}
30
+ runs-on: ubuntu-24.04
31
+ strategy:
32
+ fail-fast: false
33
+ matrix:
34
+ python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
35
+ steps:
36
+ - uses: actions/checkout@v6
37
+ - uses: actions/setup-python@v6
38
+ with:
39
+ python-version: ${{ matrix.python-version }}
40
+ - run: python -m pip install -e ".[dev]"
41
+ - run: python -m pytest
42
+
43
+ build:
44
+ name: Build package
45
+ runs-on: ubuntu-latest
46
+ steps:
47
+ - uses: actions/checkout@v6
48
+ - uses: actions/setup-python@v6
49
+ with:
50
+ python-version: "3.12"
51
+ - run: python -m pip install -e ".[dev]"
52
+ - run: python -m build
53
+ - run: python -m pip install --no-deps dist/*.whl
54
+ - run: python -c "import dcc_mcp_roblox_studio; print(dcc_mcp_roblox_studio.__version__)"
@@ -0,0 +1,83 @@
1
+ name: Release
2
+
3
+ on:
4
+ push:
5
+ branches: [main]
6
+ workflow_dispatch:
7
+
8
+ permissions:
9
+ contents: write
10
+ pull-requests: write
11
+ id-token: write
12
+
13
+ jobs:
14
+ release-please:
15
+ name: Release Please
16
+ runs-on: ubuntu-latest
17
+ if: github.ref == 'refs/heads/main'
18
+ outputs:
19
+ release_created: ${{ steps.release.outputs.release_created }}
20
+ tag_name: ${{ steps.release.outputs.tag_name }}
21
+ steps:
22
+ - uses: googleapis/release-please-action@v5
23
+ id: release
24
+ with:
25
+ token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
26
+ config-file: release-please-config.json
27
+ manifest-file: .release-please-manifest.json
28
+
29
+ build:
30
+ name: Build release artifacts
31
+ runs-on: ubuntu-latest
32
+ needs: release-please
33
+ if: needs.release-please.outputs.release_created == 'true'
34
+ steps:
35
+ - uses: actions/checkout@v6
36
+ with:
37
+ ref: ${{ needs.release-please.outputs.tag_name }}
38
+ - uses: actions/setup-python@v6
39
+ with:
40
+ python-version: "3.12"
41
+ - run: python -m pip install build hatchling
42
+ - run: python -m build
43
+ - uses: actions/upload-artifact@v7
44
+ with:
45
+ name: dist
46
+ path: dist/
47
+
48
+ publish:
49
+ name: Publish to PyPI
50
+ runs-on: ubuntu-latest
51
+ needs: [release-please, build]
52
+ if: needs.release-please.outputs.release_created == 'true'
53
+ environment:
54
+ name: pypi
55
+ url: https://pypi.org/p/dcc-mcp-roblox-studio
56
+ permissions:
57
+ id-token: write
58
+ steps:
59
+ - uses: actions/download-artifact@v8
60
+ with:
61
+ name: dist
62
+ path: dist/
63
+ - uses: pypa/gh-action-pypi-publish@release/v1
64
+ with:
65
+ packages-dir: dist/
66
+ print-hash: true
67
+
68
+ attach-release:
69
+ name: Attach release artifacts
70
+ runs-on: ubuntu-latest
71
+ needs: [release-please, build]
72
+ if: needs.release-please.outputs.release_created == 'true'
73
+ permissions:
74
+ contents: write
75
+ steps:
76
+ - uses: actions/download-artifact@v8
77
+ with:
78
+ name: dist
79
+ path: dist/
80
+ - uses: softprops/action-gh-release@v3
81
+ with:
82
+ tag_name: ${{ needs.release-please.outputs.tag_name }}
83
+ files: dist/*
@@ -0,0 +1,13 @@
1
+ __pycache__/
2
+ *.py[cod]
3
+ *.egg-info/
4
+ .coverage
5
+ .pytest_cache/
6
+ .ruff_cache/
7
+ .venv/
8
+ build/
9
+ dist/
10
+ .idea/
11
+ .vscode/
12
+ Thumbs.db
13
+ plugin/build/
@@ -0,0 +1,3 @@
1
+ {
2
+ ".": "0.1.1"
3
+ }
@@ -0,0 +1,21 @@
1
+ # Changelog
2
+
3
+ ## [0.1.1](https://github.com/dcc-mcp/dcc-mcp-roblox-studio/compare/v0.1.0...v0.1.1) (2026-11-24)
4
+
5
+
6
+ ### Features
7
+
8
+ * add Roblox Studio MCP adapter ([4579b97](https://github.com/dcc-mcp/dcc-mcp-roblox-studio/commit/4579b97f860d5b59027d2ebff541079e878831ee))
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * align release metadata and plugin branding ([8845778](https://github.com/dcc-mcp/dcc-mcp-roblox-studio/commit/8845778c20a490259184c8d03d41f25cc152e250))
14
+ * keep version assertion release-safe ([0a4cd78](https://github.com/dcc-mcp/dcc-mcp-roblox-studio/commit/0a4cd78b63f4197293fa9b49be1d44cb7c9be1c2))
15
+ * require dcc-mcp-core 0.20.54 ([#4](https://github.com/dcc-mcp/dcc-mcp-roblox-studio/issues/4)) ([5e2e9cd](https://github.com/dcc-mcp/dcc-mcp-roblox-studio/commit/5e2e9cd5cf7c5a0e8b9276edf3971ab2325771fe))
16
+
17
+ ## Changelog
18
+
19
+ All notable changes to this project are documented here.
20
+
21
+ This file is maintained by release-please from Conventional Commits.
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Long Hao
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,131 @@
1
+ Metadata-Version: 2.5
2
+ Name: dcc-mcp-roblox-studio
3
+ Version: 0.1.1
4
+ Summary: Roblox Studio adapter for the DCC Model Context Protocol ecosystem
5
+ Project-URL: Homepage, https://github.com/dcc-mcp/dcc-mcp-roblox-studio
6
+ Project-URL: Repository, https://github.com/dcc-mcp/dcc-mcp-roblox-studio
7
+ Project-URL: Issues, https://github.com/dcc-mcp/dcc-mcp-roblox-studio/issues
8
+ Project-URL: Changelog, https://github.com/dcc-mcp/dcc-mcp-roblox-studio/releases
9
+ Author-email: Long Hao <hal.long@outlook.com>
10
+ License: MIT
11
+ License-File: LICENSE
12
+ Keywords: ai,dcc,llm,luau,mcp,roblox,roblox-studio
13
+ Classifier: Development Status :: 3 - Alpha
14
+ Classifier: Intended Audience :: Developers
15
+ Classifier: License :: OSI Approved :: MIT License
16
+ Classifier: Programming Language :: Python :: 3
17
+ Classifier: Programming Language :: Python :: 3.9
18
+ Classifier: Programming Language :: Python :: 3.10
19
+ Classifier: Programming Language :: Python :: 3.11
20
+ Classifier: Programming Language :: Python :: 3.12
21
+ Classifier: Programming Language :: Python :: 3.13
22
+ Classifier: Topic :: Games/Entertainment
23
+ Requires-Python: >=3.9
24
+ Requires-Dist: dcc-mcp-core<0.21.0,>=0.20.54
25
+ Requires-Dist: websockets<16,>=12
26
+ Provides-Extra: dev
27
+ Requires-Dist: build>=1.2; extra == 'dev'
28
+ Requires-Dist: hatchling>=1.25; extra == 'dev'
29
+ Requires-Dist: pytest>=8.0; extra == 'dev'
30
+ Requires-Dist: ruff<0.17.0,>=0.8.0; extra == 'dev'
31
+ Description-Content-Type: text/markdown
32
+
33
+ # dcc-mcp-roblox-studio
34
+
35
+ Roblox Studio adapter for the DCC-MCP ecosystem.
36
+
37
+ The adapter connects an MCP client to an open Roblox Studio session through a
38
+ local stdio sidecar and a Studio plugin WebSocket. The sidecar uses
39
+ `dcc-mcp-core` for bridge lifecycle and multi-instance routing. The plugin owns
40
+ typed Studio API operations and groups script edits in one Studio undo record.
41
+
42
+ ## Install
43
+
44
+ The package will be published as `dcc-mcp-roblox-studio` after the first
45
+ release-please release is merged. It requires `dcc-mcp-core>=0.20.54,<0.21.0`.
46
+
47
+ ```powershell
48
+ python -m pip install dcc-mcp-roblox-studio
49
+ ```
50
+
51
+ For development:
52
+
53
+ ```powershell
54
+ python -m pip install -e ".[dev]"
55
+ ```
56
+
57
+ ## Connect
58
+
59
+ Build the local plugin model:
60
+
61
+ ```powershell
62
+ python plugin/build_plugin.py
63
+ ```
64
+
65
+ Copy `plugin/RobloxStudioDccMcpPlugin.rbxmx` into the Roblox Studio local
66
+ Plugins folder, restart Studio, and enable HTTP requests in Studio.
67
+
68
+ Start the adapter:
69
+
70
+ ```powershell
71
+ dcc-mcp-roblox-studio --ws-port 9001
72
+ ```
73
+
74
+ MCP client configuration:
75
+
76
+ ```json
77
+ {
78
+ "mcpServers": {
79
+ "dcc-mcp-roblox-studio": {
80
+ "command": "dcc-mcp-roblox-studio",
81
+ "args": ["--ws-port", "9001"]
82
+ }
83
+ }
84
+ }
85
+ ```
86
+
87
+ Call `roblox_list_studios` first when several Studio sessions are running.
88
+ Pass its `studio_id` to subsequent tools.
89
+
90
+ ## Tools
91
+
92
+ - `roblox_list_studios`
93
+ - `roblox_get_studio_state`
94
+ - `roblox_search_game_tree`
95
+ - `roblox_inspect_instance`
96
+ - `roblox_script_read`
97
+ - `roblox_multi_edit`
98
+
99
+ The initial tool surface keeps host operations typed and bounded. Arbitrary
100
+ Luau execution and native UI input are outside this adapter's default scope.
101
+
102
+ ## Official Roblox MCP route
103
+
104
+ Roblox Studio also provides an official local stdio MCP server. The DCC-MCP
105
+ translator can expose it through the gateway:
106
+
107
+ ```powershell
108
+ dcc-mcp-server translate `
109
+ --stdio "`$env:LOCALAPPDATA\Roblox\mcp.bat" `
110
+ --app-type roblox-studio `
111
+ --expose-streamable-http true
112
+ ```
113
+
114
+ Use the official route when its built-in tools are sufficient. Use this
115
+ adapter when DCC-MCP should own plugin lifecycle, typed bridge policy, event
116
+ handling, or multi-instance metadata.
117
+
118
+ ## Development
119
+
120
+ ```powershell
121
+ python -m ruff check src tests
122
+ python -m ruff format --check src tests
123
+ python -m pytest
124
+ python -m build
125
+ ```
126
+
127
+ See [architecture](docs/architecture.md) and the [live smoke test](docs/live-smoke.md).
128
+
129
+ ## License
130
+
131
+ MIT. Roblox and Roblox Studio are trademarks of Roblox Corporation.
@@ -0,0 +1,99 @@
1
+ # dcc-mcp-roblox-studio
2
+
3
+ Roblox Studio adapter for the DCC-MCP ecosystem.
4
+
5
+ The adapter connects an MCP client to an open Roblox Studio session through a
6
+ local stdio sidecar and a Studio plugin WebSocket. The sidecar uses
7
+ `dcc-mcp-core` for bridge lifecycle and multi-instance routing. The plugin owns
8
+ typed Studio API operations and groups script edits in one Studio undo record.
9
+
10
+ ## Install
11
+
12
+ The package will be published as `dcc-mcp-roblox-studio` after the first
13
+ release-please release is merged. It requires `dcc-mcp-core>=0.20.54,<0.21.0`.
14
+
15
+ ```powershell
16
+ python -m pip install dcc-mcp-roblox-studio
17
+ ```
18
+
19
+ For development:
20
+
21
+ ```powershell
22
+ python -m pip install -e ".[dev]"
23
+ ```
24
+
25
+ ## Connect
26
+
27
+ Build the local plugin model:
28
+
29
+ ```powershell
30
+ python plugin/build_plugin.py
31
+ ```
32
+
33
+ Copy `plugin/RobloxStudioDccMcpPlugin.rbxmx` into the Roblox Studio local
34
+ Plugins folder, restart Studio, and enable HTTP requests in Studio.
35
+
36
+ Start the adapter:
37
+
38
+ ```powershell
39
+ dcc-mcp-roblox-studio --ws-port 9001
40
+ ```
41
+
42
+ MCP client configuration:
43
+
44
+ ```json
45
+ {
46
+ "mcpServers": {
47
+ "dcc-mcp-roblox-studio": {
48
+ "command": "dcc-mcp-roblox-studio",
49
+ "args": ["--ws-port", "9001"]
50
+ }
51
+ }
52
+ }
53
+ ```
54
+
55
+ Call `roblox_list_studios` first when several Studio sessions are running.
56
+ Pass its `studio_id` to subsequent tools.
57
+
58
+ ## Tools
59
+
60
+ - `roblox_list_studios`
61
+ - `roblox_get_studio_state`
62
+ - `roblox_search_game_tree`
63
+ - `roblox_inspect_instance`
64
+ - `roblox_script_read`
65
+ - `roblox_multi_edit`
66
+
67
+ The initial tool surface keeps host operations typed and bounded. Arbitrary
68
+ Luau execution and native UI input are outside this adapter's default scope.
69
+
70
+ ## Official Roblox MCP route
71
+
72
+ Roblox Studio also provides an official local stdio MCP server. The DCC-MCP
73
+ translator can expose it through the gateway:
74
+
75
+ ```powershell
76
+ dcc-mcp-server translate `
77
+ --stdio "`$env:LOCALAPPDATA\Roblox\mcp.bat" `
78
+ --app-type roblox-studio `
79
+ --expose-streamable-http true
80
+ ```
81
+
82
+ Use the official route when its built-in tools are sufficient. Use this
83
+ adapter when DCC-MCP should own plugin lifecycle, typed bridge policy, event
84
+ handling, or multi-instance metadata.
85
+
86
+ ## Development
87
+
88
+ ```powershell
89
+ python -m ruff check src tests
90
+ python -m ruff format --check src tests
91
+ python -m pytest
92
+ python -m build
93
+ ```
94
+
95
+ See [architecture](docs/architecture.md) and the [live smoke test](docs/live-smoke.md).
96
+
97
+ ## License
98
+
99
+ MIT. Roblox and Roblox Studio are trademarks of Roblox Corporation.
@@ -0,0 +1,29 @@
1
+ # Architecture
2
+
3
+ The adapter uses a local stdio MCP sidecar and a Studio plugin WebSocket. The
4
+ published package targets the released `dcc-mcp-core` 0.20.x contract.
5
+
6
+ ```text
7
+ MCP client
8
+ │ stdio
9
+ ▼
10
+ dcc-mcp-roblox-studio
11
+ │ dcc-mcp-core DccBridge
12
+ ▼
13
+ Roblox Studio plugin
14
+ │ typed Luau operations
15
+ ▼
16
+ Roblox DataModel
17
+ ```
18
+
19
+ The sidecar owns MCP transport, request routing, lifecycle snapshots, event
20
+ collection, and instance selection. The Studio plugin owns the typed Roblox
21
+ Studio API calls and ChangeHistoryService transaction.
22
+
23
+ Every Studio session advertises a stable `instance_id`. The MCP-facing
24
+ `studio_id` argument is an adapter alias for that core session identifier.
25
+
26
+ The official Roblox Studio MCP server remains available through
27
+ `dcc-mcp-server translate` when the built-in tool surface is sufficient. This
28
+ adapter is intended for DCC-MCP-owned lifecycle, typed tool policy, and bridge
29
+ metadata.
@@ -0,0 +1,24 @@
1
+ # Live smoke test
2
+
3
+ ## Prerequisites
4
+
5
+ - Roblox Studio is installed and a place is open.
6
+ - HTTP requests are enabled for the local plugin.
7
+ - Python 3.9 or newer is available.
8
+
9
+ ## Steps
10
+
11
+ 1. Install the adapter in a virtual environment with `pip install -e ".[dev]"`.
12
+ 2. Start `dcc-mcp-roblox-studio --ws-port 9001`.
13
+ 3. Copy `plugin/RobloxStudioDccMcpPlugin.rbxmx` into the Roblox Studio local
14
+ Plugins folder and restart Studio.
15
+ 4. Confirm the plugin connects to `ws://127.0.0.1:9001`.
16
+ 5. Call `roblox_list_studios` and select a returned `studio_id`.
17
+ 6. Call `roblox_get_studio_state`, `roblox_search_game_tree`, and
18
+ `roblox_inspect_instance` against that ID.
19
+ 7. Use `roblox_script_read` on a test script.
20
+ 8. Use `roblox_multi_edit` on a disposable place and confirm one undo entry is
21
+ created.
22
+
23
+ The PC8 validation used this flow with Studio PID `64692`, HWND `5183218`, and
24
+ the local bridge on port `9001`.