CR

chrrxs/robloxstudio-mcp

Developer tools

Эта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал

349 stars 52 forks Качество 82 Тренд 43MIT

chrrxs/robloxstudio-mcp — это кандидат на MCP-сервер, импортированный из https://github.com/chrrxs/robloxstudio-mcp.

Обзор

chrrxs/robloxstudio-mcp — это кандидат на MCP-сервер, импортированный из https://github.com/chrrxs/robloxstudio-mcp.

Обзор (машинный перевод)

Подключите своего агента по программированию напрямую к Roblox Studio. Он может редактировать места, запускать Luau В живых серверных и клиентских контекстах запускайте и останавливают плейтесты, а также собирайте логи, Скриншоты, отчёты по памяти и кадры профайлера от каждого пира.

Что он может сделать

Отладка бегущей игры

  • Запустите Luau с помощью eval_server_runtime или eval_client_runtime. Оба инструмента выполняются в живом сервере или клиентском контексте и используют тот же кэш require, что и игровые скрипты.
  • Живой код инструмента с помощью breakpoints. Каждый хит записывается без паузы тестирования.
  • Чтение выхода из режима редактирования, сервера или конкретного клиента с get_runtime_logs, включая сообщения, внесенные при запуске.

Автоматизировать плейтесты

  • Начинать, проверять и останавливать одиночные или многоклиентские сессии с помощью solo_playtest и multiplayer_playtest.
  • Открывать или закрывать окна студии с помощью manage_instance. Он может запускать базовую пластину, локальный файл места, опубликованное место или более старую версию места.

Найти проблемы с производительностью

  • Записывать тайминги сервера или клиентского процессора с помощью capture_script_profiler и capture_micro_profiler.
  • Разбить использование памяти с помощью get_memory_breakdown или стоимость атрибутной сцены с помощью get_scene_analysis.

Эта страница переведена автоматически. Технические детали смотрите в оригинале.

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_runtime or eval_client_runtime. Both tools execute in a live server or client context and use the same require cache 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_playtest and multiplayer_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_profiler and capture_micro_profiler. MicroProfiler captures are saved for re-analysis, and capture_micro_profiler also analyzes .gprx dumps from Studio’s MicroProfiler.
  • Break down memory use with get_memory_breakdown or attribute scene cost with get_scene_analysis.

Work in edit mode

  • Run Luau in Studio’s edit context with execute_luau.
  • Use set_properties for instance properties and find_and_replace_in_scripts for script text. For project-specific bulk edits, use execute_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 selection to 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.

Inspect Creator Store assets

  • Find public assets with search_assets, then read the full catalog metadata with get_asset_details.
  • Check an asset’s hierarchy, media metadata, and security scan with preview_asset before 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

  • List, create, and update developer products and game passes with manage_monetization. New items stay off sale unless you ask, and a name that already exists is refused because Roblox cannot delete these items. Requires an Open Cloud API key; see Configuration.

Manage experience settings

Открыть полный README на GitHub

Установка

npx -y @chrrxs/robloxstudio-mcp@latest --auto-install-plugin
Новичок в MCP? Начните с руководства на mcpskill.org →

Конфигурация

{ "mcpServers": { "robloxstudio-mcp": { "command": "npx", "args": ["-y", "@chrrxs/robloxstudio-mcp@latest", "--auto-install-plugin"] } } }