Skip to main content
Glama

get_unreal_engine_path

Retrieve the current Unreal Engine installation path for access and configuration tasks within the unreal-mcp server environment.

Instructions

Get the current Unreal Engine path

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The inline handler function for the 'get_unreal_engine_path' tool. It checks if enginePath is set and returns it as text content if available. This also serves as the registration since the handler is defined inline in the server.tool call.
    server.tool("get_unreal_engine_path", "Get the current Unreal Engine path", async () => { if (!enginePath) { throw new Error("Unreal Engine path is not set") } return { content: [ { type: "text", text: `Unreal Engine path: ${enginePath}`, }, ], } })
  • Registration of the 'get_unreal_engine_path' tool using server.tool, including the inline handler implementation. No separate schema as it takes no parameters.
    server.tool("get_unreal_engine_path", "Get the current Unreal Engine path", async () => { if (!enginePath) { throw new Error("Unreal Engine path is not set") } return { content: [ { type: "text", text: `Unreal Engine path: ${enginePath}`, }, ], } })
  • Global variable used by the get_unreal_engine_path tool to store the Unreal Engine path, set via the companion set_unreal_engine_path tool.
    let enginePath: string | undefined = undefined

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