Unity API Documentation logo

Unity API Documentation

Versioned Unity API references for AI agents, including signatures, namespaces, class members, and deprecation checks.

Install Unity API Documentation

Pick your client, then add it in one click or paste the config.

STDIOPython
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "unity-api-documentation": {
      "command": "uvx",
      "args": [
        "unity-api-mcp"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Claude Code command
claude mcp add --transport stdio unity-api-documentation -- uvx unity-api-mcp

Run in your terminal. Add --scope project to share it with your team through .mcp.json.

Automated check passed— started and listed 5 tools correctly ().

Overview

Unity API Documentation MCP server gives AI agents access to version-specific Unity API reference data through five MCP tools. It selects a database from UNITY_VERSION, UNITY_PROJECT_PATH, or a default Unity 6 setting, then queries a local SQLite database after downloading and caching it. Coverage includes Unity 2022, Unity 2023, Unity 6, and several Unity packages; no Unity installation is needed. Reach for it when an agent needs exact overloads, namespaces, class members, or obsolete-API warnings.

Use cases

  • Verify Unity method overloads before generating C# code
  • Resolve the namespace for an unfamiliar Unity type
  • Inspect all members available on a Unity class
  • Check whether a Unity API is deprecated
  • Search Unity and supported package APIs by keyword

Key features

  • Version-specific Unity 2022, 2023, and Unity 6 databases
  • Exact method signatures and overloads
  • Namespace resolution
  • Class reference lookup
  • Deprecation warning checks
  • Automatic database download and local caching

Tools5

What Unity API Documentation lets your agent do. Expand a tool for its parameters.

Verified live~704 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

40/40 checks healthy over the last 117d

What it can do

From the 5 tools this server returned when we ran it.

Read-only tools · 5
Network at startup2 connections
Files written at startup12

Observed 2026-11-14 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 16d ago via OSV.dev · unity-api-mcp (PyPI)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars65Stargazers on the source repository.
Last commit1mo agoMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Install checkPassedOur sandbox started it and listed its tools.
Tools exposed5Callable tools this server registers over MCP.
Directory activity5 viewsConfig copies, upvotes, and views on AllMCPs.

How Unity API Documentation works

What the Unity API Documentation MCP server does

The Unity API Documentation MCP server supplies AI agents with reference data for Unity APIs instead of requiring them to infer signatures from examples or project code. Its databases cover Unity 2022 LTS, Unity 2023, and Unity 6, with separate databases for Unity 6 minor streams when available.

Coverage includes UnityEngine and UnityEditor modules, along with parsed package APIs for Input System, Addressables, uGUI, TextMeshPro on Unity 6, AI Navigation, and Netcode. The database contains class and member records, method signatures, and deprecation information. Third-party assets such as DOTween, VContainer, and Newtonsoft.Json are outside the stated coverage.

How it works

At startup, the server chooses the Unity version to serve. UNITY_VERSION takes precedence and accepts values such as 2022, 2023, 6, 6000.3, or a full Unity 6 version. If that variable is absent, UNITY_PROJECT_PATH points to a Unity project whose ProjectSettings/ProjectVersion.txt is read and mapped to a supported database version. Without either setting, the default is Unity 6.

If the selected database is not already cached, the server downloads it from GitHub to ~/.unity-api-mcp/. Cached data is checked against the current release when the server starts. Unity 6 minor streams use their own database when published and fall back to the generic Unity 6 database otherwise. Tool requests query the selected version's SQLite database.

Setup and configuration

Configure the server in an MCP settings file such as .mcp.json or mcp.json. The documented launcher uses uvx unity-api-mcp; installation through pip is also supported. Set UNITY_VERSION to select a release explicitly, or set UNITY_PROJECT_PATH to derive the version from an existing project. A Unity editor installation is not required.

The first launch downloads approximately 20–30 MB for the selected database. The project-path option is useful when the MCP configuration should follow the version recorded by a specific Unity project rather than a manually maintained setting.

Tools and capabilities

The Unity API Documentation MCP server exposes these tools:

  • search_unity_api finds APIs using a keyword or description.
  • get_method_signature returns exact method signatures and overloads.
  • get_namespace identifies the using directive for a type or API.
  • get_class_reference returns a class reference with its methods, fields, and properties.
  • get_deprecation_warnings checks whether an API is obsolete and reports the associated warning information.

Use the server before writing unfamiliar Unity calls, adding uncertain namespaces, or choosing between current and obsolete APIs. Its documented query latency is under 15 ms after the relevant database is available locally.

Limitations and notes

The Unity API Documentation MCP server does not document third-party assets listed in the project README. It also depends on the available version databases: a particular Unity patch or Unity 6 minor stream may use a mapped or fallback database when a dedicated stream database has not been published. New releases are detected and database builds are performed automatically each week, according to the project documentation.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Unity API Documentation

Unity API Documentation is an MCP server that connects AI agents to version-specific Unity API databases and provides search_unity_api, get_method_signature, get_namespace, get_class_reference, and get_deprecation_warnings. It covers Unity 2022, Unity 2023, and Unity 6, and does not require a Unity installation.

Install it with `pip install unity-api-mcp` or run it through `uvx unity-api-mcp` in your MCP configuration. Set `UNITY_VERSION` to a supported version, or use `UNITY_PROJECT_PATH` so the server reads the project's `ProjectVersion.txt`.

Set `UNITY_VERSION` to choose the version directly. If it is not set, the server reads `ProjectSettings/ProjectVersion.txt` under `UNITY_PROJECT_PATH`; if neither variable is provided, it uses Unity 6 by default.

Yes, Unity API Documentation works with Cursor. The README also names Claude Code and Windsurf as supported clients, and the server is exposed through the standard MCP configuration used by those tools.

No, it does not cover DOTween. The documented exclusions also include VContainer and Newtonsoft.Json; the server focuses on Unity modules and the listed supported Unity packages.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewUnity API Documentation AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/unity-api-documentation?style=directory)](https://allmcps.com/mcp/unity-api-documentation)
HTML Embed
<a href="https://allmcps.com/mcp/unity-api-documentation"><img src="https://allmcps.com/api/badge/unity-api-documentation?style=directory" alt="Unity API Documentation on AllMCPs" /></a>