Skip to main content
Glama

Minecraft MCP Server

by leo4life2

attackSomeone

Initiate combat, defend, or kill targets on a Minecraft MCP Server. Specify target type (player, mob, or animal) and optional details like name, duration, or kill count for precise control.

Instructions

Attack, kill, defend against, or initiate combat with someone

Input Schema

NameRequiredDescriptionDefault
countNoOptional: Number of kills to achieve (default: 1)
durationNoOptional: Duration in seconds to attack (default: 20, max: 120)
targetNameNoOptional: The specific name of the entity to attack
targetTypeYesThe type of target: 'player', 'mob', or 'animal'

Input Schema (JSON Schema)

{ "properties": { "count": { "description": "Optional: Number of kills to achieve (default: 1)", "type": "number" }, "duration": { "description": "Optional: Duration in seconds to attack (default: 20, max: 120)", "type": "number" }, "targetName": { "description": "Optional: The specific name of the entity to attack", "type": "string" }, "targetType": { "description": "The type of target: 'player', 'mob', or 'animal'", "type": "string" } }, "required": [ "targetType" ], "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/leo4life2/minecraft-mcp-http'

If you have feedback or need assistance with the MCP directory API, please join our Discord server