MCP-Claude
Enables AI-powered interaction with Roblox Studio, providing tools to read, write, and modify scripts, instances, and game properties directly within the Studio environment.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@MCP-ClaudeCreate a part in Workspace called MyPart"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
AI Assistant for Roblox Studio
Multi-AI assistant that lives inside Roblox Studio. Chat with AI directly in Studio to read, write, and modify your project. Supports multiple free AI providers — no paid API keys required.
Supported AI Providers (All Free)
Provider | Speed | Quality | Setup |
Groq | Fastest | Great | Free API key at console.groq.com |
Gemini | Fast | Best | Free API key at aistudio.google.com |
Ollama | Depends | Good | 100% local, no key needed. Install Ollama |
HuggingFace | Slower | Good | Free token at huggingface.co |
Claude | Fast | Excellent | Free tier API key at console.anthropic.com |
Mistral | Fast | Great | Free API key at console.mistral.ai |
DeepSeek | Fast | Great | Free API key at platform.deepseek.com |
SambaNova | Fast | Great | Free API key at cloud.sambanova.ai |
How It Works
You type in Studio plugin chat
↓
Plugin sends message to server (HTTP POST /chat)
↓
Server calls AI provider (Groq/Gemini/Ollama/HuggingFace/Claude/Mistral/DeepSeek/SambaNova)
↓
AI requests tool calls (read_script, write_script, etc.)
↓
Server sends tool requests to plugin (HTTP GET /poll)
↓
Plugin executes in Studio, posts results back
↓
Server feeds results to AI, gets final response
↓
Plugin displays AI response in chatNo Claude Code CLI required. The server is standalone — just run it and chat.
Quick Start
Prerequisites
Node.js v18+
One free API key (Groq, Gemini, Claude, Mistral, DeepSeek, SambaNova, or HuggingFace) — or Ollama for 100% local use
Setup
Windows (one-click):
setup.batManual:
npm install
npm run buildCopy the plugin to Roblox Studio:
# Windows
copy plugin\ClaudeMCP.lua "%LOCALAPPDATA%\Roblox\Plugins\"
# macOS
cp plugin/ClaudeMCP.lua ~/Documents/Roblox/Plugins/Run
Step 1 — Enable HTTP Requests in Roblox Studio:
In Roblox Studio, go to Game Settings > Security and turn on "Allow HTTP Requests". This is required for the plugin to talk to the server.
Step 2 — Start the server:
Double-click start.bat in the project folder. A terminal window will open and the server will start instantly.
Or manually in a terminal:
cd "MCP Claude"
node build/index.jsYou should see:
Roblox Studio AI Server
========================
Server running on http://localhost:3636
Waiting for Roblox Studio plugin to connect...Keep the terminal window open — the server must be running while you use the plugin. Close it to stop the server.
Step 3 — Use it in Roblox Studio:
Open Roblox Studio — the plugin loads automatically with an "AI Assistant" panel
The status dot should turn green (connected to server)
Click the gear icon in the plugin panel
Enter your API key (or configure Ollama URL)
Select an AI provider from the dropdown
Start chatting!
Troubleshooting: If the status dot stays red:
Make sure
start.batis running (the terminal window is open)Make sure "Allow HTTP Requests" is enabled in Game Settings > Security
The server must be running BEFORE you open Studio
Environment Variables (Optional)
You can also set API keys via .env file:
cp .env.example .env
# Edit .env with your keysWhat the AI Can Do
Tool | Description |
| Browse the Explorer tree |
| Read script source code |
| Write/overwrite scripts |
| Create Script, LocalScript, or ModuleScript |
| Remove instances |
| Read all properties of an instance |
| Set Vector3, Color3, CFrame, string, number, bool |
| Run arbitrary Lua in Studio |
| Find instances by ClassName or Name |
| Get current Studio selection |
| Set the Studio selection |
Example Prompts
"Create a part in Workspace called MyPart"
"Show me all scripts in ServerScriptService"
"Make all parts in the model red and anchored"
"Create a sprint script for the player"
"Find all Part instances and make them transparent"
Plugin GUI
The dockable panel in Studio has:
Provider dropdown — switch between Groq, Gemini, Ollama, HuggingFace, Claude, Mistral, DeepSeek, SambaNova
Settings (gear icon) — configure API keys and Ollama URL
Chat area — conversation with the AI, tool call notifications
Status dot — green = connected, red = disconnected, yellow = thinking
Chat Commands
Command | Description |
| Show help message |
| Clear the chat |
Architecture
Server (src/)
index.ts— Entry point, starts Express server on port 3636bridge.ts— HTTP endpoints:/chat,/poll,/result,/providers,/config,/healthtools.ts— 11 tool definitions (JSON Schema format)ai/provider.ts— AI provider interfaceai/groq.ts— Groq API clientai/gemini.ts— Google Gemini API clientai/ollama.ts— Ollama local API clientai/huggingface.ts— HuggingFace Inference API clientai/claude.ts— Anthropic Claude API clientai/mistral.ts— Mistral AI API clientai/deepseek.ts— DeepSeek API clientai/sambanova.ts— SambaNova API clientai/chat.ts— Chat engine with tool execution loop
Plugin (plugin/)
ClaudeMCP.lua— Full plugin with chat UI, provider selector, settings panel, and tool execution
Communication
Roblox Studio can't host HTTP servers, so the plugin polls:
User sends message in plugin chat
Plugin POSTs to
/chaton the serverServer calls the AI provider
AI returns tool calls → server queues them
Plugin polls
GET /poll, executes tools, POSTs results to/resultServer feeds results back to AI until done
Final response sent back to plugin
Development
# Watch mode
npm run dev
# Build
npm run build
# Start
npm startChange port:
PORT=4000 npm startLicense
MIT
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/BassicalyAdev/MCP-Claude'
If you have feedback or need assistance with the MCP directory API, please join our Discord server