Логотип Roblox Studio MCP Server

Roblox Studio MCP Server

Сообщество
Chrrxs

MCP server for Roblox Studio runtime debugging, playtest control, screenshots/input, multiplayer testing, and per-peer server/client eval from AI agents.

ИздательChrrxs
Репозиторийrobloxstudio-mcp
ЯзыкLua
Форки
43
Звёзды
268
Доступные инструменты
64
Тип транспортаstdio
Категории
ЛицензияMIT
Ссылки
  • Подключайте инструменты к рабочим процессам с ИИ

    Roblox Studio MCP Server предоставляет возможности MCP, доступные совместимым ИИ-клиентам и агентам.

  • Доступные инструменты: 64

    Ниже представлены доступные для вызова действия с названиями и описаниями, если сервер их предоставляет.

  • Готовая конфигурация для копирования

    Используйте примеры конфигурации, чтобы настроить этот сервер в предпочитаемом MCP-клиенте.

  • Показатели интереса к открытому проекту

    Звёзды: 268, форки: 43 — в связанном репозитории.

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.

NPM Version

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.
  • 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.

Look up Roblox APIs

  • Fetch official engine API documentation as Markdown with get_roblox_docs.
  • List and retrieve Roblox-authored skills with get_roblox_skills.

See the complete tool list.

Setup

1. Connect your client

Choose your MCP client below. Each setup installs the matching Studio plugin automatically.

bash
codex mcp add robloxstudio -- npx -y @chrrxs/robloxstudio-mcp@latest --auto-install-plugin
bash
claude mcp add robloxstudio -- npx -y @chrrxs/robloxstudio-mcp@latest --auto-install-plugin
bash
agy mcp add robloxstudio -- npx -y @chrrxs/robloxstudio-mcp@latest --auto-install-plugin
json
{
  "mcpServers": {
    "robloxstudio-mcp": {
      "command": "npx",
      "args": ["-y", "@chrrxs/robloxstudio-mcp@latest", "--auto-install-plugin"]
    }
  }
}

2. Restart Studio

Fully close and reopen Studio after installation or updates. When the plugin displays Connected, you're ready.

Custom Plugins folder. Set MCP_PLUGINS_DIR to use a custom location.

Manual plugin installation.

bash
npx -y @chrrxs/robloxstudio-mcp@latest --install-plugin

Both editions prefer the bundled plugin. If it is missing, installation downloads the GitHub release matching the installed npm package version and validates the plugin's version and edition before replacing the installed file. This also applies to development versions; a missing matching release is an error.

Inspector edition

Read-only access to the DataModel.

NPM Version

No DataModel or script edits. The selection tool can change editor selection and camera framing; export and profiler tools can write files only to explicit local paths.

Install only one variant at a time (the installers remove the other automatically):

Codex CLI

bash
codex mcp add robloxstudio-inspector -- npx -y @chrrxs/robloxstudio-mcp-inspector@latest --auto-install-plugin

Claude Code

bash
claude mcp add robloxstudio-inspector -- npx -y @chrrxs/robloxstudio-mcp-inspector@latest --auto-install-plugin

Antigravity CLI

bash
agy mcp add robloxstudio-inspector -- npx -y @chrrxs/robloxstudio-mcp-inspector@latest --auto-install-plugin

Other clients (Cursor, Claude Desktop, etc.)

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

Documentation


Report issues · Report a security vulnerability · MIT Licensed · Based on boshyxd/robloxstudio-mcp v2.7.0

Установка

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

Доступные инструменты

  • get_file_tree

    Get instance hierarchy tree from Studio

  • search_files

    Search instances by name, class, or script content

  • get_place_info

    Get place ID, name, and game settings

  • get_services

    Get available services and their children

  • search_objects

    Find instances by name, class, or properties

  • get_instance_properties

    Get all properties of an instance

  • get_instance_children

    Get children and their class types

  • search_by_property

    Find objects with specific property values

  • get_class_info

    Get properties/methods for a class

  • get_project_structure

    Get full game hierarchy tree. Increase maxDepth (default 3) for deeper traversal.

  • set_property

    Set a property on an instance

  • mass_set_property

    Set a property on multiple instances

  • mass_get_property

    Get a property from multiple instances

  • set_properties

    Set multiple properties on a single instance in one call.

  • create_object

    Create a new instance. Optionally set properties on creation.

  • mass_create_objects

    Create multiple instances. Each can have optional properties.

  • delete_object

    Delete an instance

  • smart_duplicate

    Duplicate with naming, positioning, and property variations

  • mass_duplicate

    Batch smart_duplicate operations

  • get_script_source

    Get script source. Returns "source" and "numberedSource" (line-numbered). Use startLine/endLine for large scripts.

  • set_script_source

    Replace entire script source. For partial edits use edit/insert/delete_script_lines.

  • edit_script_lines

    Replace exact text in a script. Without startLine, old_string must match exactly once in the script. Pass startLine (1-indexed, from get_script_source) to anchor the edit to a specific line when old_string is ambiguous (e.g. repeated closing braces).

  • insert_script_lines

    Insert lines after a given line number (0 = beginning).

  • delete_script_lines

    Delete a range of lines. 1-indexed, inclusive.

  • set_attribute

    Set an attribute. Supports primitives, Vector3, Color3, UDim2, BrickColor.

  • get_attributes

    Get all attributes on an instance

  • delete_attribute

    Delete an attribute

  • get_tags

    Get all tags on an instance

  • add_tag

    Add a tag

  • remove_tag

    Remove a tag

  • get_tagged

    Get all instances with a specific tag

  • get_selection

    Get all currently selected objects

  • execute_luau

    Execute Luau code in plugin context. Use print()/warn() for output. Return value is captured.

  • grep_scripts

    Ripgrep-inspired search across all script sources. Supports literal and Lua pattern matching, context lines, early termination, and results grouped by script with line/column numbers.

  • start_playtest

    Start playtest. Captures print/warn/error via LogService. Poll with get_playtest_output, end with stop_playtest. Use numPlayers for multi-client testing (server + N clients).

  • stop_playtest

    Stop playtest and return all captured output.

  • get_playtest_output

    Poll output buffer without stopping. Returns isRunning and captured messages.

  • get_connected_instances

    List all connected plugin instances with their roles. Use during multi-client playtest to discover server and client instances for targeted commands.

  • undo

    Undo the last change in Roblox Studio. Uses ChangeHistoryService to reverse the most recent operation.

  • redo

    Redo the last undone change in Roblox Studio. Uses ChangeHistoryService to reapply the most recently undone operation.

  • export_build

    Export a Model/Folder into a compact, token-efficient build JSON format and auto-save it to the local build library. The output contains a palette (unique BrickColor+Material combos mapped to short keys) and compact part arrays with positions normalized relative to the bounding box center. The file is saved to build-library/{style}/{id}.json automatically.

  • create_build

    Create a new build model from scratch and save it to the library. Define parts using compact arrays [posX, posY, posZ, sizeX, sizeY, sizeZ, rotX, rotY, rotZ, paletteKey, shape?, transparency?]. Palette maps short keys to [BrickColor, Material] pairs. The build is saved and can be referenced by import_build or import_scene.

  • generate_build

    Procedurally generate a build via JS code. ALWAYS generate the entire scene in ONE call - never split into multiple small builds. PREFER high-level primitives over manual loops. No comments. No unnecessary variables. Maximize build detail per line.

    EDITING: When modifying an existing build, call get_build first to retrieve the original code. Then make ONLY the targeted changes the user requested - do not rewrite unchanged code. Pass the modified code to generate_build.

    HIGH-LEVEL (use these first - each replaces 5-20 lines): room(x,y,z, w,h,d, wallKey, floorKey?, ceilKey?, wallThickness?) - Complete enclosed room (floor+ceiling+4 walls) roof(x,y,z, w,d, style, key, overhang?) - style: "flat"|"gable"|"hip" stairs(x1,y1,z1, x2,y2,z2, width, key) - Auto-generates steps between two points column(x,y,z, height, radius, key, capKey?) - Cylinder with base+capital pew(x,y,z, w,d, seatKey, legKey?) - Bench with seat+backrest+legs arch(x,y,z, w,h, thickness, key, segments?) - Curve

  • import_build

    Import a build into Roblox Studio. Accepts either a full build data object OR a library ID string (e.g. "medieval/church_01") to load from the build library. When using generate_build or create_build, pass the build ID string instead of the full data.

  • list_library

    List available builds in the local build library. Returns build IDs, styles, bounds, and part counts. Optionally filter by style.

  • search_materials

    Search for MaterialVariant instances in MaterialService by name. Use this to find custom materials before using them in generate_build or create_build palettes. Returns material names and their base material types.

  • get_build

    Get a build from the library by ID. Returns metadata, palette, and generator code (if the build was created with generate_build). IMPORTANT: When the user asks to modify an existing build, ALWAYS call get_build first to retrieve the original code, then make targeted edits to only the relevant lines, and call generate_build with the modified code. Never rewrite the entire code from scratch - only change what the user asked to change.

  • import_scene

    Import a full scene layout. Provide a scene with model references (resolved from library) and placement data. Each model is placed at the specified position/rotation. Can also include inline custom builds.

  • search_assets

    Search the Creator Store (Roblox marketplace) for assets by type and keywords. Requires ROBLOX_OPEN_CLOUD_API_KEY env var (no cookie auth for this endpoint).

  • get_asset_details

    Get detailed marketplace metadata for a specific asset. Uses ROBLOX_OPEN_CLOUD_API_KEY or falls back to ROBLOSECURITY cookie (own assets only).

  • get_asset_thumbnail

    Get the thumbnail image for an asset as base64 PNG, suitable for vision LLMs. Thumbnails API is public but asset validation uses ROBLOX_OPEN_CLOUD_API_KEY.

  • insert_asset

    Insert a Roblox asset into Studio by loading it via AssetService and parenting it to a target location. Optionally set position.

  • preview_asset

    Preview a Roblox asset without permanently inserting it. Loads the asset, builds a hierarchy tree with properties and summary stats, then destroys it. Useful for inspecting asset contents before insertion.

  • upload_asset

    Upload any supported asset type to Roblox: Audio (mp3/ogg/wav/flac), Decal (png/jpg/bmp/tga), Model (fbx/gltf/glb/rbxm/rbxmx), Animation (rbxm/rbxmx), or Video (mp4/mov). Decal supports ROBLOSECURITY cookie auth or ROBLOX_OPEN_CLOUD_API_KEY. All other types require Open Cloud API key with asset:write scope + creator ID. Audio: max 7 min, 100 uploads/month (ID-verified). Video: max 5 min, requires 13+ ID-verified.

  • capture_screenshot

    Capture a screenshot of the Roblox Studio viewport and return it as a PNG image. Requires EditableImage API to be enabled: Game Settings > Security > "Allow Mesh / Image APIs". Only works in Edit mode with the viewport visible.

  • simulate_mouse_input

    Simulate mouse input in the Roblox Studio viewport via VirtualInputManager. Use during playtest to click UI buttons, interact with objects, or navigate menus. Coordinates are viewport pixels (top-left is 0,0). Use capture_screenshot to identify UI element positions before clicking.

  • simulate_keyboard_input

    Simulate keyboard input via VirtualInputManager. Use during playtest for character movement (W/A/S/D), jumping (Space), interactions (E), or any key-driven action. For sustained movement, use "press" to hold and "release" to let go.

  • character_navigation

    Move the player character to a target position or instance during playtest. Uses PathfindingService for automatic navigation around obstacles, falling back to direct movement. Requires an active playtest in "play" mode. Does NOT simulate player input - moves the character directly.

  • clone_object

    Clone an instance to a new parent location. Creates a deep copy of the instance and all its descendants.

  • get_descendants

    Get all descendants of an instance recursively with depth info. More efficient than repeated get_instance_children calls.

  • compare_instances

    Diff two instances by comparing their properties. Useful for debugging why a duplicate behaves differently.

  • get_output_log

    Get the Studio output log history. Works in both edit and play mode.

  • bulk_set_attributes

    Set multiple attributes on an instance in a single call. More efficient than repeated set_attribute calls.

  • find_and_replace_in_scripts

    Find and replace text across all scripts in the game. Supports literal and Lua pattern matching. Use dryRun to preview changes before applying. Pairs with grep_scripts for search-only operations.

Используйте MCP Roblox Studio MCP Server с разными ИИ-моделями

TypingMind подключает инструменты MCP на уровне рабочего пространства, поэтому после подключения Roblox Studio MCP Server вы можете использовать их с разными моделями ИИ в TypingMind, не настраивая подключение отдельно для каждой модели. Эта интеграция MCP работает локально на вашем устройстве через коннектор MCP TypingMind.

Руководство по настройке локального коннектора

Выберите этот способ, если серверу MCP нужен доступ к локальным файлам, приложениям или закрытым ресурсам на вашем компьютере.

1

Откройте настройки MCP

В TypingMind откройте «Настройки», затем «Расширенные настройки», перейдите в раздел «Протокол контекста модели» и выберите «Настроить коннектор».

  1. Откройте TypingMind в браузере.
  2. Нажмите значок настроек.
  3. Перейдите в «Расширенные настройки».
  4. Откройте раздел «Протокол контекста модели».
  5. Нажмите «Настроить коннектор» и выберите «Это устройство».
Экран настройки коннектора MCP в TypingMind с выбранным вариантом «Это устройство»
2

Выполните команду коннектора

Выберите «Это устройство», скопируйте команду из TypingMind и выполните её в терминале. Не останавливайте процесс, пока используете MCP.

  1. Скопируйте команду настройки, показанную в TypingMind.
  2. Откройте «Терминал» в macOS или Windows Terminal в Windows.
  3. Вставьте и выполните команду.
  4. Подтвердите установку пакета, если терминал запросит разрешение продолжить.
  5. Не закрывайте окно терминала и не останавливайте процесс, пока используете инструменты MCP.
3

Добавьте Roblox Studio MCP Server как сервер

Когда статус коннектора сменится на «Готов», нажмите «Изменить серверы» и вставьте конфигурацию сервера MCP.

  1. Дождитесь, пока статус коннектора сменится на «Готов».
  2. Нажмите «Изменить серверы».
  3. Вставьте конфигурацию сервера MCP для Roblox Studio MCP Server.
  4. Сохраните список серверов.
  5. Обновите статус, если хотите убедиться, что коннектор по-прежнему готов к работе.
Настройки MCP в TypingMind с активным сервером и кнопкой «Изменить серверы»
{
  "mcpServers": {
    "robloxstudio-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@chrrxs/robloxstudio-mcp-monorepo"
      ]
    }
  }
}
4

Используйте подключение с разными моделями

Сохраните список серверов, откройте раздел «Плагины», включите инструменты MCP для Roblox Studio MCP Server, затем выберите любую поддерживаемую модель ИИ в TypingMind и используйте инструменты в чате или назначьте их ИИ-агенту.

  1. Откройте страницу «Плагины» в TypingMind.
  2. Включите инструменты MCP для Roblox Studio MCP Server.
  3. Начните чат и выберите модель ИИ, которую хотите использовать.
  4. Используйте инструменты MCP в чате или назначьте их ИИ-агенту.
  5. При необходимости переключайтесь на другую модель ИИ без повторного подключения MCP.
Чат TypingMind с включёнными инструментами MCP и выбранной ИИ-моделью
Можете помочь мне с этой задачей с помощью Roblox Studio MCP Server?
Roblox Studio MCP Server
Конечно. Я всё прочитал.
Вот что я нашёл с помощью Roblox Studio MCP Server.

Часто задаваемые вопросы

Для чего используется сервер MCP Roblox Studio MCP Server?

Roblox Studio MCP Server — это сервер MCP, который позволяет совместимым ИИ-клиентам подключаться к внешним инструментам и получать контекст. В TypingMind достаточно один раз добавить этот сервер MCP, чтобы его инструменты стали доступны в вашем рабочем пространстве с ИИ.

Можно ли использовать сервер MCP Roblox Studio MCP Server с несколькими ИИ-моделями в TypingMind?

Да. TypingMind подключает инструменты MCP на уровне рабочего пространства, поэтому вы можете использовать Roblox Studio MCP Server с разными ИИ-моделями, например Claude, ChatGPT, Gemini или другими моделями, настроенными в TypingMind, без отдельной настройки сервера MCP для каждой модели.

Зачем использовать MCP Roblox Studio MCP Server с TypingMind?

TypingMind — один из лучших интерфейсов для чата с LLM: он объединяет разные ИИ-модели, промпты, плагины, ИИ-агентов, ключи API и инструменты MCP в одном рабочем пространстве. Подключив Roblox Studio MCP Server, вы сможете использовать его инструменты MCP с предпочитаемыми моделями, сохраняя удобную организацию работы с чатами в TypingMind.

Как подключить сервер MCP Roblox Studio MCP Server к TypingMind?

Roblox Studio MCP Server работает через локальный коннектор MCP TypingMind. Этот вариант лучше всего подходит, когда серверу MCP нужен доступ к локальным файлам, настольным приложениям, инструментам командной строки или закрытым ресурсам на вашем компьютере.

Какие инструменты предоставляет сервер MCP Roblox Studio MCP Server в TypingMind?

Roblox Studio MCP Server предоставляет инструменты MCP (64), которые можно включить на странице «Плагины» в TypingMind и использовать в чате или назначить ИИ-агентам.

Нужно ли передавать TypingMind свои ключи API для использования сервера MCP Roblox Studio MCP Server?

Нет. TypingMind ориентирован прежде всего на локальную работу и позволяет вам контролировать выбор провайдеров моделей, ключи API, промпты и конфигурацию MCP. Если Roblox Studio MCP Server требует аутентификации, при создании подключения добавьте необходимые заголовки, настройки OAuth или локальную конфигурацию для этого сервера MCP.

Похожие серверы MCP

Все

Создайте свою рабочую ИИ-среду сейчас

Подпишитесь на нашу рассылку, чтобы узнавать о новых функциях и предстоящих розыгрышах 👇