Roblex Studio Model-Context-Protocol Server
LocalAbout Roblex Studio Model-Context-Protocol Server
Roblex Studio MCP Server connects Roblox Studio with LLM workflows for developers building AI-driven processes around Studio. It supports multiple transports and can launch Roblox Studio automatically.
Key features
- 01Launch with npx roblex-mcp
- 02Automatically launch Roblox Studio
- 03Support SSE and STDIO
- 04Built-in security protections
- 05Extend with custom tools and resources
Use cases
- 01Run AI-driven workflows in Roblox Studio
- 02Manage scripts and assets through Open Cloud API
- 03Add custom tools and resources for clients
MCP support
The server implements core MCP features and offers integration to MCP clients over SSE or STDIO. Custom tools and resources can be added.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
Tools
Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.
Details
From the project README
Roblex Studio Model-Context-Protocol Server
The Roblex Studio MCP Server is a standalone server implementation of the Model-Context-Protocol specification, designed specifically for integration with Roblox Studio and LLMs. It enables seamless, secure, and scriptable AI-driven workflows in Roblox Studio via a unified protocol.
Features
- npx One-line Install/Run: Launch instantly with
npx roblex-mcp - Automatic Roblox Studio Launch: MCP starts and auto-launches Roblox Studio (Windows)
- Full MCP Implementation: All core Model-Context-Protocol features supported
- Multiple Transport Modes: SSE or STDIO for flexible integration
- Claude Desktop/Anthropic Claude Support: Out-of-the-box integration
- Security: TPA protection, input sanitization, rate limiting, CORS, and more
- Extensible: Easily add custom tools/resources
Quick Start
Prerequisites
- Node.js 18 or higher (Node.js 20+ recommended)
- Roblox Studio installed (Windows; see below for launch path)
- npm (bundled with Node.js)
Run with npx
npx roblex-mcp
- On first launch, MCP will start and attempt to open Roblox Studio automatically.
- If your Roblox Studio is not in a standard location, set the
ROBLOX_STUDIO_PATHenvironment variable in your.envfile or system environment.
Env Setup
Copy and edit the example environment file:
cp .env.example .env
Edit .env as needed (see below for ROBLOX_STUDIO_PATH).
Roblox/Open Cloud API Key Setup
To enable automated scripting and asset management, you must supply a valid Roblox Open Cloud API Key.
-
Go to the Roblox Open Cloud dashboard.
-
Click Create API Key, select the required permissions (e.g., "Write Assets", "Read Universe Data"), and copy your generated API key.
-
Place this key in your
.envfile:ROBLOX_API_KEY=your_api_key_here ROBLOX_OPEN_CLOUD_API_KEY=your_open_cloud_api_key_here- Never share your secret keys. Treat them like passwords.
- Optionally, set
ROBLOX_OPEN_CLOUD_UNIVERSE_IDfor universe-scoped operations.
-
Restart MCP after editing
.envto apply changes.
See Roblox Open Cloud documentation for more details.
Environment Variables
All configuration can be controlled with a .env file. Key variables:
-
PORT: Server port (default: 3001) -
TRANSPORT_MODE: 'sse' or 'stdio' (default: 'stdio') -
CLAUDE_DESKTOP_ENABLED: Claude Desktop integration (default: true) -
ROBLOX_STUDIO_PATH: Full path to RobloxStudioBeta.exe (optional). Example:ROBLOX_STUDIO_PATH=C:\Users\USER\AppData\Local\Roblox\Versions\version-04a222f011414c81\RobloxStudioBeta.exe -
ROBLOX_API_KEY,ROBLOX_OPEN_CLOUD_API_KEY: Your API keys from Roblox Open Cloud; required for most server features.
See .env.example for all options.
How It Works
-
npx roblex-mcp:
- Starts the MCP server (transports, tools, API, security, etc)
- Launches Roblox Studio automatically
- Can be integrated with Claude Desktop, Open Cloud, etc.
-
Custom Tools and Resources:
- Add your own by extending the
src/toolsandsrc/resourcesdirectories.
- Add your own by extending the
Troubleshooting
-
Roblox Studio does not open?
- Set
ROBLOX_STUDIO_PATHin your.envto the full path of yourRobloxStudioBeta.exe.
- Set
-
API Key errors or "Unauthorized"?
- Ensure your API keys are valid, have the correct permissions, and are set in
.env.
- Ensure your API keys are valid, have the correct permissions, and are set in
-
Permission errors or port conflicts?
- Ensure you have privileges to bind the server port, or choose a non-standard port in
.env.
- Ensure you have privileges to bind the server port, or choose a non-standard port in
-
TypeScript/Module errors?
- Run
npm installandnpm run buildif developing locally, but npx users do not need this.
- Run
-
Claude Desktop not detected?
- Ensure
CLAUDE_DESKTOP_ENABLED=truein.envand that Claude Desktop is running.
- Ensure
Development
Clone, install, and build:
git clone https://github.com/dmae97/roblex-studio-mcp-server.git
cd roblex-studio-mcp-server
npm install
npm run build
npm start
Contributing
Contributions are welcome! See CONTRIBUTING.md for guidelines.
License
MIT License - see LICENSE
© 2025 Roblex Studio MCP Server Contributors
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.