Skip to main content
Glama

mcp-minecraft

config.ts648 B
import yargs from 'yargs'; import { hideBin } from 'yargs/helpers'; export interface ServerConfig { host: string; port: number; username: string; } export function parseConfig(): ServerConfig { return yargs(hideBin(process.argv)) .option('host', { type: 'string', description: 'Minecraft server host', default: 'localhost' }) .option('port', { type: 'number', description: 'Minecraft server port', default: 25565 }) .option('username', { type: 'string', description: 'Bot username', default: 'LLMBot' }) .help() .alias('help', 'h') .parseSync(); }

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/yuniko-software/minecraft-mcp-server'

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