Skip to main content
Glama
zeeweebee

Minecraft MCP Server

by zeeweebee

jump

Make a Minecraft character jump to navigate obstacles, reach higher areas, or avoid hazards in the game world.

Instructions

Make the bot jump

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • src/bot.ts:214-228 (registration)
    Registration of the 'jump' tool, including name, description, empty schema, and inline handler function.
    server.tool(
      "jump",
      "Make the bot jump",
      {},
      async (): Promise<McpResponse> => {
        try {
          bot.setControlState('jump', true);
          setTimeout(() => bot.setControlState('jump', false), 250);
    
          return createResponse("Successfully jumped");
        } catch (error) {
          return createErrorResponse(error as Error);
        }
      }
    );
  • The handler function that executes the jump logic by setting the bot's jump control state to true for 250ms.
    async (): Promise<McpResponse> => {
      try {
        bot.setControlState('jump', true);
        setTimeout(() => bot.setControlState('jump', false), 250);
    
        return createResponse("Successfully jumped");
      } catch (error) {
        return createErrorResponse(error as Error);
      }
    }
  • Empty input schema for the 'jump' tool (no parameters required).
    {},

Latest Blog Posts

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/zeeweebee/mcp-server'

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