File tree Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Original file line number Diff line number Diff line change @@ -67,6 +67,44 @@ To connect the MCP Server to tools like Claude Desktop or Cursor:
6767 - **Unity Bridge**: Should show "Running" when active.
6868 - **Python Server**: Should show "Connected" (green) when successfully linked.
6969
70+ ## Manual Configuration for MCP Clients
71+
72+ If you prefer to manually configure your MCP client (like Claude Desktop or Cursor), you can create the configuration file yourself:
73+
74+ 1. **Locate the Configuration Directory**
75+
76+ - **Windows**: `%APPDATA%\Claude\claude_desktop_config.json`
77+ - **macOS**: `~/Library/Application Support/Claude/claude_desktop_config.json`
78+
79+ 2. **Create the Configuration File**
80+ Create a JSON file with the following structure:
81+
82+ ```json
83+ {
84+ "mcpServers": {
85+ "unityMCP": {
86+ "command": "uv",
87+ "args": [
88+ "--directory",
89+ "/path/to/your/unity-mcp/Python",
90+ "run",
91+ "server.py"
92+ ]
93+ }
94+ }
95+ }
96+ ```
97+
98+ 3. **Find the Correct Python Path**
99+
100+ - If installed as a package: Look in `Library/PackageCache/com.justinpbarnett.unitymcpserver/Python`
101+ - If installed locally: Look in `Assets/unity-mcp/Python`
102+
103+ 4. **Verify Configuration**
104+ - Ensure the Python path points to the correct directory containing `server.py`
105+ - Make sure the `uv` command is available in your system PATH
106+ - Test the connection using the Unity MCP window
107+
70108## Usage
71109
72110Once configured, you can use the MCP Server to interact with LLMs directly from Unity or Python. Here are a couple of examples:
You can’t perform that action at this time.
0 commit comments