studio-rust-mcp-server

Standalone Roblox Studio MCP Server

GitHub Stars

122

User Rating

Not Rated

Favorites

0

Views

23

Forks

18

Issues

3

Installation
Difficulty
Intermediate
Estimated Time
10-20 minutes
Requirements
Roblox Studio: Latest version
Claude Desktop: Latest version
+2 more

Installation

Installation

Prerequisites

Roblox Studio: Latest version
Claude Desktop: Latest version
Cursor: Latest version
Rust: Latest version

Installation Steps

1. Automatic Installation

1Ensure you have Roblox Studio and Claude Desktop/Cursor installed and started at least once.
2Exit any running MCP clients and Roblox Studio.
3Go to the [releases](https://github.com/Roblox/studio-rust-mcp-server/releases) page and download the latest release for your platform.
4Unzip the downloaded file and run the installer.
5Restart Claude/Cursor and Roblox Studio if they are running.

2. Manual Installation

Add the following to your MCP Client config:
json
{
  "mcpServers": {
    "Roblox Studio": {
      "args": [
        "--stdio"
      ],
      "command": "Path-to-downloaded\\rbx-studio-mcp.exe"
    }
  }
}
On macOS, the path would be something like /Applications/RobloxStudioMCP.app/Contents/MacOS/rbx-studio-mcp.

3. Build from Source

1Ensure you have Roblox Studio and Claude Desktop installed and started at least once.
2Exit Claude and Roblox Studio.
3Install Rust.
4Download or clone this repository.
5Run the following command from the root of this repository:
sh
   cargo run
   

Configuration

Configuration

Basic Configuration

Claude Desktop Setup

Edit ~/.config/claude-desktop/claude_desktop_config.json (macOS/Linux) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
json
{
  "mcpServers": {
    "Roblox Studio": {
      "args": [
        "--stdio"
      ],
      "command": "Path-to-downloaded\\rbx-studio-mcp.exe"
    }
  }
}

Environment Variables

Set the following environment variables as needed:
bash
export API_KEY="your-api-key"
export DEBUG="true"

Configuration Examples

Basic Configuration

json
{
  "mcpServers": {
    "Roblox Studio": {
      "args": [
        "--stdio"
      ],
      "command": "Path-to-downloaded\\rbx-studio-mcp.exe"
    }
  }
}

Examples

Examples

Basic Usage

Here are basic usage examples for the MCP server:

Using with Claude Desktop

1Verify MCP Server Startup
Open Claude Desktop and confirm that the configuration has been loaded correctly.
2Execute Basic Commands

   Available tools from this MCP server:
   - tool1: Description of tool1
   - tool2: Description of tool2
   

Programmatic Usage

javascript
// JavaScript example (Node.js)
const { MCPClient } = require('@modelcontextprotocol/client');

const client = new MCPClient();
await client.connect();

// Execute tool
const result = await client.callTool('toolName', {
  parameter1: 'value1',
  parameter2: 'value2'
});

console.log(result);

Advanced Examples

Automation Script

bash
#!/bin/bash

Batch processing example

for file in *.txt; do mcp-tool process "$file" done

API Integration

python

Python example

import requests import json def call_mcp_tool(tool_name, params): response = requests.post( 'http://localhost:3000/mcp/call', json={ 'tool': tool_name, 'parameters': params } ) return response.json()

Usage example

result = call_mcp_tool('analyze', { 'input': 'sample data', 'options': {'format': 'json'} })

Use Cases

Using AI tools for automated testing during game development in Roblox Studio.
Dynamically modifying properties of objects in Roblox Studio using Claude Desktop.
Triggering in-game events based on user input via Cursor.
Performing advanced data analysis by integrating multiple tools using the MCP server.

Additional Resources