Skip to content

Npm command for Unity operations #493

@IvanMurzak

Description

@IvanMurzak

We need to have npm (or npx, what is better?) command line app for making basic Unity operations. Make the folder "GameDev-cli" for the project at the root of the repository. The app must be operational on Linux, Mac and Windows.

Commands:

  • Open Unity Project in Unity Editor
  • Install Unity MCP as a dependency into the Unity project with an option to install latest version or a specified.
  • Set list of enabled MCP Tools
  • Set list of enabled MCP Prompts
  • Set list of enabled MCP Resources
  • Open Unity and Enforce Unity MCP connection to specified URL to MCP server by calling a new C# method which you will need to develop specifically for this command. The method must be in Unity-MCP-Plugin project under Editor folder because it is only for Unity Editor.

To set list of MCP features you will need to modify json file or to create it if it doesn't exist yet. That is AI-Game-Developer-Config.json file. Which is generated usually by Unity-MCP-Plugin as only Unity Editor is opened with Unity MCP package installed.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestsuper-featureAn important feature that may improve the project drastically

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions