unity-api-mcp
An MCP server providing instant, accurate Unity API lookups for AI agents. It prevents hallucinated signatures and deprecated API usage by querying version-specific SQLite databases for Unity 6, 2023, and 2022 LTS. It supports tools like Claude Code, Cursor, and Windsurf without requiring a Unity installation.
Package and access
Local package with source-attributed installation metadata. Koskamo does not execute packages during review.
What you can do with it
- Find APIs by keyword
- Get exact method signatures with overloads
- Resolve using directives
- Check if an API is obsolete
Source and maintenance
- Maintenance checked
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
unity-api-mcp 2.1.1
{
"version": "2.1.1",
"transport": "stdio",
"identifier": "unity-api-mcp",
"runtimeHint": "uvx",
"registryType": "pypi",
"environmentVariables": [
{
"name": "UNITY_VERSION",
"format": "string",
"description": "Unity version to serve: 2022, 2023, or 6 (default: auto-detect or 6)"
},
{
"name": "UNITY_PROJECT_PATH",
"format": "string",
"description": "Path to Unity project for auto-detecting version from ProjectSettings/ProjectVersion.txt"
}
]
}Tools
Reported by the attributed source; not independently observed by Koskamo.
Connect from your client
Each snippet configures the same source-provided package; replace placeholders before use.
Cursor
{
"mcpServers": {
"unity-api-mcp": {
"command": "uvx",
"args": [
"unity-api-mcp==2.1.1"
],
"env": {
"UNITY_VERSION": "<YOUR_UNITY_VERSION>",
"UNITY_PROJECT_PATH": "<YOUR_UNITY_PROJECT_PATH>"
}
}
}
}Cline
{
"mcpServers": {
"unity-api-mcp": {
"command": "uvx",
"args": [
"unity-api-mcp==2.1.1"
],
"env": {
"UNITY_VERSION": "<YOUR_UNITY_VERSION>",
"UNITY_PROJECT_PATH": "<YOUR_UNITY_PROJECT_PATH>"
}
}
}
}VS Code
{
"servers": {
"unity-api-mcp": {
"type": "stdio",
"command": "uvx",
"args": [
"unity-api-mcp==2.1.1"
],
"env": {
"UNITY_VERSION": "<YOUR_UNITY_VERSION>",
"UNITY_PROJECT_PATH": "<YOUR_UNITY_PROJECT_PATH>"
}
}
}
}Claude Desktop
{
"mcpServers": {
"unity-api-mcp": {
"command": "uvx",
"args": [
"unity-api-mcp==2.1.1"
],
"env": {
"UNITY_VERSION": "<YOUR_UNITY_VERSION>",
"UNITY_PROJECT_PATH": "<YOUR_UNITY_PROJECT_PATH>"
}
}
}
}Let your agent find its tools
Find servers like unity-api-mcp from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.