Skip to main content
Glama

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
NameRequiredDescriptionDefault
pathYes

Implementation Reference

  • 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}`, }, ], } },
  • 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}`, }, ], } }, )

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/runreal/unreal-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server