Roblox Studio MCP Server
Allows AI agents to interact with Roblox Studio, enabling reading the game tree, editing scripts, inserting models, and running playtests.
Click on "Install 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., "@Roblox Studio MCP Serverread the game tree and summarize all scripts in ServerScriptService"
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.
RobloxUI CLI
Scaffold a Roblox project and connect it to Roblox Studio in minutes. robloxui init creates a Roblox-TS or Luau/Wally project pre-wired with Rojo, a mise-pinned toolchain, a minimal player spawn, and the Roblox Studio MCP server for AI tools. Marketplace components (robloxui.pencicta.com) can be added later with robloxui add.
Quick start
npx robloxui initAnswer the prompts (project name, flavor, theme), then:
cd my-game
npm run dev # compiles and syncs into StudioIn Roblox Studio: open game.rbxl in the project folder → Rojo plugin → Connect → press Play.
That's it — a playable place with a spawn and an empty client mount, ready for UI.
robloxui init
Scaffold an empty Roblox-TS or Luau/Wally project with a minimal player spawn, pre-wired for RobloxUI components, toolchain, and Studio connection.
robloxui init --name my-game --flavor roblox-ts --yes
robloxui init --name . --flavor luau-wally --yes # scaffold in cwd
robloxui init --name my-game --flavor roblox-ts --yes --theme # include the themeOption | Description |
| Non-interactive (requires |
| Project folder name, or |
|
|
| Skip dependency install / theme setup |
| Do not install missing mise automatically |
| Include the RobloxUI theme in the scaffold |
| Scaffold without the theme |
Creates: Rojo config, mise.toml toolchain pins, the standard DataModel services (Lighting, ServerStorage, SoundService, StarterGui, StarterPack, StarterCharacterScripts), a minimal player spawn, empty client mount, src/shared + src/server folders, and a game.rbxl place file. The RobloxUI theme is opt-in: pass --theme (or answer the prompt) to also wire the canonical robloxui/theme tokens. Init bootstraps mise with the official installer when needed.
Existing projects are inspected without replacing custom Rojo mappings. Non-interactive mode refuses ambiguous flavor or target input.
Connect to Roblox Studio
One-time setup
Run
npx robloxui init— mise and pinned tools are bootstrapped automaticallyInstall the Rojo Studio plugin (Roblox Studio → Plugins → search "Rojo")
Roblox-TS workflow
Run one command in your project:
npm run dev # compiles and syncs into StudioFile | Role |
| Maps |
| Your TypeScript source |
| Compiled Luau (created by |
In Studio: open game.rbxl → Rojo plugin → Connect → press Play.
Luau / Wally workflow
npm run dev # installs/syncs the Wally project into StudioFile | Role |
| Rojo project file for Wally layouts |
| Project metadata for Wally (theme ships bundled, no dependency) |
| Vendored theme (created by init / |
| Client bootstrap |
For your own (non-RobloxUI) Wally packages, add them to wally.toml and run
wally install — the RobloxUI theme itself ships bundled and needs no dependency.
Studio MCP (AI tools)
Init can wire the Roblox Studio MCP server into your AI tool (opencode.json,
.mcp.json, .cursor/mcp.json, or .vscode/mcp.json). Enable it once in Studio:
Assistant → ⋯ → Manage MCP Servers → Enable Studio as MCP server — then your
agent can read the game tree, edit scripts, insert models, and run playtests.
Prerequisites
Node.js ≥ 20.12 (required by the CLI test/build toolchain)
mise is bootstrapped with the official installer when it is not on PATH
Rojo CLI + Rojo Studio plugin
Wally — Luau projects only
When bootstrap is disabled, run mise install in the project to install the pinned tools.
Everything else
The sections below cover the marketplace workflow — installing components, authentication, browsing the catalog, and troubleshooting. Skip them until you need more than the scaffold.
Authentication
Run robloxui login once. Two flows:
robloxui login # browser device flow (recommended)
robloxui login --token <key> # manual API key (CI / headless)The browser flow prints a short code — open the URL, approve, done. Your token is saved to ~/.config/robloxui/config.json (Linux/macOS) or %APPDATA%\robloxui\config.json (Windows).
CI / headless machines: generate a key at Dashboard → Developer, then paste it.
robloxui whoami # check who you're logged in as
robloxui logout # remove saved tokenLimits — Free users get 2 downloads/day. Pro subscribers get unlimited everything. See https://robloxui.pencipta.com/pricing.
robloxui add <slug...>
Install one or more components.
robloxui add primary-button
robloxui add button card dialog --yes # non-interactive (CI)
robloxui add button --theme # also install the theme packageOption | Description |
| Accept all defaults |
| Overwrite existing files |
| Override install directory |
| Also install the RobloxUI theme package |
| Skip the theme package |
The CLI will:
Preflight slug, authentication, target, flavor, package manager, and tools before network or writes
Detect your project type (
rojo.json→ Roblox-TS,wally.toml→ Luau)Prompt for install path (default:
src/client/ui/components/) and whether to install the themeFetch the component source + metadata from the API
Stage and validate all files; conflicts stop by default (
--forceis explicit)Write source and, when requested, install the theme transactionally
robloxui list / robloxui search
robloxui list # browse all components
robloxui search dialog # search by name/description
robloxui list --framework tsx # filter by framework
robloxui list --category buttons --limit 20Option | Description |
|
|
| Filter by category |
| Max results (default 30, max 100) |
robloxui info <slug>
robloxui info primary-buttonPrints: framework, category, dependencies, theme tokens, usage example, and the exact robloxui add command.
Project detection
Detected | Theme install method (only with |
|
|
| Vendors bundled |
Neither | Manual project type selection |
The theme is never installed automatically: non-interactive runs skip it, interactive runs ask. Components run standalone because they embed their own design tokens.
Troubleshooting
Every CLI failure prints a recovery hint (retry + manual command + preserved paths). Common fixes:
Problem | Fix |
| Token expired or revoked. Run |
| Free tier: 2/day. Upgrade to Pro: https://robloxui.pencipta.com/pricing |
| Requires a Pro subscription. Run |
Pro component returns no source | Sign in first ( |
Rojo won't connect | Ensure |
Nothing in Play mode (Roblox-TS) | Keep |
| You opted into the theme but it is missing: re-run |
Want the canonical theme later |
|
UI doesn't appear | Press Play, not Edit — scripts run under |
Links
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to control Unreal E…
Control Unreal Engine to browse assets, import content, and manage levels and sequences. Automate…
OCR, transcription, file extraction, and image generation for AI agents via MCP.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/erickow/robloxui-cli'
If you have feedback or need assistance with the MCP directory API, please join our Discord server