Skip to main content
Glama

get_unreal_project_path

Retrieve the file path of an active Unreal Engine project for integration with development tools.

Instructions

Get the current Unreal Project path

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Registration of the 'get_unreal_project_path' tool with inline handler. The handler checks if projectPath is set and returns it formatted as text content, or throws an error if not set.
    server.tool("get_unreal_project_path", "Get the current Unreal Project path", async () => { if (!projectPath) { throw new Error("Unreal Project path is not set") } return { content: [ { type: "text", text: `Unreal Project path: ${projectPath}`, }, ], } })
  • The async handler function that implements the tool logic: returns the Unreal project path if available.
    server.tool("get_unreal_project_path", "Get the current Unreal Project path", async () => { if (!projectPath) { throw new Error("Unreal Project path is not set") } return { content: [ { type: "text", text: `Unreal Project path: ${projectPath}`, }, ], } })

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