updated the installation steps in the readme

main
Justin Barnett 2025-03-18 13:26:12 -04:00
parent 14c566603c
commit 4d1c351364
1 changed files with 20 additions and 23 deletions

View File

@ -18,41 +18,38 @@ This project is perfect for developers who want to leverage LLMs to enhance thei
## Installation ## Installation
Getting started is simple! Follow these steps to add the Unity MCP Server to your project: Follow these simple steps to get started with the Unity MCP Server:
### Unity Package 1. **Add the Unity Package**
1. **Download the Package** - Open Unity Package Manager (`Window > Package Manager`)
Add via the Unity package manager using this link - Click the `+` button and select `Add package from git URL`
- Enter: `https://github.com/justinpbarnett/unity-mcp.git`
```text 2. **Set Up Python Environment**
https://github.com/justinpbarnett/unity-mcp.git
```
2. **Add to Unity** - Install [Python](https://www.python.org/downloads/) (version 3.7 or higher)
- Open Unity and navigate to `Window > Package Manager`. - Install `uv` package manager:
- Click the `+` button and select `Add package from disk...`.
- Locate the downloaded package and select the `package.json` file.
### Python Environment
1. **Prerequisites**
Ensure you have:
- **Python** (version 3.7 or higher) installed. Download it from [python.org](https://www.python.org/downloads/).
- **`uv`** installed for managing Python dependencies. Install it via:
```bash ```bash
pip install uv pip install uv
``` ```
- Navigate to `Assets/unity-mcp/Python` in your project
2. **Set Up the Python Server** - Install dependencies:
- Navigate to the `Python` directory within the package (e.g., `Assets/unity-mcp/Python`).
- Create a virtual environment and install dependencies:
```bash ```bash
uv venv uv venv
uv pip install -e . uv pip install -e .
``` ```
3. **Configure Claude Desktop**
- Open the Unity MCP window (`Window > Unity MCP`)
- Click the "Configure Claude" button
- Follow the on-screen instructions to set up the integration
4. **Start Claude Desktop**
- Launch Claude Desktop
- The Unity MCP Server will automatically connect
## Configuration ## Configuration
To connect the MCP Server to tools like Claude Desktop or Cursor: To connect the MCP Server to tools like Claude Desktop or Cursor: