RGblox

mcp
Security Audit
Fail
Health Warn
  • License — License: MIT
  • Description — Repository has a description
  • Active repo — Last push 0 days ago
  • Low visibility — Only 8 GitHub stars
Code Fail
  • spawnSync — Synchronous process spawning in packages/mcp-server/mock-studio/server.ts
  • process.env — Environment variable access in packages/mcp-server/mock-studio/server.ts
  • process.env — Environment variable access in packages/mcp-server/scripts/dump-tools.mjs
  • spawnSync — Synchronous process spawning in packages/mcp-server/scripts/install-tools.mjs
  • network request — Outbound network request in packages/mcp-server/scripts/install-tools.mjs
Permissions Pass
  • Permissions — No dangerous permissions requested

No AI report is available for this listing yet.

SUMMARY

AI-powered Roblox development toolkit for Claude Code & Google Antigravity. Build, sync, verify, and playtest Roblox games directly through Roblox Studio MCP.

README.md

RGblox

Build, design, and verify Roblox games directly from Git using Claude Code or Google Antigravity.

v0.1.0-alpha · MIT · Claude Code & Google Antigravity · Rojo Optional · 20 MCP Tools · 22 Skills · 5 Agents

Bahasa Indonesia (README.id.md) · Plugin README · Capabilities Matrix · Desktop Verification · Threat Model

Your project folder (in Git) is the single source of truth; Roblox Studio acts as the live runtime target synced over Studio's built-in MCP server. Rojo is completely optional—native/Script-Sync projects get first-class --!strict Luau builders automatically (format: "auto"), while existing Rojo projects seamlessly keep .model.json and rojo_build workflows.

[!NOTE]
Status (0.1.0-alpha): Everything testable without a GUI client (diff/push plans, MockStudio/Lune payloads, Luau verification ladder, 3D/UI/World/animation/VFX compilers, Luau runtimes, and plugin contracts) is verified headless in CI (115 automated tests, 222 trigger + 22 outcome evals). Live Roblox Studio integration stays unverified until docs/VERIFY-ON-DESKTOP.md is completed on a desktop Studio session. See docs/CAPABILITIES.md.

Field report R1 (2026-12-03): the owner used gui_build and model_build from Google Antigravity (Gemini 4 Neon, effort Xhigh) on a live game, and the generated HUD and voxel models rendered in Roblox (screenshots). This proves the rendering it shows, not the rest of the checklist.


Architecture

+-----------------------------------+       +----------------------------------------+       +---------------------+
|   Claude Code / Antigravity       | <---> |  RGblox Plugin + Bundled MCP (20 tools)| <---> | Roblox Studio MCP   |
|   22 Skills · 5 Agents · Guards   |       |  Diff/Push · Verify · 3D · World · GUI |       | Live Place Target   |
|                                   |       |  Animation · VFX · Luau runtimes       |       |                     |
+-----------------------------------+       +----------------------------------------+       +---------------------+
                 ^                                              ^
                 |                                              |
                 +------- Git Project Folder (Source of Truth) -+   (Rojo adapter optional: active only in Rojo projects)

Core Capabilities

1. Deterministic Studio Sync & Undo

  • Dry-run by default: studio_diff and studio_push compute deterministic plan_hash approvals before modifying anything in Studio.
  • Safe round-trips: managed markers (RGbloxManaged), automatic pre-push snapshots (snapshot_create / snapshot_restore), conflict detection on Studio-side edits, and safe pull (studio_pull).

2. Headless Verification & Playtesting

  • verify_static ladder: Schema validation, StyLua, selene, luau-lsp (with pinned Roblox globalTypes.d.luau and Rojo-free sourcemap_generate), and Lune unit tests.
  • verify_playtest: Executes JSON playtest scenarios against live/mock Studio instances.

3. Micro-Detailed 3D Modeling Engine (model_build)

  • 19 parametric primitives: part, group, room (with detailPass interior pilasters & cornices), stairs, arch, stack, wheel, tube, wedge, pillar, tree, fence, light_fixture (volumetric beams), catenary, boulder, dome, frame_trim, prop_cluster (CanCollide=false, CanQuery=false), and hinge_door (HingeConstraint Servo + ProximityPrompt).
  • 8 trending genre kits & 8 style palettes: horror-corridor, anime-shrine, fps-cover-kit, cozy-island-cabin, runway-stage, obby-stage, stylized-weapon, vehicle-chassis.
  • Rich surface/VFX & streaming metadata: SurfaceAppearance PBR, Decal, Texture, ParticleEmitter, Fire, SpawnLocation, and auto ModelStreamingMode: "Atomic" (12–120 part Models).
  • 12-Rule Spatial QA: catches z-fighting, floating parts, R15 scale errors, shadow light overload (> 6), Neon over-bloom (> 20), decorative collision waste, and missing Atomic streaming.

4. AAA World Building, Terrain & Future Lighting (world_build)

  • 6 Grade-A biomes: tropical-island, cyber-city-hub, japanese-sanctuary, haunted-manor-grounds, tactical-arena, fashion-plaza.
  • 8 Future lighting & Clouds moods: golden-hour, cyberpunk-night, stylized-day, horror-fog, cozy-dusk, arctic-crisp, volcanic-ember, glam-pastel — emitting both Rojo LightingRig trees and --!strict luauApplier scripts.
  • Procedural Workspace.Terrain generator: --!strict Luau using math.noise, spawn-flattening, shoreline water tuning, and chunked task.wait() yields (160 columns per yield).
  • 8-Rule World QA (0–100, Grade A–F): enforces 10–30s sightlines to a tall hero landmark, spawn clearance (spawn-clutter), non-overlapping zones, atmosphere presence, shadow-light budget, and streaming modes.

5. ForgeGUI-Inspired Native UI Engine (gui_build)

  • 10 Base-Frame themes: glam, cozy, simulator, scifi, fantasy, cyberpunk, minimal-dark, minimal-light, military, cartoon (supports custom { base, tokens } inheritance).
  • 12 viral screen kits & 18 components: hud, shop, inventory, settings, dialog, quest-log, leaderboard, daily-reward, gacha-summon, battle-pass, combat-hud, character-loadout.
  • Production polish: specular gloss highlights, 9-slice SliceCenter/SliceScale, responsive UIScale / UIAspectRatioConstraint / UITextSizeConstraint, --!strict TweenService + Esc/gamepad controller, and 12-rule WCAG & multi-viewport UX QA (A–F).

6. Character Animation Engine (anim_build)

  • 22 procedural R15/R6 clips in smooth, snappy or weighty timing: locomotion (idle, walk, run, jump, fall, land, climb), combat (punch, combo-3, sword-slash, slap, throw, grab, carry, block, hit-react, knockdown), emotes (wave, cheer, dance) and creatures (pet-hop, pet-float); 6 packs (locomotion, brawler, sword-fighter, steal-and-slap, emotes, pet).
  • Custom keyframe clips and custom rigs with gameplay markers (Hit, TrailOn, Release...), upper-body layering, mirroring and intensity.
  • AnimGraph (Anim Blueprint-style state machine with a speed blend space, action slots and marker-driven VFX) and IKRig (foot planting, head look-at, hand reach on IKControl), both static --!strict runtimes.
  • 13-rule Anim QA (A–F): loop pops, root drift, joint limits, pose snaps, missing anticipation or hit markers, priorities. Publishing clips stays a manual Studio step.

7. Niagara-Style VFX Engine (vfx_build)

  • Systems, not single emitters: particles, beams, trails and shells with spawn/shape/init/update/render settings, lights, a 10-event timeline (burst, tween, flash, shake, highlight, jitter...) and low/medium/high scalability.
  • 28 presets across combat, magic, sci-fi, environment, rewards and movement, plus 14 mutation-aura variants (common…mythic, gold, diamond, rainbow, glitch, galaxy...). Re-theme any preset with palette, scale and intensity; bundle several into one folder.
  • VfxPlayer runtime: play at a part, attachment, model or position, follow targets, beams to moving targets, quality tiers, distance culling, an active budget, accessible camera shake and automatic cleanup.
  • 13-rule VFX QA (A–F): particle budget, overdraw, missing attachments, light overload, dead emitters, one-shots that never end, placeholder textures.

8. Token-Saver Mode (compact_prompt & skill_load)

  • Minimal 1-line MCP tool schemas + concise <rgblox_rules> + on-demand skill_load (loads skill/reference docs without frontmatter overhead).
  • 12 shorthand compilers (c:, 3d:, ui:, w:, a:, fx:, etc.) and automatic prose stripping around code fences — while keeping all dry-run and confirmation safety gates strictly enforced.

Quickstart (5 Minutes)

Prerequisites: Node.js 22+, Roblox Studio signed in, and either Claude Code (>= 2.1.281) or Google Antigravity (App, CLI, or IDE).

  1. Enable Studio MCP: Open a place in Roblox Studio -> Assistant > ... > Manage MCP Servers > Enable Studio as MCP server.
  2. Install the RGblox plugin:
    • Claude Code:
      /plugin marketplace add RidTheWann/RGblox
      /plugin install rgblox@rgblox
      
    • Google Antigravity (or copy plugins/rgblox to .agents/plugins/rgblox):
      agy plugin install https://github.com/RidTheWann/RGblox
      

    Recommended alongside: Roblox's official Roblox Studio plugin/MCP server for interactive playtest & inspection tools.

  3. Initialize your game folder: Run /rgblox:init new MyGame (Claude Code) or /init new MyGame (Antigravity); use adopt for an existing project. (Optional toolchain: install Rokit, then rokit install.)
  4. Verify your setup: Ask "check my RGblox setup" (doctor).
  5. Build & push safely: Generate scripts, 3D models, GUIs, worlds, animations or VFX -> run /rgblox:push (or /push) -> inspect dry-run plan_hash -> confirm changes.

Plugin Surface Reference

MCP Tools (20)

Category Tools
Project & Status project_inspect, project_validate, sourcemap_generate, rgblox_status, rojo_build (Rojo projects only)
Studio Sync & Recovery studio_diff, studio_push, studio_pull, snapshot_create, snapshot_restore, studio_selftest
Verification verify_static, verify_playtest
Builders (.model.json / --!strict Luau) model_build, gui_build, world_build, anim_build, vfx_build
Token Optimization skill_load, compact_prompt

Skills (22) & Agents (5)

  • P0 Core: init, doctor, push, verify, luau-core, studio-safety
  • P1 Workflows: pull, architecture, playtest-qa, open-cloud, rojo-adapter (optional), modeling-3d, world-lighting
  • P2 Polish & Growth: ui, animation, vfx, assets, perf, monetization, release, selftest, token-saver
  • Specialized Subagents: rgblox:reviewer (read-only Luau & security review), rgblox:playtester, rgblox:builder-3d (model_build + world_build artist), rgblox:ui-designer (gui_build UX architect), rgblox:animator (anim_build + vfx_build animator and VFX artist)

Token-Saver Shorthands

Prefix / Command Target Contract
c: / /code Code generation Single complete fenced block (--!strict Luau by default)
e: / /explain Quick explanation Answer first, <= 3 lines
f: / /fix Bug fix Minimal diff or fenced fix only
r: / /review Code review Bullets only: file:line severity - issue -> fix
v: / /verify Static checks Runs verify_static, 1 line per step
p: / /push Studio sync Dry-run studio_push, prints plan_hash & deletes, waits for approval
d: / /doctor Diagnostics Compact table via rgblox_status
3d: / /model 3D asset R15 silhouette -> model_build (19 kinds) -> fix 12-rule QA -> output
ui: / /ui Game GUI Base-Frame theme -> gui_build -> QA grade A -> output + controller
w: / /world World & Lighting Biome + 10–30s sightlines + Future lighting + Terrain -> world_build -> QA grade A
a: / /anim Character animation Generator/pack + style -> anim_build -> Anim QA grade A -> clips + AnimGraph
fx: / /vfx VFX Preset/variant + palette -> vfx_build -> VFX QA grade A -> template + VfxPlayer

Safety Guarantees

  • Dry-run & approval token: studio_push, studio_pull, snapshot_restore, and studio_selftest preview changes first and require the exact recomputed plan_hash. Builder tools (model_build, gui_build, world_build, anim_build, vfx_build) default to write: false, strictly contain written paths inside the project root, and never overwrite scripts or runtimes they did not write.
  • No accidental publish or save: RGblox never calls save_place or publish endpoints and never uploads animations or assets; the PreToolUse guard denies Open Cloud publish/version POSTs and asks before destructive execute_luau, permanent uploads, or Studio writes (onFailure: "block").
  • Zero unmanaged deletes & zero telemetry: Managed deletes only target RGbloxManaged instances; Studio content and tool outputs are treated as untrusted data; only opt-in checksummed download is globalTypes.d.luau. See docs/threat-model.md.

Repository Layout & Documentation Index

Path Purpose
.claude-plugin/marketplace.json Claude Code marketplace manifest (rgblox)
plugins/rgblox/ Dual-provider plugin (Claude Code & Antigravity): skills, agents, rules, hooks, configs, bundled dist/, evals
packages/mcp-server/ TypeScript MCP server source, hooks, MockStudio, tests
docs/CAPABILITIES.md Evidence-backed status table (verified-headless vs unverified)
docs/PROGRESS.md Phase checklist (Phases 0–12) & readiness gate
docs/VERIFY-ON-DESKTOP.md Step-by-step live Studio verification runbook & owner reports
docs/evidence/ Screenshots behind owner reports (R1: GUI and 3D builders in Antigravity)
docs/threat-model.md STRIDE threat model & security controls (T1–T21)
docs/adr/ Architecture Decision Records (ADR-001 through ADR-011)
evals/README.md Eval harness & 244-case corpus documentation
THIRD_PARTY_NOTICES.md Permissive-only bundled dependency inventory & prior-art attributions
Architecture Decision Records (ADR-001 to ADR-011)
  1. ADR-001: Language and Packaging
  2. ADR-002: MCP Tools and Transport
  3. ADR-003: Project Folder Layout
  4. ADR-004: Plugin Surface and Safety
  5. ADR-005: Antigravity Support
  6. ADR-006: Token-Saver Mode
  7. ADR-007: 3D Modeling Engine
  8. ADR-008: ForgeGUI-Inspired GUI Engine
  9. ADR-009: Rojo Optional and Trending 3D/GUI Kits
  10. ADR-010: World Building and Micro-Detail 3D
  11. ADR-011: Character Animation and Niagara-Style VFX

Development & Verification

cd packages/mcp-server
npm ci --ignore-scripts
npm run typecheck
npm run build                      # Regenerate plugins/rgblox/dist (CI checks drift & permissive licenses)
npm run check-bundle
node scripts/gen-runtime.mjs --check  # Embedded Luau runtimes match src/luau/runtime/*.luau
npm test                           # Install Lune/StyLua/selene/luau-lsp/Rojo on PATH for all 115 tests

cd ../..
node packages/mcp-server/scripts/dump-tools.mjs
node scripts/gen-evals.mjs --check
node scripts/check-plugin.mjs
agy plugin validate --json plugins/rgblox

License: MIT (THIRD_PARTY_NOTICES.md).

Reviews (0)

No results found