get_selected_actors
Get all currently selected actors in the editor viewport.
This record as markdown: /tools/aadeshrao123-unreal-mcp/get-selected-actors.md
What get_selected_actors does on Unreal-MCP
AI agents call get_selected_actors to retrieve information from Unreal-MCP without modifying anything. It is typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.
Why get_selected_actors is rated Low
This tool only retrieves state information about what is currently selected in the Unreal Engine editor. It performs no modifications, deletions, or external operations. It is a straightforward read operation with minimal risk; misuse by an AI agent cannot cause harm beyond potentially informing subsequent actions based on incorrect selection state.
From the tool's definition Tool name is 'get_selected_actors' and description states it retrieves 'all currently selected actors in the editor viewport' — purely a query operation with no side effects.
Attacks that exploit this kind of access
The rule that runs get_selected_actors safely
PolicyLayer is an MCP gateway: it sits between your AI agents and Unreal-MCP, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For get_selected_actors, this is the rule to start with:
get_selected_actors is read-only, so it stays allowed. Everything else on the server is denied unless you say otherwise.
The button opens the PolicyLayer dashboard: create your workspace, connect Unreal-MCP, apply this rule, and every get_selected_actors call is checked against it from then on.
Questions about get_selected_actors
Get all currently selected actors in the editor viewport. It is categorised as a Read tool in the Unreal-MCP MCP Server, which means it retrieves data without modifying state.
Register the Unreal MCP server in PolicyLayer and add a rule for get_selected_actors: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Unreal-MCP. Nothing to install.
get_selected_actors is a Read tool with low risk. Read-only tools are generally safe to allow by default.
Yes. Add a rate_limit block to the get_selected_actors rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for get_selected_actors. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
get_selected_actors is provided by the Unreal MCP server (aadeshrao123/unreal-mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on Unreal, and thousands of servers like it.
This server
Across the catalogue