Skip to main content
Glama

start_server

Start a Minecraft Java Edition server with RCON enabled and wait for full initialization. Accepts the EULA on first run to begin server operation.

Instructions

Start the Minecraft Java Edition server. Ensures RCON is enabled and waits for startup completion.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
accept_eulaNoSet to true to accept the Minecraft EULA (https://aka.ms/MinecraftEULA). Required on first run.

Implementation Reference

  • Registration and handler implementation for the start_server tool.
    server.tool(
      "start_server",
      "Start the Minecraft Java Edition server. Ensures RCON is enabled and waits for startup completion.",
      {
        accept_eula: z
          .boolean()
          .optional()
          .describe(
            "Set to true to accept the Minecraft EULA (https://aka.ms/MinecraftEULA). Required on first run."
          ),
      },
      async ({ accept_eula }) => {
        if (accept_eula) {
          manager.acceptEula();
        }
        const result = await manager.start();
        return { content: [{ type: "text", text: result }] };
      }
    );

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/tamo2918/Minecraft-Server-MCP'

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