Skip to main content
Glama
iknouee

roblox-studio-mcp

by iknouee

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!

可用工具

工具

描述

create_script

创建 Script、LocalScript 或 ModuleScript

read_script

读取任意脚本的源代码

update_script

更新现有脚本的源代码

delete_script

删除脚本实例

list_instances

列出任意实例的子项(可选递归)

execute_luau

在 Studio 的插件上下文中运行任意 Luau 代码

get_properties

读取任意实例的属性

实例路径

脚本和实例使用点号表示法引用:

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 被占用

RELAY_PORT=3002 npm run relay

许可证

MIT

F
license - not found
Not graded
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

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

  • A
    license
    A
    quality
    D
    maintenance
    Enables 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.
    6
    6
    MIT
  • A
    license
    Not graded
    quality
    Not graded
    maintenance
    Enables 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

View all related MCP servers

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…

View all MCP Connectors

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/iknouee/roblox-studio-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server