xbox-cli-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| XBOX_MCP_BIN | No | Path to the XBOX CLI. | xbox |
| XBOX_MCP_MODE | No | Controls which tools are exposed: `read-only`, `write`, or `full`. Can also be passed as `--mode=`. | read-only |
| XBOX_SELLER_ID | No | XBOX CLI setting passed straight through to the CLI. | |
| XBOX_MCP_AUDIT_LOG | No | Path to the audit log. Set to `off` to disable. | ~/.xbox-mcp/audit.jsonl |
| XBOX_MCP_TIMEOUT_MS | No | Per-command timeout in milliseconds. | 600000 |
| XBOX_PLAYFAB_TITLE_ID | No | XBOX CLI setting passed straight through to the CLI. | |
| XBOX_AUDITLOG__ENABLED | No | XBOX CLI setting passed straight through to the CLI. | |
| XBOX_MCP_MAX_OUTPUT_BYTES | No | Longer output is truncated after this many bytes. | 200000 |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
Tools for Microsoft's XBOX CLI (xbox): Partner Center games, sellers, sandboxes, playtests and test accounts; XBOX services configuration; PlayFab.
Start with xbox_auth_status (sign in with xbox_auth_login if needed), then xbox_context_get to see the default seller and titles. Confirm the title with the user once before anything substantive.
For common lookups use xbox_seller_list, xbox_game_list, xbox_sandbox_list and xbox_playtest_list. For any other read, look the command up with xbox_help and run it with xbox_read.
To change something: xbox_help for the command, xbox_classify to see whether it can be undone, tell the user exactly what will change on which title, seller and sandbox, get approval, then xbox_change.
This server runs in 'read-only' mode. The user can allow changes by restarting this server with XBOX_MCP_MODE=write (or full for irreversible commands).
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| resources | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| xbox_skillA | Returns the agent guide built into the installed XBOX CLI ( |
| xbox_helpA | Returns the installed CLI's Help for a command: its options, output, exit codes, and a SAFETY section saying whether it reads or changes something. Use it before running any command through xbox_read or xbox_change, because the installed CLI is the authority on its options. Omit command to list all commands. Changes nothing. |
| xbox_auth_statusA | Returns whether someone is signed in to the XBOX CLI and as whom, e.g. {"signedIn":true,"username":"dev@studio.com"}; {"signedIn":false} means nobody is. Call it first in a session. Changes nothing. |
| xbox_auth_loginA | Opens the system browser on the user's machine to sign in to the XBOX CLI with Microsoft Entra ID, and waits until the sign-in finishes. Use it only when xbox_auth_status reports signedIn:false, and tell the user to complete the sign-in in their browser. Changes only local sign-in state. |
| xbox_auth_logoutA | Signs the XBOX CLI out on this machine and removes its cached credentials. Use it when the user asks to sign out or to switch accounts (then xbox_auth_login). Changes only local sign-in state; nothing in Partner Center. |
| xbox_context_getA | Returns the saved defaults (seller ID, XBOX title ID, sandbox ID, PlayFab title ID) that commands use when no flag is passed. Check it before any change, so you know which title and sandbox the change would hit. Changes nothing. |
| xbox_context_setA | Saves a default seller ID, title ID, sandbox ID or PlayFab title ID for later commands. Changes only local CLI state, but every later command without that flag will act on the new value, so tell the user what it now points at. |
| xbox_seller_listA | Lists the Partner Center sellers (developer accounts) the signed-in user belongs to, with their seller IDs. Use it to find the seller ID for other commands or for xbox_context_set. Changes nothing. |
| xbox_game_listA | Lists a seller's games with their names, Store IDs (e.g. 9N0000000000) and XBOX title IDs (e.g. 1234ABCD), which most other commands need. Can take a minute for sellers with many games. Changes nothing. |
| xbox_sandbox_listA | Lists a seller's XBOX sandboxes (development environments such as ABCD.1, plus CERT and RETAIL) with their IDs. Use it to pick the sandbox for XBOX services configuration and test accounts. Changes nothing. |
| xbox_playtest_listA | Lists the playtests of one game with their IDs, names, status (Draft, Scheduled, Live) and dates. Pass the game's Store ID or XBOX title ID from xbox_game_list. Changes nothing. |
| xbox_classifyA | Without running anything, reports whether an XBOX CLI command reads or changes state, whether the change can be undone, which tool runs it (xbox_read or xbox_change), whether this server's mode allows it, and the exact command line. Use it before proposing any change to the user. |
| xbox_readA | Runs any XBOX CLI command that only reads: list, get, status, diff, history, download, and |
| xbox_changeA | Runs an XBOX CLI command that changes Partner Center (games, playtests, audiences, test accounts, sandboxes), XBOX services configuration, PlayFab, or this PC's sandbox, with the signed-in user's permissions, often on production titles. Before calling: read the command's xbox_help, check it with xbox_classify, tell the user exactly what will change on which title, seller and sandbox, and get their approval. Pass confirm: true only after that approval. Allowed by mode: read-only allows nothing (the tool explains how to enable it), write allows reversible changes, full also allows irreversible ones (game/sandbox create, RETAIL publishes). Returns the command's output. Exit code 3 means the outcome is unknown: read the state with xbox_read before retrying. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| xbox-skill | Output of `xbox --skill`: how an agent should use the CLI. |
TDQS
Scored across 14 tools
The set is well-partitioned by design: xbox_read vs xbox_change are clearly split by state safety, and xbox_skill, xbox_help, and xbox_classify serve distinct informational roles (session guide, per-command docs, read/change classification). The only real overlap is that the typed list tools (seller/game/sandbox/playtest) can also be reached through xbox_read, but the read description explicitly directs agents to prefer the typed tools for covered reads.
All names share an xbox_ prefix and snake_case, with coherent family groups (xbox_auth_*, xbox_context_*, xbox_*_list). Minor deviation: list tools use noun_list ordering while the runners use verb ordering (xbox_read, xbox_change, xbox_help, xbox_skill), so it is consistent in style but not a single uniform verb_noun pattern.
14 tools is well within the sweet spot and each tool maps to a real need: auth lifecycle, context defaults, four discovery listings, generic read/change runners, and the three guidance/classification helpers. Nothing feels redundant or padded for a CLI wrapper of this scope.
The surface covers the full lifecycle of a CLI session: sign in/out, inspect and set defaults, discover sellers/games/sandboxes/playtests, get help, classify safety, and then execute any read or write through the generic runners. The generic xbox_read/xbox_change design means arbitrary CLI commands are reachable, so there are no dead ends beyond what the CLI itself exposes.