mcp-tools
This MCP server manages persistent Rojo servers and plugin setup for a Roblox project, and imports model files through Studio.
Start a Rojo project server in a persistent background process, optionally on a chosen port, without duplicating an existing server for that project.
Check whether a Rojo server for a project is running and whether it was started by this server.
Stop only the Rojo server that this server started on a given port.
Build an auto-connect Rojo plugin matching the installed Rojo CLI, using a patch for Edit-mode reconnection when the place is listed in
servePlaceIds.Install the built Rojo plugin, back up the previous plugin, and optionally configure Auto Reconnect and
Unlisted PlaceIdconfirmation when Studio is closed.Import one FBX/OBJ/GLB/GLTF model through Studio's 3D Importer via UI automation, requiring a visible Edit-mode Studio window and returning after the importer accepts it.
Provides tools for working on a Roblox game by serving a Rojo project in a persistent process, checking or stopping that Rojo server, and managing the Rojo plugin used for syncing with Roblox development.
Provides tools for Roblox Studio: building and installing a Rojo plugin with auto-connect settings, and driving Studio's 3D Importer through UI Automation to import FBX, OBJ, GLB, or GLTF models.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp-tools start serving my Rojo project on port 34872"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
mcp-tools
An MCP server for working on a Roblox game from an AI assistant (Claude Code and other MCP clients), next to Roblox's own Studio MCP. It covers what that one can't: keeping Rojo running and connected without anyone clicking Connect, uploading models, images, sounds and video as assets without touching Studio (or importing them through Studio's own importer), and letting the assistant check its work through Rojo's and Studio's logs and a screenshot of Studio. Windows only.
Tool | What it does |
| Serves a Rojo project in a process that keeps running after the assistant's session ends. Does nothing if it's already being served; refuses if another project is on the port. |
| Is a server for that project answering, and did |
| Stops the server |
| The end of that server's output: where Rojo reports files it can't sync. |
| Is Studio running the scripts on disk? Returns Luau to run in Studio that lists every script whose source differs from its file (length and checksum), plus whether Rojo is up or crashed. |
| Builds a Rojo plugin that connects by itself in Edit mode (below), from the installed Rojo's own version. |
| Installs that plugin (backing up the old one) and, with Studio closed, turns on Rojo's Auto Reconnect and "Unlisted PlaceId" confirmation. |
| The open Studio windows (one per open place), with each one's pid and log file. |
| After you confirm in a dialog, uploads models (FBX / GLB / GLTF / RBXM / OBJ), images, sounds and video as Roblox assets through Open Cloud, a few at a time, and returns their asset ids. No Studio window, focus or mouse. |
| Imports meshes (FBX / OBJ / GLB / GLTF), images, sounds and video through Studio's importer, as a person would: files and/or whole folders, one after another. |
| The end of a Studio window's log (Output window and Studio's own messages), filtered by a regex and/or age. |
| A screenshot of a Studio window, returned as an image, even if it's behind other windows. |
| URLs for local files on 127.0.0.1, for tools that take URLs (the Roblox Studio MCP's |
| A URL a Studio script can PUT files to (base64 bodies fine), written under |
Each Studio tool works on one Studio window. With several open (one per place), pass window: a place name, part of the window title, or a pid from
studio_windows. With just one open it can be left out.
Install
Needs Windows, uv, Roblox Studio, and for the Rojo tools rojo
(e.g. through aftman or rokit) and git.
Claude Code:
claude mcp add mcp-tools --scope user -- uvx --from git+https://github.com/gavinostler/mcp-tools mcp-toolsOther MCP clients (Claude Desktop, Cursor, ...):
{
"mcpServers": {
"mcp-tools": {
"command": "uvx",
"args": ["--from", "git+https://github.com/gavinostler/mcp-tools", "mcp-tools"]
}
}
}For upload_assets, add an Open Cloud API key (create.roblox.com > Open Cloud > API Keys, with the
Assets API's read and write permissions):
claude mcp add mcp-tools --scope user -e ROBLOX_API_KEY=<key> -- uvx --from git+https://github.com/gavinostler/mcp-tools mcp-tools(or "env": {"ROBLOX_API_KEY": "<key>"} in the JSON above). Assets go to the key's owner;
ROBLOX_CREATOR (a user id or group:<id>) or the tool's creator changes that.
Working files (pid files, server logs, the plugin build) go in %LOCALAPPDATA%\mcp-tools.
Related MCP server: Roblox Studio MCP Server (Posuceius Fork)
Rojo that stays up and connects by itself
rojo_start launches rojo serve through WMI (Win32_Process.Create), so the server isn't in the
assistant's process tree and survives its session ending (assistants' background commands are
usually killed after a while, and the sync with them).
Stock Rojo has no Edit-mode auto-connect: "Auto Reconnect" only tries once, when the plugin loads.
The patch this builds (src/mcp_tools/autoconnect.patch) adds a loop: every 5 seconds in Edit mode,
if Auto Reconnect is on and nothing is connected, it connects to a server on the configured
host/port, but only if that server's project lists the open place in servePlaceIds.
Disconnect or Abort pauses it until you next connect by hand. The build uses the installed CLI's
version tag of rojo-rbx/rojo, so plugin and server always
match, and stops with an error if a newer Rojo no longer takes the patch. Tested on 7.7.1.
Once: rojo_build_plugin, close Studio, rojo_install_plugin, then add your place to the project:
"servePlaceIds": [123456789],(If Studio was open during rojo_install_plugin, set Auto Reconnect on and Confirmation Behavior to
"Unlisted PlaceId" in Rojo's settings yourself; Studio rewrites its settings when it closes.)
Uploading assets
Every upload is published to your account and moderated by Roblox, a model's textures included. Text, links or watermarks in an image (even an artist's credit in a texture's corner) can get the account banned. Check every image before uploading.
The assistant has to prove each upload doesn't break Roblox's Terms of Use: tos_check names
every file and texture and says what was checked in it, and is refused if one is missing.
Then a dialog shows the files, the textures and that check, and uploads only if you confirm.
A client that can't show the dialog can't upload.
upload_assets sends each file to Open Cloud's Assets API and waits for Roblox to process it, so
nothing happens in Studio: put the results in a place with the Roblox Studio MCP's insert_asset.
paths is a list of files and/or folders (every supported file directly inside). A folder with a
mesh in it leaves out its images, since they're the mesh's textures. One failed upload doesn't
stop the rest; each file gets its asset id or its error.
OBJ is converted to GLB (its MTL textures embedded), split into files under 20 MB, and comes back with Luau that puts all of it in one Model.
20 MB per file (video excepted). Audio counts against your monthly upload limit.
Models arrive as packages.
Images upload as Decals, and a Decal's id isn't an image id. In Studio,
InsertService:LoadAsset(id):FindFirstChildWhichIsA("Decal", true).Textureis the image id.
It also works without the server: python -m mcp_tools.assets <file or folder>... [--creator ID]
lists what it will upload and asks for y at the terminal.
Studio import
studio_import drives Studio's UI with Windows UI Automation: File > Import, the file dialog, then
Import in the Import Preview, leaving your importer settings as they are (so "Upload to Roblox"
etc. behave as when you import by hand). It takes everything in the dialog's "All Supported Files": meshes (.fbx .obj .gltf .glb), images
(.bmp .gif .jpeg .jpg .png .tga), audio (.ogg .mp3 .flac .wav) and video (.mp4 .mov). A mesh
always gets the Import Preview; if another kind of file gets none within 15 seconds of the file
dialog closing, the tool takes it that Studio sent it straight to its Import Queue and returns.
Returning means the importer accepted the file; Studio's Import Queue finishes it a few seconds
later, so check it arrived (with the Studio MCP) and look at studio_logs before using it.
Bulk import. paths is a list of files and/or folders (a folder means every supported file
directly inside it). Everything is checked before Studio is touched, then imported one at a time
(about 15-20 seconds each, with a pause between), reporting progress to clients that ask for it.
It stops at the first failure and says which files were imported and which weren't tried.
Your mouse and keyboard. The menu and file dialog go through UI Automation, and Import is
clicked by posting mouse messages to the Import Preview, so the real pointer doesn't move. If
Studio ignores that click (nothing happens within 5 seconds), it clicks with the real mouse; with
allow_input=False it cancels that import and fails instead. A menu left open by an earlier
import is closed the same way, with a real Esc only as the fallback. The result says how Import was
clicked. Studio's window (then the Import Preview) does still come to the front, since File >
Import works on the active window.
Limits, because Studio draws the inside of the Import Preview itself (invisible to UI Automation):
The Import button is found by its position from the window's bottom-right corner and clicked only once that pixel is blue (enabled). If a Studio update moves it, the tool times out rather than clicking anything else: update
IMPORT_BTN_FROM_BRinstudio_import.py.It can't read importer warnings: with the button enabled it imports anyway.
The Studio window must be in Edit mode (check before calling: it doesn't) and visible on screen.
File > Import works on the place in Studio's active window, so the tool brings the chosen window to the front first, and fails if Windows won't let it. If the file dialog or Import Preview still turns out to belong to another place's window, it cancels it and fails rather than importing into the wrong place.
Leave a few seconds between separate
studio_importcalls (a bulk import pauses by itself).
It also works without the server:
python -m mcp_tools.studio_import <file or folder>... [--window W] [--no-input].
Checking the result
rojo_logsreadsserve-<port>.log, whichrojo_startwrites (and starts over each time). When edits stop reaching Studio, this is where Rojo says which file it couldn't read.studio_logsreads the log of the chosen Studio window from%LOCALAPPDATA%\Roblox\logs: the one that window's process has open, or else the one created when it started. With Studio closed it reads the most recently written log instead. It's noisy, so pass apattern(case-insensitive regex, e.g.error|warn|fail) and/orsince_minutes. Times are UTC. Afterstudio_import, look here for what the Import Queue said.studio_screenshotcaptures Studio withPrintWindow, so it works with Studio behind other windows and leaves the focus alone. If that comes back blank, it brings Studio to the front and copies it off the screen instead. The image is a JPEG at most 1568 px on its long side. It also works without the server:python -m mcp_tools.studio_screenshot [out.jpg] [window].
Licence
MIT (see LICENSE), except src/mcp_tools/autoconnect.patch, which modifies Rojo's plugin
source and is under Rojo's licence, the
Mozilla Public License 2.0.
Available Tools
6 toolsrojo_build_pluginA
Build the auto-connect Rojo plugin: the installed Rojo CLI's own version (from GitHub) plus a
patch that, in Edit mode with Auto Reconnect on, connects every few seconds to a server whose
project lists the open place in servePlaceIds. Needs git and rojo on this machine.
Inputs: no named parameters. Returns: result
rojo_install_pluginA
Install the plugin rojo_build_plugin built as Studio's Rojo plugin (the old one is backed up to %LOCALAPPDATA%\Roblox\PluginBackups). With Studio closed it also turns on Rojo's Auto Reconnect and sets Confirmation Behavior to "Unlisted PlaceId", so listed places connect without a click. Studio picks the plugin up when it next opens. The project needs "servePlaceIds": [] for auto-connect to happen.
Inputs: configure_settings. Returns: result
rojo_startA
Serve a Rojo project (rojo serve) in a background process that keeps running after this
session ends. project: the project's folder or its .project.json. Does nothing if that
project is already being served on the port; fails if another project is.
Inputs: project (required), port. Returns: result
rojo_statusA
Is a Rojo server for this project answering on the port (and did rojo_start start it)?
Inputs: project (required), port. Returns: result
rojo_stopA
Stop the Rojo server rojo_start started on this port (never one it didn't start).
Inputs: port. Returns: result
studio_importA
Import a model file (FBX, OBJ, GLB or GLTF) through Roblox Studio's own 3D Importer, as a person would (File > Import, then Import), leaving the importer's settings as they are. Needs exactly one Studio window, in Edit mode (not playtesting), visible on screen; it takes the mouse and keyboard for about 15 s. Returning means the importer accepted the file: Studio's Import Queue finishes it a few seconds later, so check the model arrived before using it. Leave a few seconds between imports.
Inputs: path (required). Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 6 tools
Each tool targets a distinct operation: server lifecycle (start/status/stop), plugin build, plugin install, and Studio import. The only closely related pair, build_plugin vs. install_plugin, is explicitly separated in the descriptions, and the start/status/stop trio has clear non-overlapping semantics.
All names use snake_case with a consistent domain prefix and readable operation naming: rojo_start, rojo_status, rojo_stop, rojo_build_plugin, rojo_install_plugin, studio_import. The pattern is predictable, and rojo_status is a conventional command-style exception rather than a real inconsistency.
Six tools is a well-scoped set for the apparent Rojo/Studio workflow, with each tool earning its place. Nothing feels padded, and the surface is not so thin that basic lifecycle operations are missing.
The core lifecycle is covered: start/status/stop the Rojo server, build/install the plugin, and import a model into Studio. Minor gaps exist around plugin status/uninstall, server logs, and common Rojo operations like a one-shot place build, but agents can work around these.
Maintenance
Related MCP Connectors
- DNS-DATA RemoteDeprecatedcom.dns-data
Connect AI assistants to authorized Windows and macOS devices for files, commands, and management.
Connect an AI assistant to a Roblox team's games, tasks and collaborators in BloxStack Studio.
1Connect ChatGPT, Claude, Cursor or VS Code to your Windows PC: files, terminal, browser, apps.
Connect AI assistants to your approved computer for files, commands, browser and desktop tasks.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to explore Roblox Studio game structure, read and edit scripts, and perform bulk changes locally and safely.MIT
- AlicenseNot gradedqualityDmaintenanceConnects AI assistants like Claude and Gemini to Roblox Studio, enabling game structure exploration, script editing, UI generation, style extraction, and bulk changes locally and safely.MIT
- AlicenseNot gradedqualityDmaintenanceConnects AI assistants to Roblox Studio, enabling them to interact with instance hierarchy, edit Luau scripts, manage properties, and sync files over a local connection.10 npm2MIT
- AlicenseAqualityDmaintenanceConnects AI coding assistants to Roblox Studio, enabling direct manipulation of the DataModel through natural language commands with undo support.1494 npm2MIT