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
| Name | Required | Description | Default |
|---|---|---|---|
| accept_eula | No | Set to true to accept the Minecraft EULA (https://aka.ms/MinecraftEULA). Required on first run. |
Implementation Reference
- src/tools/server-tools.ts:13-31 (registration)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 }] }; } );