Enable or disable a target without deleting its config.
AI agents use gateway_toggle to create or update resources in Claude Team MCP — usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your Claude Team MCP environment.
The tool toggles the enabled/disabled state of a target, which is a reversible state change (Write). It explicitly does not delete configuration, ruling out Destructive. However, disabling a target could disrupt active operations or agent coordination, giving it medium severity. The description is vague about what 'target' refers to, slightly lowering confidence.
From the tool's definition Enable or disable a target without deleting its config
Attacks that exploit this kind of access
Enable or disable a target without deleting its config. It is categorised as a Write tool in the Claude Team MCP MCP Server, which means it can create or modify data. Consider rate limits to prevent runaway writes.
Register the Claude Team MCP server in PolicyLayer and add a rule for gateway_toggle: 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 Claude Team MCP. Nothing to install.
gateway_toggle 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 gateway_toggle 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 gateway_toggle. 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.
gateway_toggle is provided by the Claude Team MCP server (lakshan12367/mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
gateway_toggle is one line of Claude Team's registry record.
The record carries the whole server: verified identity, auth posture, risk grade, every tool classified, recommended policy — re-checked continuously.
Teams ship this data inside their own products. See what a licence covers →