robloxstudio-mcp
by boshyxd·★ 431·综合分 50
连接AI助手与Roblox Studio的游戏开发MCP服务器。
概述
robloxstudio-mcp通过本地插件连接AI助手如Claude和Gemini与Roblox Studio游戏。它提供43个工具,用于探索游戏结构、读取/编辑脚本以及安全执行批量操作。服务器提供完整功能和只读版本(检查器版),适用于从调试到复杂脚本的各种开发工作流。
试试问 AI
装完之后,这里有 6 个你可以让 AI 做的事:
什么时候选它
如果您正在 Roblox Studio 中开发游戏,并希望 AI 能够协助自动化日常任务、分析代码或在开发环境中直接执行批量操作,请选择此方案。
什么时候不要选它
如果您需要为 Roblox 以外的游戏引擎提供 AI 功能,或者需要在不安装本地 Roblox Studio 的情况下远程访问游戏开发环境,请不要选择此方案。
此 server 暴露的工具
从 README 抽取出 12 个工具get_file_treeGet the file structure of the Roblox place
get_place_infoGet information about the current Roblox place
get_servicesGet all available Roblox services
search_objectsSearch for objects in the place by name or class
get_instance_propertiesGet properties of a specific instance
get_script_sourceGet the source code of a script
search_by_propertySearch for objects with specific property values
get_class_infoGet information about Roblox classes
create_test_npcsCreate test NPCs in a grid pattern
optimize_movement_codeOptimize movement code in scripts
grep_scriptsSearch through script content for specific patterns
get_selectionGet the currently selected objects in the studio
可对比工具
安装
安装
- 将[Studio插件](https://github.com/boshyxd/robloxstudio-mcp/releases)安装到您的Plugins文件夹
- 在Experience Settings > Security中启用**Allow HTTP Requests**
- 连接您的AI助手:
**Claude Code:**
claude mcp add robloxstudio -- npx -y robloxstudio-mcp@latest**Claude Desktop, Cursor等客户端:**
{
"mcpServers": {
"robloxstudio-mcp": {
"command": "npx",
"args": ["-y", "robloxstudio-mcp@latest"]
}
}
}FAQ
- 使用现有的游戏安全吗?
- 是的,检查器版本是只读的,专门为安全浏览和调试而设计。完整版允许更改,但在本地运行。
- 哪些AI助手支持此MCP服务器?
- 目前支持Claude、Gemini和Codex CLI。还提供了Claude Desktop和Cursor的配置方法。
robloxstudio-mcp 对比
最后更新于 · 由 README + GitHub 公开数据自动生成。