MCP Catalogs
Homeunity-api-mcp screenshot

unity-api-mcp

by Codeturion·56·Score 48

Unity API MCP server providing instant, accurate Unity documentation lookup for AI agents.

developer-toolsai-llmproductivity
5
Forks
1
Open issues
3 mo ago
Last commit
2d ago
Indexed

Overview

Unity-api-mcp is an MCP server designed to help AI agents working with Unity development. It provides instant API lookups instead of expensive source file reads, saving tokens, context, and preventing hallucinations. The server supports Unity 2022 LTS, 2023, and Unity 6 with separate databases for each version, ensuring accurate version-specific information. It's particularly useful for AI-assisted Unity development workflows where accurate API documentation is critical.

Try asking AI

After installing, here are 5 things you can ask your AI assistant:

you:AI-assisted Unity development with accurate API documentation
you:Preventing hallucinated Unity API signatures in AI-generated code
you:Efficient Unity API lookup during complex multi-step research workflows
you:What Unity versions are supported?
you:Does this cover third-party assets like DOTween?

When to choose this

Choose this if you're working with Unity development and want accurate API documentation lookup to prevent hallucinations and reduce token usage in AI-assisted workflows.

When NOT to choose this

Not suitable for commercial use due to PolyForm Noncommercial license limitation; third-party Unity packages aren't covered.

Tools this server exposes

5 tools extracted from the README
  • search_unity_api

    Find Unity APIs by keyword

  • get_method_signature

    Get exact method signatures with all overloads

  • get_namespace

    Resolve C# using directives for Unity types

  • get_class_reference

    Get full class reference including all members

  • get_deprecation_warnings

    Check if a Unity API is deprecated or obsolete

Comparable tools

unreal-api-mcpunity-api-docs

Installation

Add to your MCP config (.mcp.json, mcp.json, or your tool's MCP settings), setting UNITY_VERSION to match your project:

{
  "mcpServers": {
    "unity-api": {
      "command": "uvx",
      "args": ["unity-api-mcp"],
      "env": {
        "UNITY_VERSION": "2022"
      }
    }
  }
}

Valid values: "2022", "2023", or "6".

On first run, the server downloads the correct database (~18-24 MB) to ~/.unity-api-mcp/.

Alternatively, you can install with pip: pip install unity-api-mcp and modify the configuration to use command": "unity-api-mcp" instead of uvx.

FAQ

What Unity versions are supported?
The server supports Unity 2022 LTS, 2023, and Unity 6 with separate databases for each version.
Does this cover third-party assets like DOTween?
No, third-party assets (DOTween, VContainer, Newtonsoft.Json) are not indexed. For those, rely on project source.

Compare unity-api-mcp with

GitHub →

Last updated · Auto-generated from public README + GitHub signals.