Set the world spawn point by modifying level.dat. The server must be stopped.
AI agents use set_world_spawn to create or update resources in Minecraft Server MCP — usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your Minecraft Server MCP environment.
Modifying level.dat is a write operation that changes server world configuration. While reversible (spawn point can be changed again), it affects all players' initial spawning location and is a significant world state change. Rated high severity due to potential for griefing (spawning players in dangerous/unsuitable locations) and impact on player experience, though not destructive since the change can be undone.
From the tool's definition Tool modifies level.dat (world configuration file) to set spawn point. This changes game world state reversibly through file modification.
Attacks that exploit this kind of access
Set the world spawn point by modifying level.dat. The server must be stopped. It is categorised as a Write tool in the Minecraft Server MCP MCP Server, which means it can create or modify data. Consider rate limits to prevent runaway writes.
Register the Minecraft Server MCP server in PolicyLayer and add a rule for set_world_spawn: 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 Minecraft Server MCP. Nothing to install.
set_world_spawn 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 set_world_spawn 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 set_world_spawn. 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.
set_world_spawn is provided by the Minecraft Server MCP server (tamo2918/minecraft-server-mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
Every MCP server has a record like this.
Type a name, get the same breakdown: verified identity, auth posture, risk grade, capabilities, recommended policy.
Teams ship this data inside their own products. See what a licence covers →