add_collision_shape
Adiciona um CollisionShape2D/3D com um shape a um nó de física.
This record as markdown: /tools/mcp-godot-desenvolvimento/add-collision-shape.md
What add_collision_shape does on Mcp Godot Desenvolvimento
AI agents use add_collision_shape to create or update resources in Mcp Godot Desenvolvimento, usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your Mcp Godot Desenvolvimento environment.
Why add_collision_shape is rated Medium
This tool creates or modifies game scene data by adding collision shape components to physics nodes. It is reversible (the node can be removed), so it qualifies as Write rather than Destructive. The blast radius is medium because incorrect collision shapes could break game physics or gameplay, but the effect is limited to a single scene node and can be undone.
From the tool's definition Adiciona um CollisionShape2D/3D com um shape a um nó de física — explicitly adds/creates collision shape nodes to a physics node in the game scene.
Attacks that exploit this kind of access
The rule that runs add_collision_shape safely
PolicyLayer is an MCP gateway: it sits between your AI agents and Mcp Godot Desenvolvimento, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For add_collision_shape, this is the rule to start with:
add_collision_shape 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 Mcp Godot Desenvolvimento, apply this rule, and every add_collision_shape call is checked against it from then on.
Questions about add_collision_shape
Adiciona um CollisionShape2D/3D com um shape a um nó de física. It is categorised as a Write tool in the Mcp Godot Desenvolvimento MCP Server, which means it can create or modify data. Consider rate limits to prevent runaway writes.
Register the Mcp Godot Desenvolvimento MCP server in PolicyLayer and add a rule for add_collision_shape: 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 Mcp Godot Desenvolvimento. Nothing to install.
add_collision_shape 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 add_collision_shape 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 add_collision_shape. 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.
add_collision_shape is provided by the Mcp Godot Desenvolvimento MCP server (joabcostamd/mcp-godot-desenvolvimento). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on Mcp Godot Desenvolvimento, and thousands of servers like it.
This server
Across the catalogue