unity-mcp icon indicating copy to clipboard operation
unity-mcp copied to clipboard

[Feature] 3rd party asset bridge

Open flashwade03 opened this issue 10 months ago • 2 comments

Description

This feature introduces a Third Party Integration System for MCP for Unity, along with the first integration: Soap MCP Bridge.

What's included:

  1. Third Party Tab in MCP for Unity Editor Window
  • New "Third Party" tab in Window > MCP for Unity > Toggle MCP Window
  • Auto-detects installed assets (via assembly detection)
  • One-click Install/Uninstall for integration packages
  • Registry system for managing multiple integrations
  1. Soap MCP Bridge (ThirdParty/SoapMcpBridge/)
  • Independent UPM package for https://assetstore.unity.com/packages/tools/utilities/soap-scriptableobject-architecture-pattern-232107
  • New tool: manage_soap_variable with 8 actions:
    • create - Create new ScriptableVariable assets
    • list - Find all variables in project (with type filtering)
    • get / set / set_silent - Read/write variable values
    • reset - Restore to initial value
    • save / load - PlayerPrefs persistence
  • Supports 11 variable types: Int, Float, Bool, String, Vector2, Vector3, Vector2Int, Color, Quaternion, GameObject, Component
  • Supports SOAP Event prefabs
  1. Distribution Methods
  • Git URL: https://github.com/CoplayDev/unity-mcp.git?path=/ThirdParty/SoapMcpBridge
  • Manual .unitypackage import
  • One-click install via MCP for Unity UI

Goal

Enable AI assistants to work with popular Unity Asset Store packages through a modular plugin architecture.

Why this matters:

  • Unity developers use many third-party assets that have their own APIs and patterns
  • Unfortunately MCP currently can't interact with these asset-specific features
  • This system allows community-contributed integrations without bloating the core package

Why Soap as the first integration:

  • Soap enforces clean separation between logic and data through ScriptableObject-based architecture
  • This separation makes it ideal for vibe coding - AI can manipulate game data (variables, events) without touching complex gameplay logic
  • Personally, I use Soap in all my Unity projects, so this integration directly addresses a real workflow need

Example use cases with Soap: "Create a Float variable called PlayerHealth with initial value 100" "Set EnemyCount to 5" "List all Bool variables in the project" "Reset PlayerScore to its initial value"

Future integrations (roadmap):

  • DOTween MCP Bridge
  • Odin Inspector MCP Bridge
  • And more community contributions...
Image

flashwade03 avatar Jan 15 '26 11:01 flashwade03

Thanks for the submission. I'm a bit unclear on the added utility here. Can't the agents already use the 3rd party assets, or if we want the mcp to do it, you can create custom unity mcp tools for your particular setup and packages. Does this concept go beyond that? The soap example didn't quite land with me -- I don't use soap but I did build the mcp's scriptable object tooling, and it's worked quite well for me. So just trying to understand where the current system falls short here

dsarno avatar Feb 17 '26 14:02 dsarno

Oh, thank you for the question. This idea was inspired by a popular asset called "Dialogue System for Unity." I saw that this asset supports third-party integrations to create better synergy with other assets. The key part of this idea isn't about which assets will be supported, but rather how Unity MCP can provide optimized answers for some people with fewer tokens.

To illustrate the scriptable object creation example you provided, there's a certain degree of accuracy in what Unity provides out of the box. This is made possible by consistent rules for accessing source code within Unity projects and by universal knowledge repositories like context7.

However, even with assets as popular as SOAP, which inevitably have a smaller shared knowledge base than the engine itself, problems are more likely to arise. Even though SOAP extends scriptable objects, it imposes restrictions on usage for broader functionality, increasing the likelihood that LLM will misuse the asset at the expense of more tokens.

So, I came up with this idea, and while developing, I implemented the Unity assets I frequently use using MCP's third-party features. I noticed a significant reduction in development errors compared to before.

I believe the advantage of using Unity is the ease with which I can easily integrate assets created by others into my project. So, I thought this idea might be practically useful.

However, your thoughts make a lot of sense. In fact, many improvements have been made since the recent release of Claude's model. I've recently come to the conclusion that this might be better implemented as new mcp or claude skills rather than as an add-on to unity-mcp, as you suggest.

Therefore, I'll close this issue. Thanks!

flashwade03 avatar Feb 18 '26 14:02 flashwade03