Skip to content

Route 1: CoplayDev MCP for Unity

Route 1 uses the CoplayDev package, MCP for Unity. There is nothing to click in Intrigues. When the package is in your project, the nine Intrigues tools are there.

  • Unity 2022.3. On Unity 6, runs are recorded on 6000.0.85f2 and 6000.6.11f1: see Versions and questions.
  • Intrigues in your project, with a database. See Install Intrigues.
  • The package com.coplaydev.unity-mcp, in a version of 10.3.0 or later and below 11.0.0. The Intrigues tools compile only for a version in that range.
  • A Claude app that can connect to the package’s server. See Connect your Claude app.
  1. Install the package. Install com.coplaydev.unity-mcp in your project, in a version inside the range above. The package’s own documentation says how. In the test runs it was installed from the git URL https://github.com/CoplayDev/unity-mcp.git?path=/MCPForUnity#main, which gave version 10.3.0. You should see: Unity imports the package and compiles scripts. The Console shows no new red errors.

  2. Wait for the recompile. Intrigues has a small adapter that compiles by itself when the package is there. You do nothing. You should see: when Unity finishes compiling, Tools > MrW > Intrigues > AI has an item MCP for Unity Tools (Enabled) with a check mark. It is on by default.

  3. Connect your Claude app to the package’s server. Follow the package’s own documentation, and see Connect your Claude app. You should see: your Claude app lists the server’s tools.

  4. Find the Intrigues tools. Depending on the package version, the nine tools show either as separate entries (a name ending in intrigues_status; in the recorded run on 6000.0.85f2 it was mcp__UnityMCP__intrigues_status) or behind the server’s tool execute_custom_tool, called with tool_name set to the tool’s name. Claude looks for both. You should see: tools ending in intrigues_status and the others, or a tool ending in execute_custom_tool, in your app’s tool list.

  5. Check. Ask Claude to check the connection. Claude calls intrigues_status directly, or through execute_custom_tool. You should see: an answer with projectPath and workFolder, the database, and the Play mode and compile state. In the answer, adapters.coplay says whether the package is loaded (package), the Intrigues tools are compiled (compiled) and the switch is on (enabled). The answer comes back under data. success mirrors the report’s ok.

    A real result on Unity 6000.0.85f2, trimmed. The dots mark what was cut:

    {"success":true,"message":"Intrigue Drafts 2.0.0. Database: Assets/MrW/Intrigues Demo/Database/Hollow Throne Database.asset (graph editor; a shipped database, read-only for Apply). The editor is ready.","data":{"ok":true,"op":"status","summary":"...","counts":{"errors":0,"...":"..."},"packageVersion":"2.0.0","editor":{"unity":"6000.0.85f2","playing":false},"adapters":{"coplay":{"compiled":true,"enabled":true},"unity":{"compiled":true,"enabled":true,"preview":true}},"databaseCounts":{"schemes":59,"clans":41,"...":"..."}}}
  6. Keep Unity open and out of Play mode while Claude works. Adding content is refused in Play mode and while Unity compiles.

What you see What to do
execute_custom_tool says the tool intrigues_status is unknown Unity has not compiled the Intrigues adapter yet. Claude can call the server’s refresh tool if one is listed, wait until Unity finishes compiling, and try once more
It stays unknown Check the package version against the range above. Check that MCP for Unity Tools (Enabled) is on in Tools > MrW > Intrigues > AI. Check adapters.coplay in a status answer, if you can get one
The server lists only some of its tools CoplayDev hides part of its tools until a tool group is switched on. Claude can list the groups with manage_tools and switch one on. It tells you which one
The project stops compiling after you update the package Switch the adapter off: see below

More in When Claude cannot connect or apply.

If an update of the package stops your project from compiling, turn the Intrigues adapter off.

  1. Choose Tools > MrW > Intrigues > AI > MCP for Unity Tools (Enabled) to remove the check mark. You should see: Unity recompiles scripts, and a Console line starts with Intrigue Drafts: the Intrigues tools for MCP for Unity are off.
  2. To turn it on again, choose the same item.

This is a compatibility switch, not a permission. Under the hood it adds the scripting define INTRIGUES_MCP_COPLAY_OFF. If the project does not compile and you cannot reach the menu, add that define by hand in Project Settings > Player > Other Settings > Scripting Define Symbols, and remove it to turn the adapter on again.

Connect your Claude app, then Your first session.