CR 

chrrxs/robloxstudio-mcp 是从 https://github.com/chrrxs/robloxstudio-mcp. 导入的 MCP 服务器候选
概览
chrrxs/robloxstudio-mcp 是从 https://github.com/chrrxs/robloxstudio-mcp. 导入的 MCP 服务器候选
概述(AI 翻译)
把你的编码代理直接连接到Roblox Studio。它可以编辑地点,运行Luau 在实时服务器和客户端环境中,开始和停止游戏测试,并收集日志, 每个节点的截图、内存报告和分析器捕获数据。
它能做什么
调试一个运行中的游戏
- 运行Luau时使用
eval_server_runtime或eval_client_runtime。这两个工具都可在实时服务器或客户端环境中执行,并使用与游戏脚本相同的require缓存。 - 带有
breakpoints的乐器现场代码。它录制每一次击打而不暂停测试。 - 读取编辑模式、服务器或具有
get_runtime_logs的特定客户端的输出,包括启动时记录的消息。
自动化游戏测试
- 启动、检查并停止使用
solo_playtest和multiplayer_playtest的单客户端或多客户端会话。 - 使用
manage_instance打开或关闭工作室窗口。它可以启动底板、本地位置文件、已发布的位置或较旧的位置版本。
查找性能问题
- 记录服务器或客户端CPU时序,使用
capture_script_profiler和capture_micro_profiler。 - 用
get_memory_breakdown分解内存使用,或用get_scene_analysis分解场景属性成本。
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
Roblox Studio MCP
Connect your coding agent directly to Roblox Studio. It can edit places, run Luau in live server and client contexts, start and stop playtests, and collect logs, screenshots, memory reports, and profiler captures from each peer.
What it can do
Debug a running game
- Run Luau with
eval_server_runtimeoreval_client_runtime. Both tools execute in a live server or client context and use the samerequirecache as your game scripts. - Instrument live code with
breakpoints. It records each hit without pausing the playtest. - Read output from edit mode, the server, or a specific client with
get_runtime_logs, including messages logged during startup.
Automate playtests
- Start, inspect, and stop solo or multi-client sessions with
solo_playtestandmultiplayer_playtest. - Open or close Studio windows with
manage_instance. It can launch a baseplate, a local place file, a published place, or an older place revision.
Find performance problems
- Record server or client CPU timings with
capture_script_profilerandcapture_micro_profiler. MicroProfiler captures are saved for re-analysis, andcapture_micro_profileralso analyzes.gprxdumps from Studio’s MicroProfiler. - Break down memory use with
get_memory_breakdownor attribute scene cost withget_scene_analysis.
Work in edit mode
- Run Luau in Studio’s edit context with
execute_luau. - Use
set_propertiesfor instance properties andfind_and_replace_in_scriptsfor script text. For project-specific bulk edits, useexecute_luau. - For large generated Luau, use the verified chunk-staging workflow: explicit instance routing, UTF-8 byte/hash readback, ownership-checked cleanup, and bounded recovery without blindly replaying mutations.
- Use
selectionto inspect or update Studio selection and frame a part or model before capturing the viewport. - Capture the viewport with
capture_screenshot, then send mouse or keyboard input. See Configuration. - Record the viewport to MP4 with
capture_videoto review cutscenes, tweens, or animations. Each recording returns a storyboard image of evenly spaced frames. Requires Windows or WSL, plus FFmpeg 8+; see Video recording.
Inspect Creator Store assets
- Find public assets with
search_assets, then read the full catalog metadata withget_asset_details. - Check an asset’s hierarchy, media metadata, and security scan with
preview_assetbefore adding it to the place. - Add an asset with
insert_asset. The tool removes scripts and package links, verifies the cleaned result, and then parents it in Studio.
Manage monetization
安装
npx -y @chrrxs/robloxstudio-mcp@latest --auto-install-plugin配置
{
"mcpServers": {
"robloxstudio-mcp": {
"command": "npx",
"args": ["-y", "@chrrxs/robloxstudio-mcp@latest", "--auto-install-plugin"]
}
}
}