/ Directory / Playground / robloxstudio-mcp
● Community boshyxd ⚡ Instant

robloxstudio-mcp

by boshyxd · boshyxd/robloxstudio-mcp

AI-powered Roblox Studio workflows — explore game structure, read/edit scripts, bulk modify, and playtest via MCP.

robloxstudio-mcp connects AI assistants to Roblox Studio for agentic game development. Two editions: Full (43 tools) for complete read/write control and Inspector (21 read-only tools) for safe exploration. Tools cover game tree inspection, script management, object search, property modification, attribute/tag management, and playtest control. Built with TypeScript, available via npm.

Why use it

Key features

Live Demo

What it looks like in practice

robloxstudio-mcp-2.replay ▶ ready
0/0

Install

Pick your client

~/Library/Application Support/Claude/claude_desktop_config.json  · Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "robloxstudio-mcp-2": {
      "command": "TODO",
      "args": [
        "See README: https://github.com/boshyxd/robloxstudio-mcp"
      ]
    }
  }
}

Open Claude Desktop → Settings → Developer → Edit Config. Restart after saving.

~/.cursor/mcp.json · .cursor/mcp.json
{
  "mcpServers": {
    "robloxstudio-mcp-2": {
      "command": "TODO",
      "args": [
        "See README: https://github.com/boshyxd/robloxstudio-mcp"
      ]
    }
  }
}

Cursor uses the same mcpServers schema as Claude Desktop. Project config wins over global.

VS Code → Cline → MCP Servers → Edit
{
  "mcpServers": {
    "robloxstudio-mcp-2": {
      "command": "TODO",
      "args": [
        "See README: https://github.com/boshyxd/robloxstudio-mcp"
      ]
    }
  }
}

Click the MCP Servers icon in the Cline sidebar, then "Edit Configuration".

~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "robloxstudio-mcp-2": {
      "command": "TODO",
      "args": [
        "See README: https://github.com/boshyxd/robloxstudio-mcp"
      ]
    }
  }
}

Same shape as Claude Desktop. Restart Windsurf to pick up changes.

~/.continue/config.json
{
  "mcpServers": [
    {
      "name": "robloxstudio-mcp-2",
      "command": "TODO",
      "args": [
        "See README: https://github.com/boshyxd/robloxstudio-mcp"
      ]
    }
  ]
}

Continue uses an array of server objects rather than a map.

~/.config/zed/settings.json
{
  "context_servers": {
    "robloxstudio-mcp-2": {
      "command": {
        "path": "TODO",
        "args": [
          "See README: https://github.com/boshyxd/robloxstudio-mcp"
        ]
      }
    }
  }
}

Add to context_servers. Zed hot-reloads on save.

claude mcp add robloxstudio-mcp-2 -- TODO 'See README: https://github.com/boshyxd/robloxstudio-mcp'

One-liner. Verify with claude mcp list. Remove with claude mcp remove.

Use Cases

Real-world ways to use robloxstudio-mcp

How to explore and understand a Roblox game with AI

👤 Roblox developers onboarding onto an existing game project ⏱ ~15 min beginner

When to use: You inherited a Roblox project and need to understand its structure.

Prerequisites
  • Roblox Studio with plugin installed — Copy plugin to Plugins folder, enable HTTP Requests in Experience Settings
  • MCP client configured — Set up Claude Desktop or Codex with the server
Flow
  1. Get overview
    Show me the game's file tree and project structure. What are the main systems?✓ Copied
    → Hierarchical view of game services and major scripts
  2. Search for patterns
    Grep all scripts for references to 'DataStore' or 'RemoteEvent'. Which scripts handle player data?✓ Copied
    → List of scripts with matched lines and file paths

Outcome: A clear understanding of the game's architecture and key systems.

Pitfalls
  • Large games have thousands of instances — Use search_objects and grep_scripts to focus on specific areas instead of browsing the full tree

Write and test Roblox scripts with AI assistance

👤 Roblox developers who want AI help writing Lua scripts ⏱ ~30 min intermediate

When to use: You need to create or modify game scripts and want AI-assisted development.

Prerequisites
  • Full edition MCP connected — Use the full version for write access
Flow
  1. Read existing code
    Read the script in ServerScriptService/GameManager. Explain what it does and suggest improvements.✓ Copied
    → Code with analysis and improvement suggestions
  2. Write new functionality
    Add a leaderboard system that tracks kills and deaths. Create the scripts and UI elements needed.✓ Copied
    → New scripts and UI created in the game
  3. Playtest
    Start a playtest and check the output for any errors related to our new leaderboard system.✓ Copied
    → Playtest output with error analysis

Outcome: New game functionality written, deployed, and tested with AI assistance.

Pitfalls
  • HTTP Requests not enabled — Go to Experience Settings → Security → Enable 'Allow HTTP Requests'. Required for the plugin to communicate.

Combinations

Pair with other MCPs for X10 leverage

robloxstudio-mcp-2 + filesystem

Export game scripts to local files for version control

Export all scripts in ServerScriptService to ~/roblox-project/server/ for Git tracking.✓ Copied

Tools

What this MCP exposes

ToolInputsWhen to callCost
get_file_tree none Get the game's instance hierarchy 0
get_script_source instance_path: str Read a script's source code 0
grep_scripts pattern: str Search across all scripts for a pattern 0
search_objects class_name?: str, name?: str Find objects by class or name 0
start_playtest none Start a playtest in Roblox Studio 0
get_playtest_output none Read the output/error log from a playtest 0

Cost & Limits

What this costs to run

API quota
N/A — local communication with Roblox Studio
Tokens per call
100–1000 tokens per tool call
Monetary
Free — Roblox Studio is free
Tip
Use grep_scripts to find relevant code instead of reading every script.

Security

Permissions, secrets, blast radius

Credential storage: N/A
Data egress: Communication between MCP server and local Roblox Studio plugin via HTTP localhost

Troubleshooting

Common errors and fixes

Plugin shows 'Disconnected'

Ensure the MCP server is running and the Studio plugin can reach localhost. Enable 'Allow HTTP Requests' in Experience Settings.

Verify: Check the Output panel in Studio for connection messages
Script edit not saving

The Full edition is required for write operations. Inspector edition is read-only.

Verify: Check which edition you installed
Playtest won't start

Close any existing playtest session first. Only one playtest can run at a time.

Verify: Check Studio for an active playtest

Alternatives

robloxstudio-mcp vs others

AlternativeWhen to use it insteadTradeoff
Minecraft MCP ServerYou want AI-controlled gameplay in Minecraft rather than Roblox developmentDifferent platform — Minecraft is gameplay, Roblox Studio is game development
Godot MCP ProYou prefer Godot for game development over RobloxDifferent engine — Godot is open source, Roblox is a platform

More

Resources

📖 Read the official README on GitHub

🐙 Browse open issues

🔍 Browse all 400+ MCP servers and Skills