Skip to content

Commit 066214a

Browse files
committed
uploaded new config to smithery
1 parent 7cfd525 commit 066214a

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

Server/smithery.yaml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,22 @@ startCommand:
33
type: stdio
44
configSchema:
55
# JSON Schema defining the configuration options for the MCP.
6-
{}
6+
type: object
7+
required:
8+
- ABSOLUTE_PATH_TO_mcp-unity
9+
properties:
10+
ABSOLUTE_PATH_TO_mcp-unity
11+
type: string
12+
description: "The absolute folder path where your mcp-unity package is installed. Go to the Unity Editor MCP Server window (Tools > MCP Unity > Server Window)"
713
commandFunction:
814
# A function that produces the CLI command to start the MCP on stdio.
915
|-
1016
(config) => ({
1117
"command": "node",
1218
"args": [
13-
"build/index.js"
14-
]
19+
`${config.ABSOLUTE_PATH_TO_mcp-unity}/build/index.js`
20+
],
21+
"env": {
22+
"UNITY_PORT": "8090"
23+
}
1524
})

0 commit comments

Comments
 (0)