kvick-games/UnrealMCP
MCP to allow AI agents to control Unreal
f989d0e77a4bPaths from tool input into commands, SQL, files and URLs
How much power the tools give an agent over the machine
Hidden instructions and poisoning in text for the model
Known vulnerabilities in the packages the server uses
How the server reads credentials and where they can go
Whether the tools do only what their descriptions say
How far the analysis went
The scanner traces each tool from its input to the operations its code performs, and here it could not follow every path. Code Safety and Capability Exposure are shown as partly traced instead of a score: no finding there is not a clean result.
- In 7 places a tool's input is handed to a function whose name matches several definitions in the code; the scanner could not tell which one runs, so it stopped there
Top risks in plain words
- INFONo published risk: no tool declared to run commands, files, addresses or queries of the caller's choice, no known vulnerability in a production package, no advisory. Not every path through the code could be followed. Code findings appear here only after a person has verified them.
How to use it safely
Practical steps from what we found in this server. They lower the risk; they do not replace a review of the code.
- Keep confirmations on
Leave your MCP client's confirmation prompt on for tools that change files, run commands or send data.
What its tools can do on your machine
The server offers 10 tools. When an AI agent calls them, this is what their code can do on the machine where the server runs, as traced in the source. Tools that call code the scanner could not follow may do more.
None of the tools reaches any of these in the code the scanner could trace.
Where its requests and secrets go
Read from the names along each tool's calls, not from a run: what the code says, not every address it may reach at run time.
The literal addresses the tools' requests name.
- None: no request names a fixed host.
Constants or settings that start an address; the value comes from configuration.
- None seen.
Credential-like environment variables. Give the server a key with the least access it needs.
- None: no credential-like variable is read by the tools.
Text it brings in from outside
No tool was seen returning text from outside the server to the model.
Tool annotations
No tool declares MCP annotations (readOnlyHint, destructiveHint and the rest). Clients use them to decide what to confirm; directories such as Anthropic's and OpenAI's ask for them.
Tools, prompts and resources (10: 10 tools)
Open a row for its full description. Chips show what its code can reach, and which risky capability its own description declares.
create_materialtool Create a new material in the Unreal project.
Create a new material in the Unreal project.
Args:
package_path: The path where the material should be created (e.g., '/Game/Materials')
name: The name of the material
properties: Optional dictionary of material properties to set. Can include:
- shading_model: str (e.g., "DefaultLit", "Unlit", "Subsurface", etc.)
- blend_mode: str (e.g., "Opaque", "Masked", "Translucent", etc.)
- two_sided: bool
- dithered_lod_transition: bool
- cast_contact_shadow: bool
- base_color: list[float] (RGBA values 0-1)
- metallic: float (0-1)
- roughness: float (0-1)create_objecttool Create a new object in the Unreal scene.
Create a new object in the Unreal scene.
Args:
type: The type of object to create (e.g., 'StaticMeshActor', 'PointLight', etc.)
location: Optional 3D location as [x, y, z]
label: Optional label for the objectdelete_objecttool Delete an object from the Unreal scene.
Delete an object from the Unreal scene.
Args:
name: The name of the object to deleteexecute_pythontool Execute Python code or a Python script file in Unreal Engine.
Execute Python code or a Python script file in Unreal Engine.
This function allows you to execute arbitrary Python code directly in the Unreal Engine
environment. You can either provide Python code as a string or specify a path to a Python
script file to execute.
The Python code will have access to the full Unreal Engine Python API, including the 'unreal'
module, allowing you to interact with and manipulate the Unreal Engine editor and its assets.
Args:
code: Python code to execute as a string. Can be multiple lines.
file: Path to a Python script file to execute.
Note:
- You must provide either code or file, but not both.
- The output of the Python code will be visible in the Unreal Engine log.
- The Python code runs in the Unreal Engine process, so it has full access to the engine.
- Be careful with destructive operations as they can affect your project.
Examples:
# Execute simple Python code
execute_python(code="print('Hello from Unreal Engine!')")
# Get information about the current level
execute_python(code='''
import unreal
level = unreal.EditorLevelLibrary.get_editor_world()
print(f"Current level: {level.get_name()}")
actors = unreal.EditorLevelLibrary.get_all_level_actors()
print(f"Number of actors: {len(actors)}")
''')
# Execute a Python script file
execute_python(file="D:/my_scripts/create_assets.py")get_actor_counttool Get the number of actors in the current Unreal Engine scene.
Get the number of actors in the current Unreal Engine scene.
get_material_infotool Get information about a material.
Get information about a material.
Args:
path: The full path to the material (e.g., '/Game/Materials/MyMaterial')
Returns:
Dictionary containing material information including:
- name: str
- path: str
- shading_model: str
- blend_mode: str
- two_sided: bool
- dithered_lod_transition: bool
- cast_contact_shadow: bool
- base_color: list[float]
- metallic: float
- roughness: floatget_scene_infotool Get detailed information about the current Unreal scene.
Get detailed information about the current Unreal scene.
modify_materialtool Modify an existing material's properties.
Modify an existing material's properties.
Args:
path: The full path to the material (e.g., '/Game/Materials/MyMaterial')
properties: Dictionary of material properties to set. Can include:
- shading_model: str (e.g., "DefaultLit", "Unlit", "Subsurface", etc.)
- blend_mode: str (e.g., "Opaque", "Masked", "Translucent", etc.)
- two_sided: bool
- dithered_lod_transition: bool
- cast_contact_shadow: bool
- base_color: list[float] (RGBA values 0-1)
- metallic: float (0-1)
- roughness: float (0-1)modify_objecttool Modify an existing object in the Unreal scene.
Modify an existing object in the Unreal scene.
Args:
name: The name of the object to modify
location: Optional 3D location as [x, y, z]
rotation: Optional rotation as [pitch, yaw, roll]
scale: Optional scale as [x, y, z]my_custom_tooltool
No description.
Text the model reads (10)
Every tool, prompt and resource description as written in the code: the model sees all of it, the user usually does not.
create_material tool
Create a new material in the Unreal project.
Args:
package_path: The path where the material should be created (e.g., '/Game/Materials')
name: The name of the material
properties: Optional dictionary of material properties to set. Can include:
- shading_model: str (e.g., "DefaultLit", "Unlit", "Subsurface", etc.)
- blend_mode: str (e.g., "Opaque", "Masked", "Translucent", etc.)
- two_sided: bool
- dithered_lod_transition: bool
- cast_contact_shadow: bool
- base_color: list[float] (RGBA values 0-1)
- metallic: float (0-1)
- roughness: float (0-1)modify_material tool
Modify an existing material's properties.
Args:
path: The full path to the material (e.g., '/Game/Materials/MyMaterial')
properties: Dictionary of material properties to set. Can include:
- shading_model: str (e.g., "DefaultLit", "Unlit", "Subsurface", etc.)
- blend_mode: str (e.g., "Opaque", "Masked", "Translucent", etc.)
- two_sided: bool
- dithered_lod_transition: bool
- cast_contact_shadow: bool
- base_color: list[float] (RGBA values 0-1)
- metallic: float (0-1)
- roughness: float (0-1)get_material_info tool
Get information about a material.
Args:
path: The full path to the material (e.g., '/Game/Materials/MyMaterial')
Returns:
Dictionary containing material information including:
- name: str
- path: str
- shading_model: str
- blend_mode: str
- two_sided: bool
- dithered_lod_transition: bool
- cast_contact_shadow: bool
- base_color: list[float]
- metallic: float
- roughness: floatexecute_python tool
Execute Python code or a Python script file in Unreal Engine.
This function allows you to execute arbitrary Python code directly in the Unreal Engine
environment. You can either provide Python code as a string or specify a path to a Python
script file to execute.
The Python code will have access to the full Unreal Engine Python API, including the 'unreal'
module, allowing you to interact with and manipulate the Unreal Engine editor and its assets.
Args:
code: Python code to execute as a string. Can be multiple lines.
file: Path to a Python script file to execute.
Note:
- You must provide either code or file, but not both.
- The output of the Python code will be visible in the Unreal Engine log.
- The Python code runs in the Unreal Engine process, so it has full access to the engine.
- Be careful with destructive operations as they can affect your project.
Examples:
# Execute simple Python code
execute_python(code="print('Hello from Unreal Engine!')")
# Get information about the current level
execute_python(code='''
import unreal
level = unreal.EditorLevelLibrary.get_editor_world()
print(f"Current level: {level.get_name()}")
actors = unreal.EditorLevelLibrary.get_all_level_actors()
print(f"Number of actors: {len(actors)}")
''')
# Execute a Python script file
execute_python(file="D:/my_scripts/create_assets.py")get_scene_info tool
Get detailed information about the current Unreal scene.
create_object tool
Create a new object in the Unreal scene.
Args:
type: The type of object to create (e.g., 'StaticMeshActor', 'PointLight', etc.)
location: Optional 3D location as [x, y, z]
label: Optional label for the objectmodify_object tool
Modify an existing object in the Unreal scene.
Args:
name: The name of the object to modify
location: Optional 3D location as [x, y, z]
rotation: Optional rotation as [pitch, yaw, roll]
scale: Optional scale as [x, y, z]delete_object tool
Delete an object from the Unreal scene.
Args:
name: The name of the object to deletemy_custom_tool tool
get_actor_count tool
Get the number of actors in the current Unreal Engine scene.
What we checked
The same checks run on every server. Each line below has one of these marks:
- 8 checks: command injection, argument injection, path traversal, server-side request forgery, SQL injection, code execution, unsafe deserialization, template injectionChecked on every scan. Results in this category are published only after a person has verified them.
- Runs programs the caller choosesNo tool runs a command or program the caller supplies — 10 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Executes caller-supplied codeNo tool evaluates code the caller supplies — 10 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Reads or writes any file pathNo tool works on a file path the caller supplies without a root check — 10 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Requests any addressNo tool sends a request to an address the caller supplies — 10 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Runs caller-supplied SQLNo tool executes a query the caller supplies — 10 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Tools that start processesNot seen in the traced code of 10 capabilities; 9 more call code the scanner could not follow, where it may happen
- Tools that touch filesNot seen in the traced code of 10 capabilities; 9 more call code the scanner could not follow, where it may happen
- Tools that call the networkNot seen in the traced code of 10 capabilities; 9 more call code the scanner could not follow, where it may happen
Where the code is: 10 handlers in 4 files at commit f989d0e77a4b
- 5 checks: tool poisoning, instruction override, hidden content, exfiltration requests, metadata integrityChecked on every scan. Results in this category are published only after a person has verified them.
- Dependency manifests1 manifest: MCP/requirements.txt
- Lockfiles checked against OSV1 file resolved and checked against the OSV database; 1 not resolved: MCP/requirements.txt: 1 dependency line carries no exact version, so the installed version was not checked; pin them or add a lockfile
- Known vulnerabilities in production dependenciesNo production dependency with a known advisory
- Known vulnerabilities in other dependenciesNo package used only for development, tests or examples has a known advisory
- MCP SDK versionmcp >=0.1.0
- 3 checks: credential harvesting, undeclared credential access, credentials sent over the networkChecked on every scan. Results in this category are published only after a person has verified them.
- Tools that read credentialsNot seen in the traced code of 10 capabilities; 9 more call code the scanner could not follow, where it may happen
- Authentication declaredNot checked: needs the live server's tools/list (a remote server declares how clients authenticate)
- 3 checks: undeclared network access, undeclared file access, undeclared process executionChecked on every scan. Results in this category are published only after a person has verified them.
- Tool descriptions presentEvery tool has a description the model and the user can read (1 only in code no tool reaches)
- Statically known namesEvery tool's name could be read from the code
- Input schemasNot checked: needs the live server's tools/list (every tool declares an input schema)
- Destructive tools annotatedNot checked: needs the live server's tools/list (tools that write, delete or run commands carry destructivehint)
Dependencies with known vulnerabilities (0 in production)
Dependency ranges were not resolved against a lockfile, so the score is capped at 7.
No known vulnerabilities in the production dependencies that could be checked.
Past security advisories
Vulnerabilities published for this server itself, from the GitHub Advisory Database.
No security advisories have been published for this server in the GitHub Advisory Database.
How it runs
| Where it runs | On your machine, started by your MCP client from this repository or its package |
|---|---|
| Transport | stdio |
| Sign-in | not checked needs the live server |
| MCP SDK | mcp >=0.1.0 |
| Servers in the code | 1 (UnrealMCP) |
The project's own security
| Security policy | none no SECURITY.md in the repository: report issues privately through GitHub if it is enabled |
|---|---|
| Past advisories | none in the GitHub Advisory Database |
| Last push | 2025-06-22 |
| Signed releases | not checked yet |
Where it is published
| Listed in | 3 catalogs (awesome_tensorblock, github_search, mcpservers_org) |
|---|---|
| License | not stated |
| Created | 2025-03-12 |
Attack map
How the server is built and where its risky tools lead: servers, their tools, what the tools' code can do, and the traced route from a declared risky tool's argument to the operation it reaches. Click a node for details.