Studio Bridge

Studio Bridge

Connects Claude directly to Roblox Studio for building UI, editing scripts, running code, playtesting, and viewing the game in real-time.

Category
Visit Server

README

<div align="center">

🧊 Studio Bridge

Connect Claude directly to Roblox Studio β€” fast, reliable, multi-session.

An MCP (Model Context Protocol) server + Studio plugin that lets Claude build UI, edit scripts, run code, playtest and see your game β€” live, with zero configuration.

Node Platform Roblox Studio License

by JuanArtxz

</div>


Why another Studio MCP?

Existing bridges break under real use. Studio Bridge was engineered around the failure modes that made them unusable on large projects:

Problem elsewhere Studio Bridge
Multiple Claude sessions fight over ports β€” agents time out One shared broker on one fixed port. Any number of sessions multiplex through it, zero config
Slow commands get re-delivered and execute 2-10Γ— Exactly-once leasing. A command is handed to one poll and never re-delivered β€” if Studio freezes you get a clear error, never a duplicate
Big scripts corrupt in transit (\n escapes mangled) Verbatim transfer + 600 KB chunking both ways. 2 MB scripts and 1080p screenshots just work
Two agents clobber each other's script edits Optimistic hashing. Reads return a hash; edits take expectedHash and fail loudly if the script changed
Dead plugin = 30 s timeouts on every call Fast-fail in ~2 s with an actionable message
Hardcoded list of ~40 properties Official Roblox API dump β€” every scriptable property of every class, cached 7 days

Install (2 clicks)

Requirement: Node.js 18+

  1. Download this repo (Code β†’ Download ZIP) and extract it anywhere permanent
  2. Double-click install.cmd
  3. Open (or restart) Roblox Studio β†’ the Studio Bridge panel connects by itself β†’ click Allow if Studio asks for HTTP permission
  4. Restart Claude (Code or Desktop) β€” done

Nothing to configure: the installer builds the plugin, copies it into your Roblox Plugins folder, and registers the MCP with both the Claude Code CLI and the Claude Desktop app. New Claude sessions load the tools automatically β€” just ask:

"build a shop UI in Studio with a grid of item buttons"

To remove everything: uninstall.cmd.

What Claude can do with it

32 tools covering the full Studio workflow:

  • πŸ—οΈ Build β€” create_instance spawns a whole hierarchy (a complete UI!) in one call; clone with offsets, move models, mass-edit properties with a full datatype codec (Vector3, CFrame, UDim2, ColorSequence, Font, Enum, …)
  • πŸ“œ Script β€” read with line numbers + content hash, surgical multi-edits (atomic), full-project grep and find/replace (dry-run by default)
  • ▢️ Test β€” start/stop playtests, read output incrementally (sinceSeq β€” no re-dumped walls of text), run Luau in edit/server/client contexts with captured prints and tracebacks, simulate input
  • πŸ‘οΈ See β€” move the camera (focusPath = pressing <kbd>F</kbd> on an object) and take PNG screenshots to verify its own work
  • πŸ”Ž Explore β€” tree with smart summarization for huge places, search by name/class/tag/property, stable ref: handles that survive renames
  • πŸ›‘οΈ Safety β€” every write is an undo waypoint, preview_asset inspects toolbox assets (and flags scripts) before inserting

Architecture

Claude session #1 ──stdio──> MCP shim ─┐
Claude session #2 ──stdio──> MCP shim ─┼─HTTP──> broker daemon ◄──long-poll── Studio plugin
Claude session #3 ──stdio──> MCP shim β”€β”˜        (127.0.0.1:33361)
  • The first shim that needs it spawns the broker; everyone else reuses it. It exits on its own after 20 min idle.
  • The plugin long-polls the broker (instant wake-up, ~50-200 ms per command), executes reads in parallel and writes in strict FIFO (race-free), and reconnects automatically with backoff.
  • Everything stays on 127.0.0.1 β€” nothing ever leaves your machine.
  • 100% official plugin APIs (same category as Rojo). No injection, no client modification β€” Roblox themselves ship an MCP with this exact plugin+local-server design.

Config & troubleshooting

What Where
Port STUDIO_BRIDGE_PORT env var + the Port field in the plugin panel (default 33361)
Broker logs %LOCALAPPDATA%\StudioBridge\broker.log
Bridge status node server\cli.js status
Panel stuck on "Looking for bridge" Open any Claude session (the broker starts with it)
Panel stuck on "Permission needed" Click Allow in Studio's HTTP permission popup
Tools missing in Claude Fully restart Claude (including the tray icon) β€” MCP configs load at startup
Moved the folder after installing Run install.cmd again (registration points at the folder path)

Development

npm run build-plugin          # plugin/*.lua  β†’  dist/StudioBridge.rbxmx (no Rojo needed)
npm test                      # broker integration: exactly-once, chunking, leases, 30-way concurrency
node test/mcp-smoke.test.js   # MCP handshake + API dump

Luau static analysis (all plugin code passes clean):

luau-lsp analyze --definitions=globalTypes.d.luau --sourcemap=sourcemap.json plugin/*.lua plugin/Commands/*.lua

License

MIT Β© JuanArtxz

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured