SuperAPI AI Directory

Tufan-Blox-Bridge

Tufan-Blox-Bridge is a free Roblox Studio MCP server and plugin that serves as an add-on to Roblox's built-in Studio MCP, connecting Claude Code, Cursor, Codex, or any MCP client to Roblox Studio. It provides 87 tools covering Luau scripts, instance and property operations, and supports bidirectional file sync, Git history, snapshots, backdoor scanning, Luau code linting, and AI 3D asset generation. The project is developed by Tufan Studio, requires Node.js 18 or higher, is installed globally via npm or run via npx, and the plugin is installed into Studio's Plugins folder.

Open website

About this tool

Tufan-Blox-Bridge is a free Roblox Studio MCP server and plugin positioned as an add-on to Roblox's built-in Studio MCP. It lets Claude Code, Cursor, Codex, or any MCP client connect to Roblox Studio, enabling AI to build, audit, and version games. The project is developed by Tufan Studio, a studio focused on Roblox, FiveM, and AI developer tools.

Purpose and Positioning

Roblox's built-in Studio MCP excels at running and viewing games, while Tufan, as an add-on, focuses on secure building, version management, and keeping code clean. The official recommendation is to install both, as they cover different work, and Tufan informs the AI when to use the built-in server upon connection.

Key Capabilities

  • Full Studio Control: 87 tools covering scripts (line-level editing and atomic multi-block patch_script), instances (including creating an entire tree in one call), properties/attributes (full round-trip serialization, supporting particle curves, gradients, fonts, springs), tags, tree inspection (describe gets all context of an instance in one call), Luau execution, output logs, and live error streaming.
  • Bidirectional File Sync: After opening a place, its script tree is mirrored to disk; editing files updates Studio, and editing in Studio updates files.
  • Optional Per-Place Git: Off by default; once enabled in the plugin window, each place becomes an independent repository, providing Commit / Push / Backup / Setup-GitHub buttons and auto-commit/push toggles, with choices preserved after restart.
  • Backdoor Scanning: scan_backdoors finds require-of-Value, loadstring+HttpGet, exploit APIs, Discord webhooks, obfuscation, and hidden binary payloads; list_studio_plugins reveals remote-code plugin vectors.
  • Snapshots: snapshot sets a checkpoint on any subtree before risky changes, and restore restores it exactly, providing true undo across AI boundaries.
  • Instance Mirroring and History: GUI. Folders and models are saved as .rbxm within seconds of changes, with frozen copies retained on deletion or undo; restore_from_mirror can restore any instance by path.
  • Batch operations: batch runs dozens of mixed operations in a single round trip and a single undo.
  • Responsive UI engine: make_responsive converts UI subtrees from Offset to Scale, and scan_responsive audits trees and scripts for resolution issues and tap targets smaller than 44px.
  • One-pass audits: project_health (a place census in a single traversal), scan_perf (a fix list ranked by frame killers), find_duplicates (copy-pasted script clusters).
  • Luau quality gates: format_scripts (StyLua), lint_scripts (Selene), typecheck (luau-lsp), export_sourcemap (Rojo-style sourcemap), running the standard toolchain on synced script mirrors without a Studio round trip.
  • Live save data: read and (gated) edit the DataStore of a published game via Open Cloud, with list, get, set, delete, and increment for both standard and ordered stores.
  • Run code in production: cloud_luau executes server-side Luau against a published game via the Open Cloud Luau Execution API, returning script return values and printed logs.
  • Production server observability: get_server_logs reads per-server errors/warnings and full stack traces from a live game; get_server_history lists servers that terminated/crashed/OOMed within 30 days.
  • Local file import: import_file uploads .rbxm / .fbx / .glb / audio/images from disk to the user's own Roblox account and places them into the place.
  • AI 3D asset generation: generate_asset turns a text prompt (or image) into a game-ready prop, generated via Meshy AI, checked and automatically fixed by headless Blender against Roblox limits, uploaded via Open Cloud, inserted as a Model, and given post-insertion finishing.
  • Key security: TUFAN_MESHY_KEY / TUFAN_OPENCLOUD_KEY exist only in the local MCP server's environment variables, are scrubbed from error messages, and are never written to any file, repository, or log.
  • Spatial awareness: scene_state provides coordinate grounding for screenshots, pick raycasts a screen point to a world hit, place_on computes and applies a fitted placement, and objects_in_region queries a region.
  • Concurrent multi-session: multiple Claude/Cursor sessions can run on the same Studio, with one owning the plugin and the rest acting as agents, with commands serialized.
  • Per-project AI memory: project_context is a persistent markdown block per place that the AI reads and updates at the start of a session.
  • Read-only/safe mode: TUFAN_READONLY=1 hides 37 write tools, and mixed tools remain readable but writes are blocked.
  • Lean core toolset: TUFAN_TOOLSET=core exposes only 28 everyday tools.
  • View the game: screenshots come from the official Studio MCP's screen_capture; get_asset_thumbnail displays any catalog asset.
  • Playtest: launching, driving, and probing game sessions belongs to the official Roblox Studio MCP; Tufan does not duplicate that functionality, but get_output_log / get_recent_errors / the official screen_capture allow real-time observation.
  • Multiple places: list_places, pull_place, and copy_script_across can move modules between open places.

Usage

Requires Node.js 18 or higher. The simplest way is to open Claude Code, Cursor, or another AI agent in your Roblox project folder and paste the installation instructions; or run the one-line installer, which checks for Node ≥ 18 and globally installs the MCP server (npm i -g tufan-blox-bridge), place the Studio plugin into the Plugins folder (tufan-blox-bridge install-plugin), and automatically register with Claude Code when the claude CLI is in PATH. Then restart Roblox Studio and the AI client, open the Tufan Studio toolbar button, and a green pill indicates it is connected.

You can also manually point the AI client to the server (use forward slashes in paths), which works for Cursor / Claude Desktop / any MCP client. Optional environment variables: TUFAN_OPENCLOUD_KEY (Open Cloud: datastore, cloud_luau, get_server_logs, get_server_history), TUFAN_MESHY_KEY (AI 3D generation).

Other installation methods: no installation needed with npx -y tufan-blox-bridge or bunx tufan-blox-bridge; global install with npm i -g tufan-blox-bridge; for the plugin use tufan-blox-bridge install-plugin, or manually download TufanBloxBridge.rbxm from Releases.

Architecture

The two parts connect through a local HTTP bridge (127.0.0.1:58741): the MCP server (npx -y tufan-blox-bridge) is what the AI client connects to and exposes 87 tools; the Studio plugin (TufanBloxBridge.rbxm) is the in-Studio agent that executes commands and mirrors scripts. The AI calls a tool → the server queues the command → the plugin retrieves it via long polling → it executes in Studio → the result is returned. The server also handles local file sync and Git.

Use cases and limitations

Suitable for developers who want to safely build, audit, and version Roblox games with AI agents, especially scenarios requiring two-way sync, Git history, backdoor scanning, and batch operations. Limitations include: requires Node.js 18+; screenshots and Playtest depend on the official Studio MCP; Roblox allows plugins about 500 HTTP requests per minuteabout 240 Tufan calls, after which calls wait; some features (Open Cloud, Meshy AI) require users to provide their own keys; Git is disabled by default and must be enabled manually.