This record as markdown: /tools/chanceflow-godot-mcp/ui-add-container.md
What ui_add_container does on Godot
AI agents use ui_add_container to create or update resources in Godot, usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your Godot environment.
Why ui_add_container is rated Medium
The name pattern 'ui_add_*' combined with the 'add' verb indicates this tool creates or adds UI elements to the Godot scene tree. This is a reversible Write operation (containers can be deleted). Severity is medium because misuse could corrupt the scene structure, but changes are undoable via undo/redo.
From the tool's definition Tool name 'ui_add_container' suggests adding/creating a UI container element. The 'add' verb indicates a Write operation that creates new UI objects. No description provided, reducing confidence.
Attacks that exploit this kind of access
The rule that runs ui_add_container safely
PolicyLayer is an MCP gateway: it sits between your AI agents and Godot, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For ui_add_container, this is the rule to start with:
ui_add_container stays usable, but capped: an agent stuck in a loop can't make hundreds of changes a minute. Everything else on the server is denied unless you say otherwise.
The button opens the PolicyLayer dashboard: create your workspace, connect Godot, apply this rule, and every ui_add_container call is checked against it from then on.
Questions about ui_add_container
ui_add_container is a write tool on the Godot MCP server. It is categorised as a Write tool in the Godot MCP Server, which means it can create or modify data. Consider rate limits to prevent runaway writes.
Register the Godot MCP server in PolicyLayer and add a rule for ui_add_container: 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 Godot. Nothing to install.
ui_add_container is a Write tool with medium risk. Write tools should be rate-limited to prevent accidental bulk modifications.
Yes. Add a rate_limit block to the ui_add_container 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 ui_add_container. 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.
ui_add_container is provided by the Godot MCP server (chanceflow/godot-mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on Godot, and thousands of servers like it.
This server
Across the catalogue