set_unreal_engine_path
Specify the Unreal Engine installation path to ensure proper project configuration and compatibility within the unreal-mcp server environment.
Instructions
Set the Unreal Engine path
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes |
Implementation Reference
- server/index.ts:80-91 (handler)The handler function for the 'set_unreal_engine_path' tool. It sets the global 'enginePath' variable to the provided path and returns a text confirmation message.async ({ path }) => { enginePath = path return { content: [ { type: "text", text: `Unreal Engine path set to ${path}`, }, ], } },
- server/index.ts:77-79 (schema)The Zod input schema for the tool, defining a required 'path' parameter as a string.{ path: z.string(), },
- server/index.ts:74-92 (registration)The registration of the 'set_unreal_engine_path' tool using server.tool(), including name, description, schema, and inline handler.server.tool( "set_unreal_engine_path", "Set the Unreal Engine path", { path: z.string(), }, async ({ path }) => { enginePath = path return { content: [ { type: "text", text: `Unreal Engine path set to ${path}`, }, ], } }, )