Roblox Studio AI助手连接工具

一个MCP服务器,允许AI助手本地安全地探索、编辑Roblox游戏结构并执行批量更改。

作者 By boshyxd
本地部署 Roblox开发 AI集成
GitHub

Roblox Studio MCP服务器

将Claude和Gemini等人工智能助手连接到Roblox Studio


这是什么?

一个MCP服务器,让人工智能探索你的游戏结构,读取/编辑脚本,并在本地安全地执行批量更改。

设置

  1. 安装 工作室插件 到您的插件文件夹
  2. 启用 允许HTTP请求 在体验设置>安全
  3. 连接您的AI:

克劳德代码:

BASH``` 1claude mcp add robloxstudio — npx -y robloxstudio-mcp@latest


**Codex CLI:**


BASH```
1codex mcp add robloxstudio -- npx -y robloxstudio-mcp@latest

Gemini CLI:

BASH``` 1gemini mcp add robloxstudio npx —trust — -y robloxstudio-mcp@latest


插件准备就绪时显示“已连接”。



Other MCP clients (Claude Desktop, Cursor, etc.)
JSON```
1
2
3
4
5
6
7
8{
  "mcpServers": {
    "robloxstudio-mcp": {
      "command": "npx",
      "args": ["-y", "robloxstudio-mcp@latest"]
    }
  }
}

Windows用户: 如果遇到问题,请使用 cmd:

JSON``` 1 2 3 4 5 6 7 8{ “mcpServers”: { “robloxstudio-mcp”: { “command”: “cmd”, “args”: [“/c”, “npx”, “-y”, “robloxstudio-mcp@latest”] } } }



## 你能做什么?


问这样的问题: *“这个游戏的结构是什么?”*, *“查找具有已弃用API的脚本”*, *“在网格中创建50个测试NPC”*, *“优化此移动代码”*



**Inspector Edition (Read-Only)**
### robloxstudio mcp检查员


[![](https://img.shields.io/npm/v/robloxstudio-mcp-inspector)](https://www.npmjs.com/package/robloxstudio-mcp-inspector)


更轻的, **只读** 仅公开检查工具的版本。无写入,无脚本编辑,无对象创建/删除。非常适合安全浏览游戏结构、查看脚本和调试,而不会有意外更改的风险。


**21个只读工具:** `get_file_tree`, `search_files`, `get_place_info`, `get_services`, `search_objects`, `get_instance_properties`, `get_instance_children`, `search_by_property`, `get_class_info`, `get_project_structure`, `mass_get_property`, `get_script_source`, `grep_scripts`, `get_attribute`, `get_attributes`, `get_tags`, `get_tagged`, `get_selection`, `start_playtest`, `stop_playtest`, `get_playtest_output`


**设置** -相同的插件,只需交换包名:


**克劳德:**


BASH```
1claude mcp add robloxstudio-inspector -- npx -y robloxstudio-mcp-inspector@latest

食品法典:

BASH``` 1codex mcp add robloxstudio-inspector — npx -y robloxstudio-mcp-inspector@latest


**双子座:**


BASH```
1gemini mcp add robloxstudio-inspector npx --trust -- -y robloxstudio-mcp-inspector@latest

Other MCP clients (Claude Desktop, Cursor, etc.) JSON``` 1 2 3 4 5 6 7 8{ “mcpServers”: { “robloxstudio-mcp-inspector”: { “command”: “npx”, “args”: [“-y”, “robloxstudio-mcp-inspector@latest”] } } }


**Windows用户:** 如果遇到问题,请使用 `cmd`:


JSON```
1
2
3
4
5
6
7
8{
  "mcpServers": {
    "robloxstudio-mcp-inspector": {
      "command": "cmd",
      "args": ["/c", "npx", "-y", "robloxstudio-mcp-inspector@latest"]
    }
  }
}

v2.6.0-next.1 - 43 tools, inspector edition, monorepo architecture 报告问题 | 发展论坛 |MIT许可证