xops mcp serve
Command usage and available options are listed below. Check --help for options supported by your installed version.
text
Start the MCP server using stdio by default. Use --transport http for Streamable HTTP with Bearer Token authentication; legacy HTTP+SSE is not supported. MCP never prompts for SSH credentials or vault unlocks.
Usage:
xops mcp serve [flags]
Flags:
-h, --help help for serve
Global Flags:
--allowed-hosts strings Additional allowed HTTP hosts, including ports
--allowed-origins strings Additional allowed HTTP origins
--color string ANSI color output (auto=detect pipe/redirect, never=disable, always=force enable)
--debug Enable debug mode (equivalent to --log-level=debug)
--lang string Interface language (zh/en)
--listen string HTTP listen address, default 127.0.0.1:8080
--log-level string Set internal diagnostic log level (debug, info, warn, error)
--public-url string Client-facing HTTP(S) origin, required for LAN listeners
--state-dir string File transfer task metadata directory
--token-env string Environment variable containing the HTTP Bearer Token
--token-file string File containing the HTTP Bearer Token; mutually exclusive with --token-env
--transport string MCP transport: stdio or http (default "stdio")