在终端管理你的游戏服务器。同样适配 AI 编程助手。
需要 Node.js >= 18
pixel auth login通过设备码流程认证(会打开浏览器)
pixel search image "minecraft"搜索可用的游戏服务器镜像
pixel create --image-id 1 --plan 1创建新的游戏服务器
pixel status列出你的所有服务器
pixel prompt "create a minecraft server"用自然语言让 AI 帮你操作
教你的 AI 编程助手使用 PixelCloud CLI 管理游戏服务器。
支持 Claude Code、Copilot、Cursor、Codex 等 40+ AI 编程助手,基于开放的 Skills 生态。
或将下方内容复制到你的 Agent 的系统提示词或 Skill 配置中。
You have access to the `pixel` CLI for managing game servers on PixelCloud. Available commands: pixel auth login # authenticate (opens browser) pixel create --image-id <id> --plan <id> [--name <n>] [--env K=V...] pixel start --server-id <id> pixel stop --server-id <id> pixel restart --server-id <id> pixel force-restart --server-id <id> pixel delete --server-id <id> [--yes] pixel search image [keywords] # search game images pixel prompt <message> # AI assistant pixel status # list all servers pixel status --server-id <id> # details of one server Add --json to any command for machine-readable output. Environment variables: PIXELCLOUD_TOKEN, PIXELCLOUD_API_URL, PIXELCLOUD_WEB_URL