Why this rank:Recent releaseHealthy release cadenceStrong adoption
Description
A toolkit for controlling Unity Editor externally via REST API, MCP (Model Context Protocol), and CLI.
README
UniCortex
Caution
This project is still under active development. The API and command structure may change without notice.
A toolkit for controlling Unity Editor externally via REST API, MCP (Model Context Protocol), and CLI.
Primarily designed for AI agents (Claude Code, Codex CLI, etc.) to operate Unity Editor through MCP. Also provides a CLI tool for terminal-based control.
Requirements
Unity 2022.3 or later
.NET 10 SDK (for MCP server and CLI)
Installation
Add via Unity Package Manager using a Git URL:
Open Package Manager
Click the + button
Select "Add package from git URL"
Enter the following URL:
https://github.com/VeyronSakai/UniCortex.git
MCP Server Setup
Add the following MCP server configuration to your MCP client's settings file (e.g., .mcp.json, claude_desktop_config.json, etc.). Refer to your client's documentation for the exact configuration location.
Replace /path/to/your/unity/project with the absolute path of your Unity project. After saving the configuration, restart the client to apply the changes.
The MCP server reads the port number from Library/UniCortex/config.json (written automatically when Unity Editor starts) and connects to the HTTP server.
No pre-build or tool installation is required. The MCP server is built and started automatically via dotnet run.
Alternatively, you can specify the URL directly via the UNICORTEX_URL environment variable (takes priority over UNICORTEX_PROJECT_PATH):
UniCortex also provides a CLI tool for controlling Unity Editor from the terminal:
# Set the Unity project pathexport UNICORTEX_PROJECT_PATH="/path/to/your/unity/project"# Run CLI commands
dotnet run --project "${UNICORTEX_PROJECT_PATH}/Library/PackageCache/com.veyron-sakai.uni-cortex@*/Tools~/UniCortex.Cli/" -- editor ping
dotnet run --project "${UNICORTEX_PROJECT_PATH}/Library/PackageCache/com.veyron-sakai.uni-cortex@*/Tools~/UniCortex.Cli/" -- scene hierarchy
dotnet run --project "${UNICORTEX_PROJECT_PATH}/Library/PackageCache/com.veyron-sakai.uni-cortex@*/Tools~/UniCortex.Cli/" -- gameobject find "t:Camera"
# Build all projects
dotnet build Tools~/UniCortex.Core/
dotnet build Tools~/UniCortex.Mcp/
dotnet build Tools~/UniCortex.Cli/
# Run tests
UNICORTEX_PROJECT_PATH=$(pwd)/Samples~ dotnet test Tools~/UniCortex.Core.Test/
# Run MCP server
dotnet run --project Tools~/UniCortex.Mcp/
# Run CLI
dotnet run --project Tools~/UniCortex.Cli/ -- editor ping
## Changes - Update files for release @[veyronsakai-app[bot]](https://github.com/apps/veyronsakai-app) (#173) - Add Timeline Play and Stop operations @VeyronSakai (#172) - Add Movie Recorder feature using Unity Recorder @VeyronSakai (#162)
High
4/8/2026
0.1.26
## Changes - Update files for release @[veyronsakai-app[bot]](https://github.com/apps/veyronsakai-app) (#171) - Remove time scale feature @VeyronSakai (#170) - Prevent physical device state from leaking into simulated input and retry transient 5xx errors @VeyronSakai (#168) - Unify save\_prefab and save\_scene into a single save tool @VeyronSakai (#167)
Medium
4/6/2026
0.1.25
## Changes - Update files for release @[veyronsakai-app[bot]](https://github.com/apps/veyronsakai-app) (#166) - Add set\_game\_view\_size and get\_game\_view\_size\_list MCP tools @VeyronSakai (#164)
Medium
4/2/2026
0.1.24
## Changes - Update files for release @[veyronsakai-app[bot]](https://github.com/apps/veyronsakai-app) (#165) - Add get\_game\_view\_size MCP tool and move screen size out of editor status @VeyronSakai (#163) - Bump reviewdog/action-actionlint from 1.71.0 to 1.72.0 @[dependabot[bot]](https://github.com/apps/dependabot) (#161)
Medium
4/2/2026
0.1.23
## Changes - Update files for release @[veyronsakai-app[bot]](https://github.com/apps/veyronsakai-app) (#160) ## Bug Fixes - Use fully qualified UnityEngine.Object.DestroyImmediate @VeyronSakai (#159)
Medium
3/29/2026
0.1.22
## Changes - Update files for release @[veyronsakai-app[bot]](https://github.com/apps/veyronsakai-app) (#158)
Medium
3/29/2026
0.1.21
## Changes - Rename capture\_game\_view to capture\_screenshot and add view focus tools @VeyronSakai (#157) - Update files for release @[veyronsakai-app[bot]](https://github.com/apps/veyronsakai-app) (#155) - Fix get\_scene\_hierarchy and find\_game\_objects in Prefab Mode @VeyronSakai (#152) - Make query required for find\_game\_objects @VeyronSakai (#154) - Fix broken CLI Commands table in README @VeyronSakai (#151)
Medium
3/29/2026
0.1.20
## Changes - Update files for release @[veyronsakai-app[bot]](https://github.com/apps/veyronsakai-app) (#150) - Add save\_prefab for explicit Prefab Mode saves @VeyronSakai (#148) - Make prefab dirty between open and close in test @VeyronSakai (#149)
## Changes - Update files for release @[veyronsakai-app[bot]](https://github.com/apps/veyronsakai-app) (#141) - Fix capture\_game\_view to include UI overlays and remove capture\_scene\_view @VeyronSakai (#140)
Medium
3/24/2026
0.1.15
## Changes - Update files for release @[veyronsakai-app[bot]](https://github.com/apps/veyronsakai-app) (#139) - Add set\_time\_scale and get\_time\_scale tools @VeyronSakai (#138)
Medium
3/24/2026
0.1.14
## Changes - Update files for release @[veyronsakai-app[bot]](https://github.com/apps/veyronsakai-app) (#137) - Bump EndBug/add-and-commit from 9.1.4 to 10.0.0 @[dependabot[bot]](https://github.com/apps/dependabot) (#136) - Add UI Button click integration tests and document mouse coordinate system @VeyronSakai (#134)
Medium
3/24/2026
0.1.13
## Changes - Update files for release @[veyronsakai-app[bot]](https://github.com/apps/veyronsakai-app) (#133) - Rename UseCase instance suffix from Service to UseCase @VeyronSakai (#132) - Add [Argument] attribute to all CLI positional parameters @VeyronSakai (#131) - Add capture\_game\_view and capture\_scene\_view MCP tools @VeyronSakai (#129)
Low
3/22/2026
0.1.12
## Changes - Update files for release @[veyronsakai-app[bot]](https://github.com/apps/veyronsakai-app) (#128) - Introduce UnityEditorClient to eliminate HTTP boilerplate @VeyronSakai (#127) - Add Timeline MCP tools @VeyronSakai (#126) - Remove ProjectSettings references from SPEC.md @VeyronSakai (#125) - Bump release-drafter/release-drafter from 7.0.0 to 7.1.1 @[dependabot[bot]](https://github.com/apps/dependabot) (#124) - Remove input workflow from step\_editor description @VeyronSakai (#122)
Low
3/21/2026
0.1.11
## Changes - Add pause and step editor tools to README @VeyronSakai (#121) - Update files for release @[veyronsakai-app[bot]](https://github.com/apps/veyronsakai-app) (#120) - Add pause/step editor tools and Mermaid architecture diagram @VeyronSakai (#119) - Add pause\_editor and step\_editor MCP tools for frame-by-frame game control @VeyronSakai (#118) - Bump release-drafter/release-drafter from 6.4.0 to 7.0.0 @[dependabot[bot]](https://github.com/apps/dependabot) (#117) - Bump dorny/paths-fil
Low
3/16/2026
0.1.10
## Changes - Update files for release @[veyronsakai-app[bot]](https://github.com/apps/veyronsakai-app) (#114) - Add parameter descriptions to CLI command help @VeyronSakai (#113) - Add DRAFT\_README.md to release workflow @VeyronSakai (#112) - Remove outdated Settings section from README @VeyronSakai (#111) - Delete TASK.md @VeyronSakai (#110) - Extract SessionState port key into a constant @VeyronSakai (#109) - Improve Play Mode stability: run HTTP server on thread pool @VeyronSakai (#108) - A
Low
3/16/2026
0.1.9
## Changes - Update files for release @[veyronsakai-app[bot]](https://github.com/apps/veyronsakai-app) (#106) - Reduce editor poll timeout to 30s @VeyronSakai (#105)
Low
3/12/2026
0.1.8
## Changes - Update files for release @[veyronsakai-app[bot]](https://github.com/apps/veyronsakai-app) (#103) - Support ObjectReference in set\_component\_property @VeyronSakai (#102)
Low
3/12/2026
0.1.7
## Changes - Update files for release @[veyronsakai-app[bot]](https://github.com/apps/veyronsakai-app) (#101) - Fix tests asmdef name @VeyronSakai (#100)
Low
3/11/2026
0.1.6
## Changes - Update files for release @[veyronsakai-app[bot]](https://github.com/apps/veyronsakai-app) (#99) - Remove Project Settings UI and always auto-start server @VeyronSakai (#98)
Low
3/11/2026
0.1.5
## Changes - Update files for release @[veyronsakai-app[bot]](https://github.com/apps/veyronsakai-app) (#97) - Suppress INFO logs in CLI @VeyronSakai (#96) - Fix CLI usage paths in README to use UNICORTEX\_PROJECT\_PATH @VeyronSakai (#94) - Quote UNICORTEX\_PROJECT\_PATH in README CLI bash examples @[copilot-swe-agent[bot]](https://github.com/apps/copilot-swe-agent) (#95) - Increase editor polling interval and timeout @VeyronSakai (#93) - Consolidate DomainReloadUseCase into EditorUseCase @Veyr
Low
3/11/2026
0.1.4
## Changes - Update files for release @[veyronsakai-app[bot]](https://github.com/apps/veyronsakai-app) (#81) - Change IRequestContext.HttpMethod type from string to HttpMethodType @VeyronSakai (#80) - Reject run\_tests request during play mode @VeyronSakai (#78) - Add create\_scene MCP tool and prevent Scene Modified dialog @VeyronSakai (#77) - Add verbose query parameter to /ping endpoint @VeyronSakai (#76) - Add testNames, groupNames, categoryNames, assemblyNames to run\_tests @VeyronSakai (#
Low
3/8/2026
0.1.3
## Changes - Update files for release @[veyronsakai-app[bot]](https://github.com/apps/veyronsakai-app) (#63) - Remove CLAUDE.md from git tracking @VeyronSakai (#62) ## Bug Fixes - Use shell glob pattern for MCP server path @VeyronSakai (#59)
Low
3/4/2026
0.1.2
## Changes - Update files for release @[veyronsakai-app[bot]](https://github.com/apps/veyronsakai-app) (#61) - Update files for release @[veyronsakai-app[bot]](https://github.com/apps/veyronsakai-app) (#58) ## Bug Fixes - Skip server startup in AssetImportWorkerProcess @VeyronSakai (#60)
Low
3/4/2026
0.1.1
## Changes - Update files for release @[veyronsakai-app[bot]](https://github.com/apps/veyronsakai-app) (#58) - Update files for release @[veyronsakai-app[bot]](https://github.com/apps/veyronsakai-app) (#57) - Revert "Update files for release" @VeyronSakai (#56) - Use GitHub App token for checkout @VeyronSakai (#55) - Update files for release @[veyronsakai-app[bot]](https://github.com/apps/veyronsakai-app) (#54) - Fix package.json @VeyronSakai (#53) - Add .meta files for docs and update .gitigno
Low
3/4/2026
0.1.0
## Changes - Update API endpoints in documentation @VeyronSakai (#2) - add docs @VeyronSakai (#1) ## Features - Implement ping endpoint with server infrastructure @VeyronSakai (#3)
Low
2/15/2026
Dependencies & License Audit
Loading dependencies...
Similar Packages
PerformanceStudioFree, open-source SQL Server execution plan analyzer â cross-platform GUI + CLI with 30 analysis rules, missing index detection, SSMS extension. Built-in MCP server for AI-assisted plan review.v1.12.0
Perigon.CLIThis is a tool that helps you quickly build backend services based on Asp.Net Core and EF Core. It provides command line, WebUI and IDE MCP support. In a well-designed project architecture that has bev10.0.0
mcp-dotnet-samplesA comprehensive set of samples of creating and using MCP servers and clients with .NETmain@2026-06-05
ksailAll-in-one Kubernetes SDK: create, manage, and operate clusters across distributions (Kind, K3d, Talos, VCluster) with built-in GitOps, secrets, AI assistant, and MCP server. Only requires Docker.v7.26.0
AstrBotAgentic IM Chatbot infrastructure that integrates lots of IM platforms, LLMs, plugins and AI feature, and can be your openclaw alternative. â¨
agentscopeBuild and run agents you can see, understand and trust.
claude-plugins-officialOfficial, Anthropic-managed directory of high quality Claude Code Plugins.
langchain4jLangChain4j is an open-source Java library that simplifies the integration of LLMs into Java applications through a unified API, providing access to popular LLMs and vector databases. It makes impleme