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
Build the MCP server:
bashcargo build --releaseConfigure your MCP client (see Setup)
Connect Studio to RbxSync
Your AI agent can now control your Roblox development!
Available Tools
| Tool | Description |
|---|---|
extract_game | Extract game to files |
sync_to_studio | Push changes to Studio |
run_code | Execute Luau in Studio |
run_test | Run playtest with output |
git_status | Get repository status |
git_commit | Commit 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.
