✨ From vibe coding to vibe deployment. UBOS MCP turns ideas into infra with one message.

Learn more

UBOS Asset Marketplace: Vibe Blocks MCP - Revolutionizing Roblox Game Development with AI

The UBOS Asset Marketplace presents Vibe Blocks MCP, a groundbreaking tool designed to seamlessly integrate AI-powered coding editors with Roblox Studio, ushering in a new era of AI-assisted game development. This asset empowers creators to leverage the power of AI to automate tasks, generate code, and enhance their workflow directly within the Roblox environment. By utilizing the Model Context Protocol (MCP), Vibe Blocks MCP bridges the gap between AI agents and Roblox Studio, fostering a dynamic and intelligent development process.

What is MCP and Why It Matters

At its core, MCP, or Model Context Protocol, is an open standard protocol that acts as a universal translator between applications and Large Language Models (LLMs). It enables AI models to understand and interact with external data sources and tools. In the context of Vibe Blocks MCP, it standardizes how Roblox Studio provides context to AI coding editors, creating a seamless and efficient development experience. This means AI can understand the structure and properties of your Roblox game environment, allowing it to generate relevant code and automate tasks with greater precision.

Key Features and Functionality

Vibe Blocks MCP operates through a dual-component system:

  1. Python MCP Server: This local server, built on FastAPI, exposes Roblox Studio actions as tools via MCP using Server-Sent Events (SSE). Optionally, it interfaces with Roblox Open Cloud APIs if configured correctly, providing a robust and feature-rich environment for AI interaction.
  2. Lua Companion Plugin: This Roblox Studio plugin, running within the Studio environment, polls the Python server for commands. It executes these commands within the Studio context, manipulating instances, reading properties, executing Luau code, and transmitting results and Studio logs back to the server.

Core Capabilities:

  • Live Studio Interaction:
    • Scene Manipulation: Directly manipulate the Roblox Studio scene by creating, deleting, cloning, moving, scaling, and setting properties of objects such as Parts, Models, and Scripts.
    • Scene Inspection: Gain insights into your scene by retrieving object properties, listing children, and identifying instances by class or name.
    • Scripting: Create, edit, and delete Scripts/LocalScripts, and execute arbitrary Luau code directly within the Studio environment, capturing output and errors.
    • Environment Control: Modify environment settings by setting properties on Lighting or Terrain services.
    • Animation Playback: Play animations on Humanoids/AnimationControllers, bringing your characters to life.
    • NPC Management: Spawn NPCs by cloning existing templates or inserting them from Asset IDs, populating your game world with interactive characters.
    • Batch Modifications: Apply property changes to multiple children of an object based on specified filters, streamlining complex tasks.
    • Studio Logging: Access recent logs from the Studio Output window, facilitating debugging and troubleshooting.
  • Roblox Open Cloud Integration (Optional):
    • Cloud Luau Execution: Execute Luau code in a separate cloud environment for tasks that do not require live Studio access, optimizing performance and resource utilization.
    • DataStore Management: List stores and manage key-value entries in standard DataStores, enabling persistent data storage and retrieval.
    • Asset Management: Upload new assets, including Models, Images, and Audio, from local files, expanding your creative possibilities.
    • Publishing: Publish the current saved or published version of a place directly from the tool, simplifying the release process.

Use Cases: Transforming Roblox Game Development

  • Automated Level Design: Utilize AI to generate level layouts, place objects, and create intricate environments based on predefined parameters.
  • Intelligent Scripting: Automate the creation of complex game mechanics and interactions through AI-generated scripts, saving time and effort.
  • Dynamic Content Creation: Generate variations of game assets, such as textures, models, and animations, to create diverse and engaging experiences.
  • AI-Powered Debugging: Leverage AI to identify and fix errors in your code, reducing development time and improving code quality.
  • Personalized Game Experiences: Implement AI-driven personalization features that adapt the game to individual player preferences and playstyles.

Setting Up Vibe Blocks MCP

  1. Prerequisites: Ensure you have Python >= 3.10, the uv package manager, Roblox Studio, and optionally, a Roblox API Key for Open Cloud features.
  2. Clone the Repository: Clone the Vibe Blocks MCP repository from GitHub.
  3. Install Dependencies: Use uv pip sync pyproject.toml or pip install -r requirements.lock to install the necessary dependencies.
  4. Configure Environment (Optional): If using Open Cloud features, configure the .env file with your Roblox API Key, Universe ID, and Place ID.
  5. Install the Companion Plugin in Roblox Studio: Install Rojo, build the plugin, and move the generated .rbxm file into your Roblox Studio plugins folder.
  6. Run the Python Server: Execute the server.sh script to start the Python server.
  7. Connect from MCP Client: Configure your MCP client (e.g., Cursor, Windsurf) with the SSE URL (http://localhost:8000/sse).

Interacting with Your Studio Session

Once the setup is complete, you can interact with your Studio session through the AI. Simply address the agent and specify the desired action. For example:

  • “Create a bright red Part named ‘Floor’ in Workspace. Set its size to (100, 2, 100) and position to (0, -1, 0). Anchor it.”
  • “Delete the object named ‘Workspace.OldPlatform’”
  • “What is the Position property of ‘Workspace.SpawnLocation’?”

Available Tools

Vibe Blocks MCP provides a comprehensive set of tools for interacting with both Roblox Studio and the Roblox Open Cloud.

Studio Plugin Tools (Live Interaction):

  • get_property, list_children, find_instances, create_instance, delete_instance, set_property, set_primary_part, move_instance, clone_instance, create_script, edit_script, delete_script, set_environment, spawn_npc, play_animation, execute_luau_in_studio, modify_children, get_studio_logs

Open Cloud API Tools (Optional):

  • execute_luau_in_cloud, list_datastores_in_cloud, get_datastore_value_in_cloud, set_datastore_value_in_cloud, delete_datastore_value_in_cloud, upload_asset_via_cloud, publish_place_via_cloud, get_asset_details_via_cloud, list_user_assets_via_cloud, send_chat_via_cloud, teleport_player_via_cloud

Troubleshooting Common Issues

  • Server Not Starting: Verify Python and uv installation, check terminal for errors, and ensure dependencies are installed.
  • Plugin Not Connecting: Confirm the Python server is running, double-check the SERVER_URL in the Lua plugin script, and check Studio’s Output window for errors.
  • MCP Client Not Connecting: Ensure the server is running and the SSE URL is correctly entered in your MCP client settings.
  • Cloud Tools Failing: Verify the .env file is configured with valid credentials and that your API key has the necessary permissions.

UBOS: Your Partner in AI-Powered Game Development

UBOS is a full-stack AI Agent Development Platform focused on bringing AI Agents to every business department. Our platform helps you orchestrate AI Agents, connect them with your enterprise data, build custom AI Agents with your LLM model and Multi-Agent Systems. By integrating Vibe Blocks MCP into the UBOS Asset Marketplace, we are committed to empowering game developers with the tools they need to create innovative and engaging experiences.

With UBOS and Vibe Blocks MCP, the future of Roblox game development is intelligent, automated, and limitless. This integration enables developers to automate repetitive tasks, generate code more efficiently, and ultimately focus on the creative aspects of game design. Explore the possibilities and unlock the full potential of AI in your Roblox projects today!

Featured Templates

View More
Customer service
AI-Powered Product List Manager
153 868
AI Assistants
Talk with Claude 3
159 1523
AI Agents
AI Video Generator
252 2007 5.0
Verified Icon
AI Assistants
Speech to Text
137 1882

Start your free trial

Build your solution today. No credit card required.

Sign In

Register

Reset Password

Please enter your username or email address, you will receive a link to create a new password via email.