Roblox Studio MCP服务器

一个MCP服务器,允许AI助手如Claude和Gemini本地安全地探索Roblox Studio游戏结构、读取/编辑脚本并执行批量更改。

  • by boshyxd
  • TypeScript
  • 本地部署
  • 498 星标
  • 更新于
在 GitHub 查看 boshyxd/robloxstudio-mcp

使用说明

归档项目2026年6月6日

嘿,几个月前,我的笔记本电脑主板短路了,其中包含了进入我的NPM帐户所需的硬件密钥,由于Node客户支持需要很长时间,而且我还有其他优先事项,我将 归档 这个项目。

我建议你换成https://github.com/Chrrxs/robloxstudio-mcp这是Chrrxs正在积极维护的一个分支。

Roblox Studio MCP服务器

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


这是什么?

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

设置

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

克劳德代码:

claude mcp add robloxstudio -- npx -y robloxstudio-mcp@latest

Codex CLI:

codex mcp add robloxstudio -- npx -y robloxstudio-mcp@latest

Gemini CLI:

gemini mcp add robloxstudio npx --trust -- -y robloxstudio-mcp@latest

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

Other MCP clients (Claude Desktop, Cursor, etc.)
{
  "mcpServers": {
    "robloxstudio-mcp": {
      "command": "npx",
      "args": ["-y", "robloxstudio-mcp@latest"]
    }
  }
}

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

{
  "mcpServers": {
    "robloxstudio-mcp": {
      "command": "cmd",
      "args": ["/c", "npx", "-y", "robloxstudio-mcp@latest"]
    }
  }
}

你能做什么?

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

Inspector Edition (Read-Only)

robloxstudio mcp检查员

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

31个只读工具: 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_attributes, get_tags, get_tagged, get_selection, get_playtest_output, get_connected_instances, get_descendants, compare_instances, get_output_log, export_build, list_library, search_materials, get_build, search_assets, get_asset_details, get_asset_thumbnail, preview_asset, capture_screenshot

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

克劳德:

claude mcp add robloxstudio-inspector -- npx -y robloxstudio-mcp-inspector@latest

食品法典:

codex mcp add robloxstudio-inspector -- npx -y robloxstudio-mcp-inspector@latest

双子座:

gemini mcp add robloxstudio-inspector npx --trust -- -y robloxstudio-mcp-inspector@latest
Other MCP clients (Claude Desktop, Cursor, etc.)
{
  "mcpServers": {
    "robloxstudio-mcp-inspector": {
      "command": "npx",
      "args": ["-y", "robloxstudio-mcp-inspector@latest"]
    }
  }
}

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

{
  "mcpServers": {
    "robloxstudio-mcp-inspector": {
      "command": "cmd",
      "args": ["/c", "npx", "-y", "robloxstudio-mcp-inspector@latest"]
    }
  }
}

**v2.7.0-next.6** - 43 tools, inspector edition, monorepo architecture

报告问题 | 发展论坛 |MIT许可证