mcpField
R
Roblex Studio Model-Context-Protocol Server

Roblex Studio Model-Context-Protocol Server

Local
github.com/dmae97Developer Tools7Updated 81w ago

About 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

  1. 01Launch with npx roblex-mcp
  2. 02Automatically launch Roblox Studio
  3. 03Support SSE and STDIO
  4. 04Built-in security protections
  5. 05Extend with custom tools and resources

Use cases

  1. 01Run AI-driven workflows in Roblox Studio
  2. 02Manage scripts and assets through Open Cloud API
  3. 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.

mcp.json · Universal config
{
"mcpServers": {
"roblex-studio": {
"command": "npx",
"args": [
"-y",
"roblex-mcp"
]
}
}
}
Run commandnpx -y roblex-mcp

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npmroblex-mcp

Tools

No tool list yet

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 MCP Server

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_PATH environment variable in your .env file 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.

  1. Go to the Roblox Open Cloud dashboard.

  2. Click Create API Key, select the required permissions (e.g., "Write Assets", "Read Universe Data"), and copy your generated API key.

  3. Place this key in your .env file:

    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_ID for universe-scoped operations.
  4. Restart MCP after editing .env to 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/tools and src/resources directories.

Troubleshooting

  • Roblox Studio does not open?

    • Set ROBLOX_STUDIO_PATH in your .env to the full path of your RobloxStudioBeta.exe.
  • API Key errors or "Unauthorized"?

    • Ensure your API keys are valid, have the correct permissions, and are set in .env.
  • Permission errors or port conflicts?

    • Ensure you have privileges to bind the server port, or choose a non-standard port in .env.
  • TypeScript/Module errors?

    • Run npm install and npm run build if developing locally, but npx users do not need this.
  • Claude Desktop not detected?

    • Ensure CLAUDE_DESKTOP_ENABLED=true in .env and that Claude Desktop is running.

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

Markdown supported

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.