Skip to content

Route 2: Unity's official MCP

Route 2 uses the MCP server that Unity itself provides, in the package com.unity.ai.assistant. The setup on the Intrigues side is one menu click.

This route is a preview. The package is a pre-release, and the Intrigues side is marked as a preview too. It needs Unity 6. It was tested on Unity 6000.0.85f2 and 6000.6.11f1, with package version 2.23.0-pre.1.

  • Unity 6. The 2.x line of the package declares Unity 6000.0, release 60f1, so 6000.0.60f1 or newer.
  • Intrigues in your project, with a database. See Install Intrigues.
  • The package com.unity.ai.assistant, in a 2.x version from 2.7.0-pre.3 up to, but not including, 3.0.0. Every 2.x version is a pre-release. The version used in the test runs is 2.23.0-pre.1.
  • A Claude app that can connect to Unity’s server. See Connect your Claude app.

You do not need to sign in to install or compile the package. The package may log a notice that its asset-generation part needs a Unity AI subscription. Your Intrigues tools do not need it.

  1. Install the package. Add com.unity.ai.assistant to your project in a version inside the range above. One way is to add this line to dependencies in Packages/manifest.json:

    "com.unity.ai.assistant": "2.23.0-pre.1"

    You should see: Unity imports the package and compiles. The Console shows no red errors.

  2. Click once. Choose Tools > MrW > Intrigues > AI > Enable Unity MCP Tools (Preview). You should see: Unity recompiles scripts. A Console line starts with Intrigue Drafts: the Intrigues tools for the Unity MCP are switched on as a preview. The menu item now has a check mark. Choose it again to switch the preview off.

    Save the project (File > Save Project) after the click and after ticking tools. In the test, the define and the ticks were lost when the editor closed without saving.

    That click is the whole setup. The two parts, the package and the click, can be done in either order. The Intrigues tools compile once both are there.

  3. Look at the tools. Open Project Settings > AI > Unity MCP Server. You should see: the nine tools intrigues_status, intrigues_catalog, intrigues_inventory, intrigues_validate, intrigues_apply, intrigues_export, intrigues_open, intrigues_scene_actors and intrigues_scheme_report in the list of tools. They are on by default after the click. You can untick any of them.

  4. Connect your Claude app to Unity’s server: Connect your Claude app. You should see: your app lists the Unity tools, and the nine intrigues_* tools among them, as separate entries. Claude Code has been tested as a client of this route. The registration is in Connect your Claude app.

  5. Check. Ask Claude to check the connection. Claude calls intrigues_status. You should see: an answer with projectPath and workFolder, the database, and the Play mode and compile state. In the answer, adapters.unity has package, compiled, enabled and preview, and all four should be true.

  6. Keep Unity open and out of Play mode while Claude works.

On this route, the answer comes back in Unity’s own shape. success mirrors the report’s ok. message holds the summary, error is added when something failed, and data holds the whole report, with its problems. A check that finds errors therefore comes back with success false and the full report in data. That is not a failure of the tool. A top-level code does not reach the client: the code of a problem sits in data.problems[].code.

intrigues_apply refuses the shipped Demo database by design (X-PACKAGE-DATABASE). That is why it was not run in the test.

  • Untick a tool in Project Settings > AI > Unity MCP Server and Claude cannot use it. Your ticks are kept for every project on this computer, not in the project. A tool you unticked stays off, even when the tools are on by default. If intrigues_status is listed but intrigues_apply is not, a tool was unticked: tick it again.
  • The click is saved in the project. It adds a scripting define, INTRIGUES_UNITY_MCP_PREVIEW, to Player Settings, for every platform. Player Settings are part of the project files. If your project is under version control and your team shares the package line in Packages/manifest.json, a teammate who pulls the project gets the adapter without clicking.
  • Choose Tools > MrW > Intrigues > AI > Enable Unity MCP Tools (Preview) again. This removes the define and Unity recompiles.
  • Or choose Tools > MrW > Intrigues > AI > Unity MCP Tools (Enabled). It is greyed out until the preview is on. This adds the define INTRIGUES_MCP_UNITY_OFF. It is a compatibility switch for when a package update stops the project from compiling. It is not a permission.
What you see What to do
The Unity tools show up, but no intrigues_* tool Check that Enable Unity MCP Tools (Preview) and Unity MCP Tools (Enabled) are both on. Check the package version against the range above. Let Unity recompile
intrigues_status is listed but another Intrigues tool is not Open Project Settings > AI > Unity MCP Server and tick the missing tool
Calls from your app fail Check Project Settings > AI > Unity MCP Server for a pending connection from your client, and choose Allow. See Connect your Claude app
The X-ADAPTER-OFF answer Unity MCP Tools (Enabled) is off. Switch it on, or remove INTRIGUES_MCP_UNITY_OFF from Project Settings > Player > Other Settings > Scripting Define Symbols

If nothing helps, you can still work without an MCP server: see When Claude cannot connect or apply.

Connect your Claude app, then Your first session.