Meta XR Unity MCP Extension
Updated: May 12, 2026
The Meta XR Unity MCP Extension adds Meta XR-specific tools to Unity’s MCP Server, letting you create and modify Meta Quest VR scenes using text prompts and AI agents.
With the extension installed, you can submit text prompts through your AI agent to perform tasks such as:
- Creating, updating, or deleting a GameObject
- Moving or rotating GameObjects using relative transforms
- Adding an interaction to make a GameObject grabbable
- Creating teleport hotspots
- Unity Editor 2022.3.15f1 or later (6.1 or later recommended)
- Meta XR SDK packages v78 or later
Step 1: Set up Unity’s MCP server
The Meta XR Unity MCP Extension is currently only available on GitHub. Functionality might vary by version.
To install the extension from GitHub:
Open the Package Manager by selecting Window > Package Management > Package Manager.
Click the + (plus sign) to show install options and then select Install package from git URL... from the top left.
In the text input area, enter https://github.com/meta-quest/Unity-MCP-Extensions.git and then click Install.
In the Package Manager, select In Project on the left and verify that the Meta XR Unity MCP Extension appears in the list.
Step 3: Accept the MCP connection
After starting your AI agent, click Accept in the connection request dialog that appears in Unity Editor, as shown below:
Note: If the dialog does not appear, see
Troubleshooting for steps to manually accept the connection.
Step 4: Send text prompt commands
From the MCP Server provider UI, try submitting the following text prompts to update your scene:
- Add a cube with distance grab enabled
- Set up ray and poke interactions for all UI elements
- Add a teleport hotspot at the center of the scene
The MCP Connection Request dialog does not appear after starting the LLM MCP server or the LLM throws an error when attempting to update the project.
Navigate to Project Settings > MCP Server > Other Connections. This displays a list of all the attempted connections and their acceptance or rejection status. For any rejected connection, expand the Connection Details section, verify the details match your connection attempt, and then click Accept.
The extension crashes Unity or behaves unexpectedly.