Logotipo de Roblox Studio MCP Server

Roblox Studio MCP Server

Comunidad
Chrrxs

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

EditorChrrxs
Repositoriorobloxstudio-mcp
IdiomaLua
Forks
43
Estrellas
268
Herramientas disponibles
64
Tipo de transportestdio
Categorías
LicenciaMIT
Enlaces
  • Conecta herramientas a flujos de trabajo con IA

    Roblox Studio MCP Server ofrece funciones MCP que pueden usar los clientes y agentes de IA compatibles.

  • 64 herramientas disponibles

    Explora a continuación las acciones que se pueden invocar, con sus nombres y descripciones cuando el servidor los proporcione.

  • Configuración lista para copiar

    Usa los ejemplos de instalación para configurar este servidor en tu cliente MCP preferido.

  • Indicadores de interés en el código abierto

    268 estrellas y 43 forks en el repositorio enlazado.

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

Instalación

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

Herramientas disponibles

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

Usa el MCP de Roblox Studio MCP Server con varios modelos de IA

TypingMind conecta las herramientas MCP a nivel del espacio de trabajo, por lo que, una vez conectado Roblox Studio MCP Server, puedes usarlo con distintos modelos de IA en TypingMind sin tener que configurarlo por separado para cada modelo. Esta integración MCP se ejecuta localmente en tu dispositivo a través del conector MCP de TypingMind.

Guía de configuración para usar el conector local

Usa esta opción si el servidor MCP necesita acceder a archivos locales, aplicaciones o recursos privados de tu ordenador.

1

Abre los ajustes de MCP

En TypingMind, ve a Ajustes, luego a Ajustes avanzados y a Model Context Protocol, y elige Configurar conector.

  1. Abre TypingMind en tu navegador.
  2. Haz clic en el icono de Ajustes.
  3. Ve a Ajustes avanzados.
  4. Abre la sección Model Context Protocol.
  5. Haz clic en Configurar conector y elige Este dispositivo.
Pantalla de configuración del conector MCP de TypingMind con «Este dispositivo» seleccionado
2

Ejecuta el comando del conector

Elige Este dispositivo, copia el comando de TypingMind y ejecútalo en Terminal. Mantén el proceso en ejecución mientras uses MCP.

  1. Copia el comando de configuración que muestra TypingMind.
  2. Abre Terminal en macOS o Windows Terminal en Windows.
  3. Pega y ejecuta el comando.
  4. Acepta la instalación del paquete si Terminal te pide confirmación para continuar.
  5. Mantén el proceso en ejecución en la ventana de Terminal mientras uses las herramientas MCP.
3

Añade Roblox Studio MCP Server como servidor

Cuando el estado del conector sea «Listo», haz clic en «Edita servidores» y pega la configuración del servidor MCP.

  1. Espera hasta que el estado del conector indique «Listo».
  2. Haz clic en Edita servidores.
  3. Pega la configuración del servidor MCP de Roblox Studio MCP Server.
  4. Guarda la lista de servidores.
  5. Actualiza para comprobar que el conector sigue listo.
Ajustes de MCP de TypingMind con un servidor activo y el botón «Edita servidores»
{
  "mcpServers": {
    "robloxstudio-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@chrrxs/robloxstudio-mcp-monorepo"
      ]
    }
  }
}
4

Úsala con distintos modelos

Guarda la lista de servidores, abre Plugins, activa las herramientas MCP de Roblox Studio MCP Server y selecciona cualquier modelo de IA compatible en TypingMind para usar las herramientas en el chat o asignárselas a un agente de IA.

  1. Abre la página Plugins en TypingMind.
  2. Activa las herramientas MCP de Roblox Studio MCP Server.
  3. Inicia un chat y elige el modelo de IA que quieras usar.
  4. Usa las herramientas MCP en el chat o asígnalas a un agente de IA.
  5. Cambia a otro modelo de IA cuando lo necesites sin volver a conectar MCP.
Chat de TypingMind que usa herramientas MCP activadas con un modelo de IA seleccionado
¿Puedes usar Roblox Studio MCP Server para ayudarme con esta tarea?
Roblox Studio MCP Server
Claro. Lo he leído.
Esto he encontrado usando Roblox Studio MCP Server.

Preguntas frecuentes

¿Para qué sirve el servidor MCP Roblox Studio MCP Server?

Roblox Studio MCP Server es un servidor MCP que permite a los clientes de IA compatibles conectarse a herramientas y contexto externos. En TypingMind, basta con añadir este servidor MCP una vez para que sus herramientas estén disponibles en tu espacio de trabajo de IA.

¿Puedo usar el servidor MCP Roblox Studio MCP Server con varios modelos de IA en TypingMind?

Sí. TypingMind conecta las herramientas MCP a nivel del espacio de trabajo, por lo que puedes usar Roblox Studio MCP Server con distintos modelos de IA, como Claude, ChatGPT, Gemini u otros que hayas configurado en TypingMind, sin configurar el servidor MCP por separado para cada modelo.

¿Por qué usar el conector MCP de Roblox Studio MCP Server con TypingMind?

TypingMind es una de las mejores interfaces de chat con LLM porque reúne varios modelos de IA, prompts, plugins, agentes de IA, claves de API y herramientas MCP en un solo espacio de trabajo. Con Roblox Studio MCP Server conectado, puedes usar sus herramientas MCP con tus modelos preferidos y mantener organizado tu flujo de trabajo de chat en TypingMind.

¿Cómo conecto el servidor MCP Roblox Studio MCP Server a TypingMind?

Roblox Studio MCP Server funciona a través del conector MCP local de TypingMind. Es la mejor opción cuando el servidor MCP necesita acceder a archivos locales, aplicaciones de escritorio, herramientas de línea de comandos o recursos privados de tu ordenador.

¿Qué herramientas ofrece el servidor MCP Roblox Studio MCP Server en TypingMind?

Roblox Studio MCP Server ofrece 64 herramientas MCP que puedes activar desde la página Plugins de TypingMind y usar en el chat o asignar a agentes de IA.

¿Tengo que compartir mis claves de API con TypingMind para usar el servidor MCP Roblox Studio MCP Server?

No. TypingMind prioriza el funcionamiento local y te permite mantener el control de tus proveedores de modelos, claves de API, prompts y configuración MCP. Si Roblox Studio MCP Server requiere autenticación, añade las cabeceras, los ajustes de OAuth o la configuración local necesarios para ese servidor MCP al crear la conexión.

Servidores MCP relacionados

Ver todos

Crea ya tu propio espacio de trabajo IA

Suscríbete a nuestro boletín para recibir avisos sobre nuevas funciones y próximos sorteos 👇