set_block

Place a block at a specific position. Uses the /setblock command.

Server Minecraft Server MCP tamo2918/minecraft-server-mcp
Category Execute
Risk class High
Parameters 00 required

What set_block does on Minecraft Server MCP

AI agents invoke set_block to trigger actions in Minecraft Server MCP. What it does depends on the arguments the agent supplies, and its effects often reach beyond the immediate call — builds kicked off, notifications sent, workflows started.

Why set_block needs a policy

This tool executes a Minecraft server command (/setblock) that modifies the game world state. While it writes data (places a block), it does so by triggering an external operation (RCON command execution) on the server. The effect is reversible (a block can be replaced), so it doesn't qualify as Destructive, but it runs a server-side command making Execute the most appropriate category.

From the tool's definition Place a block at a specific position. Uses the /setblock command.

Questions about set_block

What does the set_block tool do? +

Place a block at a specific position. Uses the /setblock command. It is categorised as a Execute tool in the Minecraft Server MCP MCP Server, which means it can trigger actions or run processes. Use rate limits and argument validation.

How do I enforce a policy on set_block? +

Register the Minecraft Server MCP server in PolicyLayer and add a rule for set_block: 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.

What risk level is set_block? +

set_block is a Execute tool with high risk. Execute tools should be rate-limited and have argument validation enabled.

Can I rate-limit set_block? +

Yes. Add a rate_limit block to the set_block 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.

How do I block set_block completely? +

Set action: deny in the PolicyLayer policy for set_block. 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.

What MCP server provides set_block? +

set_block 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.

// THE FULL RECORD

set_block is one line of Minecraft Server'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 →

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.