Skip to content

MCP Integration

RbxSync includes an MCP (Model Context Protocol) server for AI agent integration.

Overview

The MCP server lets AI agents:

  • Extract games to files
  • Sync changes to Studio
  • Run code in Studio
  • Execute playtests
  • See console output
  • Manage git operations

Quick Start

  1. Build the MCP server:

    bash
    cargo build --release
  2. Configure your MCP client (see Setup)

  3. Connect Studio to RbxSync

  4. Your AI agent can now control your Roblox development!

Available Tools

ToolDescription
extract_gameExtract game to files
sync_to_studioPush changes to Studio
run_codeExecute Luau in Studio
run_testRun playtest with output
git_statusGet repository status
git_commitCommit changes

See Tools for full reference.

Use Cases

Autonomous Development

AI writes code, tests it, sees errors, fixes them - all without human intervention.

Code Review

AI can extract the game, analyze code, and suggest improvements.

Automated Testing

Run test suites and parse output programmatically.

Asset Management

Create and modify instances through AI commands.

Next Steps

  • Setup - Configure your MCP client
  • Tools - Complete tool reference