MCPBridge is a Roblox Studio plugin that acts as a real-time bridge between your game and AI-powered coding tools. Once installed, it opens a lightweight HTTP server inside Studio on port 7842, allowing Claude Code and Ollama to directly read, write, and create scripts in your place.
Claude Code (stdio)
│ MCP protocol
▼
MCP Server ──── HTTP :7842 ───► Roblox Studio Plugin (Lua)
│
└── Ollama API (:11434) ──► minimax-m2.5:cloud
⚙️ Prerequisites - Required for Everyone
These steps are required regardless of your platform or install method.
1 - Download the source
Click Code → Download ZIP at the top of this page and extract it somewhere on your machine.
Then grab the installer for your platform from the Releases page:
|
Windows Installer |
macOS Installer |
Place the installer in the same folder as the extracted source before continuing.
2 - Install Node.js via NVM
🪟 Windows
Download and run nvm-setup.exe from the nvm-windows releases page, then open a new terminal and run:
nvm install lts
nvm use lts
This installs the latest Node.js LTS release and sets it as your active version.
🍎 macOS
Install nvm by running the install script in your terminal:
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.3/install.sh | bash
Then restart your terminal (or run source ~/.zshrc), and run:
nvm install --lts
nvm use --lts
nvm alias default 'lts/*'
This installs the latest Node.js LTS release and sets it as your default.
3 - Install server dependencies
Navigate into the extracted folder and install dependencies:
cd roblox-ollama-mcp/mcp-server
npm install
[!WARNING] Do not skip this step. Without it, the MCP server will not start and nothing will connect.
4 - Enable Studio as MCP Server
[!IMPORTANT] To enable the MCP server in Studio:
- Open Assistant
- Click ... → Manage MCP Servers
- Turn on Enable Studio as MCP server
🚀 Quick Install
🪟 Windows 
- Launch
MCPBridge.exe - If
index.jsorOllamaMCP.luaweren't auto-detected, press Browse and select them manually - paths are saved automatically - Exit MCPBridge, then launch Claude Code via Ollama:
ollama launch claude --model minimax-m2.5:cloud - Start giving Claude prompts for your Roblox game and watch it build!
🍎 macOS 
[!NOTE] On first launch macOS may show a security warning. Go to System Settings → Privacy & Security and click Open Anyway to allow it.
- Launch
MCPBridge.pkg - If
index.jsorOllamaMCP.luaweren't auto-detected, press Browse and select them manually - paths are saved automatically - Exit MCPBridge, then launch Claude Code via Ollama:
ollama launch claude --model minimax-m2.5:cloud - Start giving Claude prompts for your Roblox game and watch it build!
📦 Manual Setup
1 - Configure Claude Code
Add the MCP server to Claude Code's config. The config file lives at:
| OS | Path |
|---------|-------------------------------|
| macOS | ~/.claude.json |
| Windows | %USERPROFILE%\.claude.json |
Add or merge this block (replace the path with your actual path):
{
"mcpServers": {
"roblox-ollama": {
"command": "node",
"args": ["/absolute/path/to/roblox-ollama-mcp/mcp-server/index.js"]
}
}
}
Then restart Claude Code. You should see roblox-ollama in your MCP tools list.
2 - Install the Roblox Studio Plugin
- Open Roblox Studio
- Go to Plugins → Plugin Folder (opens a folder in your file explorer)
- Copy
roblox-plugin/OllamaMCP.luainto that folder - Restart Roblox Studio
- The "MCP Bridge" button appears in the Plugins toolbar
[!IMPORTANT] To enable the MCP server in Studio:
- Open Assistant
- Click ... → Manage MCP Servers
- Turn on Enable Studio as MCP server
3 - Start Ollama
Pick a model and launch it with Ollama. The bridge calls the REST API at http://localhost:11434 automatically.
Recommended models:
# Balanced cloud model (default)
ollama launch claude --model minimax-m2.5:cloud
# Newer cloud model
ollama launch claude --model minimax-m2.7:cloud
# General purpose
ollama launch claude --model qwen3.5
# Coding focused
ollama launch claude --model qwen3-coder
# Lightweight / fast
ollama launch claude --model gemma4
4 - Connect everything
- In Roblox Studio, click "MCP Bridge" in the toolbar - widget shows 🟢 Connected
- Open Claude Code in your terminal
- Start asking Claude to work on your Roblox scripts!
🛠 Available MCP Tools
Studio Tools
| Tool | Description |
|------|-------------|
| studio_status | Check if plugin is connected |
| studio_list_scripts | List all scripts in the place |
| studio_read_script | Read a script's source code |
| studio_write_script | Overwrite a script's source |
| studio_create_script | Create a new script instance |
| studio_execute_lua | Execute Lua in the plugin context |
| studio_get_output | Get recent print/warn output |
| studio_get_workspace_info | Get place metadata |
| studio_get_selection | Get currently selected instances |
Ollama Tools
| Tool | Description |
|------|-------------|
| ollama_generate | Raw prompt → completion |
| ollama_generate_lua | Generate Roblox Lua for a task, optionally write to Studio |
| ollama_review_script | Review a script for bugs and performance issues |
💬 Example Prompts
"List all scripts in my Roblox game"
"Read the source of game.ServerScriptService.GameManager"
"Generate a Roblox Lua leaderboard system and write it to game.ServerScriptService.Leaderboard"
"Review game.StarterPlayer.StarterCharacterScripts.Movement for performance issues"
"Create a new LocalScript called 'UIHandler' in game.StarterPlayer.StarterPlayerScripts"
🔧 Troubleshooting
Plugin shows 🔴 Disconnected
- Make sure the MCP server is running (Claude Code must have it active)
- Confirm HTTP requests are enabled in Studio Settings
- Check that port
7842isn't blocked by a firewall
Ollama errors
- Confirm Ollama is running:
curl http://localhost:11434/api/tags - Make sure
minimax-m2.5:cloudis available in your Ollama setup
"Command timed out"
- The plugin may have been deactivated - click the toolbar button again
- Check the plugin widget for error messages
🍎 macOS - "App can't be opened" security warning
macOS may block the installer on first launch since it isn't notarized. To allow it:
- Go to System Settings → Privacy & Security
- Scroll down and click Open Anyway next to MCPBridge
- Confirm in the dialog that appears
Alternatively, right-click the .pkg and choose Open to bypass the warning directly.
🍎 macOS - mcp-server or roblox-plugin folder not found
On first launch, MCPBridge automatically extracts these folders next to the .pkg. If auto-detection still fails, use the Browse button in the app to point to them manually. The folders will be located next to MCPBridge.pkg in the same directory.
📁 File Structure
MCPBridge/
├── mcp-server/
│ ├── index.js ← MCP + HTTP bridge server
│ └── package.json
├── roblox-plugin/
│ └── OllamaMCP.lua ← Studio plugin (auto-installed on Windows & macOS)
├── MCPBridge.exe ← Windows installer (double-click to run)
├── MCPBridge.pkg ← macOS installer (double-click to run)
├── claude_mcp_config.json ← Example Claude Code config snippet
├── start.sh ← Helper startup script
└── README.md