
Security News
White House Authorizes Private Companies to Conduct Offensive Cyber Operations
A new federal program will let vetted U.S. cybersecurity firms help investigate and disrupt foreign cybercrime groups under government direction.
unity-mcp-server
Advanced tools
Lightweight MCP server for any Unity project - project info, build scenes, agent docs (no Unity Editor required)
MCP server for Unity — A lightweight Model Context Protocol (MCP) server that gives AI assistants structured access to your Unity projects. Use with Cursor, Claude Desktop, or any MCP client. Query project metadata, build settings, and agent documentation from any MCP-capable client—without running the Unity Editor.
Unity MCP Server runs as a separate process and reads your Unity project from disk. Point it at any project root via UNITY_PROJECT_PATH; one installation can serve multiple projects by changing the environment variable in your client config.
Key points:
Project & build — get_project_info, list_build_scenes, get_player_settings, list_packages, get_quality_settings, get_scripting_defines, get_project_version, get_changelog
Code & assemblies — list_assemblies, list_scripts, find_scripts_by_content
Scenes & prefabs — list_all_scenes, get_scene_summary, list_prefabs
Assets & references — get_asset_folder_tree, list_assets_by_extension, find_references (by path or GUID)
Materials & shaders — list_materials, list_shaders
Animation — list_animator_controllers, list_animation_clips, get_animator_states
Audio — list_audio_clips, list_audio_mixers
Addressables & localization — get_addressables_info, get_localization_tables
Input, tags & layers — get_input_axes, get_tags_and_layers
Testing & docs — list_test_assemblies, get_repo_docs, read_agent_docs
All tools read from the project filesystem only; no Unity Editor is required.
git clone https://github.com/YOUR_USERNAME/unity-mcp-server.git
cd unity-mcp-server
npm install
npm run build
The server is invoked via stdio. Your MCP client starts it; you do not run it manually in production.
Add the following to your MCP settings (project or user):
{
"mcpServers": {
"unity": {
"command": "node",
"args": ["/absolute/path/to/unity-mcp-server/dist/index.js"],
"env": {
"UNITY_PROJECT_PATH": "/absolute/path/to/YourUnityProject"
}
}
}
}
Replace:
/absolute/path/to/unity-mcp-server/dist/index.js with the path to this repository’s built entry point./absolute/path/to/YourUnityProject with the absolute path to your Unity project root.Use the same pattern: run node with dist/index.js as the argument and set UNITY_PROJECT_PATH in the environment. Refer to your client’s documentation for where to configure MCP servers.
node dist/index.js (after npm run build)npm run dev or npx tsx src/index.tsThis repository contains only generic tooling: no game code, assets, API keys, or secrets. The Unity project path is provided at runtime by your MCP client and is not stored in this repo. Safe to use in public or private contexts. The project is maintained anonymously; no author attribution is required.
See PURPOSE.md for the rationale behind this server and when it is useful for your workflow.
Search for Unity MCP server, MCP Unity, or Model Context Protocol Unity to find this repo. You can also browse the MCP Registry for published servers (this server may be listed there once submitted).
FAQs
Lightweight MCP server for Unity - project info, Unity 6 coverage, AI/ML discovery, 39 agent skills, 130+ tools (no Unity Editor required)
The npm package unity-mcp-server receives a total of 117 weekly downloads. As such, unity-mcp-server popularity was classified as not popular.
We found that unity-mcp-server demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
A new federal program will let vetted U.S. cybersecurity firms help investigate and disrupt foreign cybercrime groups under government direction.

Research
/Security News
The campaign amassed more than 75,000 installs by targeting Russian-speaking users seeking access to blocked services.

Company News
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.