Logo de Roblox Studio MCP Server

Roblox Studio MCP Server

Communauté
Chrrxs

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

ÉditeurChrrxs
Dépôtrobloxstudio-mcp
LangueLua
Forks
43
Étoiles
268
Outils disponibles
64
Type de transportstdio
Catégories
LicenceMIT
Liens
  • Connectez des outils à vos workflows IA

    Roblox Studio MCP Server propose des fonctionnalités MCP utilisables par les clients et agents IA compatibles.

  • 64 outils disponibles

    Parcourez les actions invocables ci-dessous, avec leurs noms et descriptions lorsque le serveur les fournit.

  • Configuration prête à copier

    Utilisez les exemples de configuration pour configurer ce serveur dans votre client MCP préféré.

  • Indicateurs de popularité open source

    268 étoiles et 43 forks sur le dépôt associé.

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

Installation

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

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

Utilisez le serveur MCP Roblox Studio MCP Server avec plusieurs modèles IA

TypingMind connecte les outils MCP au niveau de l’espace de travail. Une fois Roblox Studio MCP Server connecté, vous pouvez donc l’utiliser avec différents modèles IA dans TypingMind sans avoir à le configurer séparément pour chaque modèle. Cette intégration MCP s’exécute localement sur votre appareil via le connecteur MCP de TypingMind.

Guide de configuration du connecteur local

Choisissez cette méthode si le serveur MCP doit accéder à des fichiers locaux, à des applications ou à des ressources privées sur votre ordinateur.

1

Ouvrir les paramètres MCP

Dans TypingMind, accédez à « Paramètres », puis à « Paramètres avancés » et à « Model Context Protocol », et choisissez « Configurer connecteur ».

  1. Ouvrez TypingMind dans votre navigateur.
  2. Cliquez sur l’icône Paramètres.
  3. Accédez aux paramètres avancés.
  4. Ouvrez la section Model Context Protocol.
  5. Cliquez sur « Configurer connecteur » et choisissez « Cet appareil ».
Écran de configuration du connecteur MCP de TypingMind avec l’option « Cet appareil » sélectionnée
2

Exécuter la commande du connecteur

Choisissez « Cet appareil », copiez la commande depuis TypingMind et exécutez-la dans Terminal. Laissez le processus en cours d’exécution pendant que vous utilisez MCP.

  1. Copiez la commande de configuration affichée par TypingMind.
  2. Ouvrez Terminal sur macOS ou Windows Terminal sur Windows.
  3. Collez et exécutez la commande.
  4. Autorisez l’installation du paquet si Terminal vous demande de confirmer.
  5. Gardez la fenêtre de Terminal ouverte et le processus en cours d’exécution pendant que vous utilisez les outils MCP.
3

Ajoutez Roblox Studio MCP Server en tant que serveur

Lorsque l’état du connecteur affiche « Prêt », cliquez sur « Éditer serveurs » et collez la configuration du serveur MCP.

  1. Attendez que l’état du connecteur affiche « Prêt ».
  2. Cliquez sur « Éditer serveurs ».
  3. Collez la configuration du serveur MCP Roblox Studio MCP Server.
  4. Enregistrez la liste des serveurs.
  5. Actualisez pour vérifier que le connecteur est toujours prêt.
Paramètres MCP de TypingMind affichant un serveur actif et le bouton « Éditer serveurs »
{
  "mcpServers": {
    "robloxstudio-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@chrrxs/robloxstudio-mcp-monorepo"
      ]
    }
  }
}
4

Utiliser la connexion avec différents modèles

Enregistrez la liste des serveurs, ouvrez « Plugins », activez les outils MCP de Roblox Studio MCP Server, puis sélectionnez un modèle IA compatible dans TypingMind et utilisez les outils dans une discussion ou attribuez-les à un agent IA.

  1. Ouvrez la page Plugins dans TypingMind.
  2. Activez les outils MCP de Roblox Studio MCP Server.
  3. Démarrez une discussion et choisissez le modèle IA que vous souhaitez utiliser.
  4. Utilisez les outils MCP dans le chat ou attribuez-les à un agent IA.
  5. Passez à un autre modèle IA selon vos besoins sans rétablir la connexion MCP.
Discussion TypingMind utilisant des outils MCP activés avec un modèle d’IA sélectionné
Pouvez-vous utiliser Roblox Studio MCP Server pour m’aider dans cette tâche ?
Roblox Studio MCP Server
Bien sûr. J’ai tout lu.
Voici ce que j’ai trouvé avec Roblox Studio MCP Server.

Foire aux questions

À quoi sert le serveur MCP Roblox Studio MCP Server ?

Roblox Studio MCP Server est un serveur MCP qui permet aux applications IA compatibles d’accéder à des outils et à des informations contextuelles externes. Dans TypingMind, il vous suffit d’ajouter ce serveur MCP une seule fois pour rendre ses outils disponibles dans votre espace de travail IA.

Puis-je utiliser le serveur MCP Roblox Studio MCP Server avec plusieurs modèles IA dans TypingMind ?

Oui. TypingMind connecte les outils MCP au niveau de l’espace de travail. Vous pouvez donc utiliser Roblox Studio MCP Server avec différents modèles IA comme Claude, ChatGPT, Gemini ou d’autres modèles configurés dans TypingMind, sans avoir à configurer le serveur MCP séparément pour chaque modèle.

Pourquoi utiliser le connecteur MCP Roblox Studio MCP Server avec TypingMind ?

TypingMind est l’une des meilleures interfaces de chat avec les LLM, car elle réunit plusieurs modèles IA, prompts, plugins, agents IA, clés API et outils MCP dans un seul espace de travail. Une fois Roblox Studio MCP Server connecté, vous pouvez utiliser ses outils MCP avec vos modèles préférés tout en gardant vos discussions bien organisées dans TypingMind.

Comment connecter le serveur MCP Roblox Studio MCP Server à TypingMind ?

Roblox Studio MCP Server fonctionne via le connecteur MCP local de TypingMind. C’est l’option idéale lorsque le serveur MCP doit accéder à des fichiers locaux, des applications de bureau, des outils en ligne de commande ou des ressources privées sur votre ordinateur.

Quels outils le serveur MCP Roblox Studio MCP Server propose-t-il dans TypingMind ?

Roblox Studio MCP Server propose 64 outils MCP que vous pouvez activer depuis la page Plugins de TypingMind et utiliser dans les discussions ou attribuer à des agents IA.

Dois-je partager mes clés API avec TypingMind pour utiliser le serveur MCP Roblox Studio MCP Server ?

Non. TypingMind privilégie le fonctionnement local et vous permet de garder le contrôle de vos fournisseurs de modèles, clés API, prompts et paramètres MCP. Si Roblox Studio MCP Server nécessite une authentification, ajoutez les en-têtes, les paramètres OAuth ou la configuration locale requis pour ce serveur MCP lors de la création de la connexion.

Serveurs MCP similaires

Tout voir

Créez votre propre espace IA dès maintenant

Abonnez-vous à notre newsletter pour être informé des nouvelles fonctionnalités et des prochains cadeaux à gagner 👇