roblox-studio-mcp
Roblox Studio MCP Bridge
将 Kiro(或任何兼容 MCP 的 AI 助手)直接连接到 Roblox Studio。通过自然语言创建、读取、更新和删除脚本,列出实例,执行 Luau 代码,以及检查属性。
架构
┌─────────┐ stdio ┌────────────┐ HTTP ┌─────────────────┐
│ Kiro │ ◄──────────────► │ MCP Server │ ◄────────────► │ Relay Server │
│ (AI) │ │ (index.js) │ │ (relay-server) │
└─────────┘ └────────────┘ └────────┬────────┘
│
HTTP polling
│
┌────────▼────────┐
│ Roblox Studio │
│ Plugin (Lua) │
└─────────────────┘Related MCP server: Roblox Bridge MCP
快速开始
# 1. Clone and install
git clone https://github.com/iknouee/roblox-studio-mcp.git
cd roblox-studio-mcp
npm install
# 2. Copy plugin to Roblox Studio plugins folder
# Windows: copy plugin\KiroMCPBridge.server.lua "%LOCALAPPDATA%\Roblox\Plugins\"
# Mac: cp plugin/KiroMCPBridge.server.lua ~/Documents/Roblox/Plugins/
# 3. Enable HTTP Requests in Studio (Game Settings → Security → Allow HTTP Requests)
# 4. Start the relay server
npm run relay
# 5. Open Roblox Studio — plugin auto-connects!可用工具
工具 | 描述 |
| 创建 Script、LocalScript 或 ModuleScript |
| 读取任意脚本的源代码 |
| 更新现有脚本的源代码 |
| 删除脚本实例 |
| 列出任意实例的子项(可选递归) |
| 在 Studio 的插件上下文中运行任意 Luau 代码 |
| 读取任意实例的属性 |
实例路径
脚本和实例使用点号表示法引用:
ServerScriptService.MyScript
ReplicatedStorage.Modules.Utils
Workspace.Map.SpawnPoints
StarterPlayer.StarterPlayerScripts.CameraController
StarterGui.MainUI.Frame.Button故障排除
问题 | 修复 |
等待 Studio 超时 | 确保 Studio 已打开且中继服务器正在运行 |
插件不在工具栏中 | 重新复制 .lua 文件并重启 Studio |
未启用 HTTP 请求 | 游戏设置 → 安全 → 允许 HTTP 请求 = 开启 |
npm install 失败 | 确保已安装 Node.js 18+ |
端口 3001 被占用 |
|
许可证
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables AI coding tools to control Roblox Studio for workspace exploration, instance manipulation, and script management. It provides tools for playtesting, scene rendering, and integration with the Roblox Creator Store.66MIT
- AlicenseNot gradedqualityNot gradedmaintenanceEnables AI agents to interact with and control Roblox Studio instances in real-time through the Model Context Protocol. It provides a unified tool for building, scripting, and manipulating 3D worlds with over 90 operations including instance management and Luau scripting.14
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to explore Roblox Studio game structure, read and edit scripts, and perform bulk changes locally and safely.MIT
- AlicenseNot gradedqualityDmaintenanceConnects AI assistants to Roblox Studio, enabling them to interact with instance hierarchy, edit Luau scripts, manage properties, and sync files over a local connection.201MIT
Related MCP Connectors
Create and manage AI agents that collaborate and solve problems through natural language interacti…
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
Control Unreal Engine to browse assets, import content, and manage levels and sequences. Automate…
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/iknouee/roblox-studio-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server