Skip to content

xops mcp ​

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 [flags]
  xops mcp [command]

Available Commands:
  recover     Inspect or maintain transfers while the MCP service is stopped
  serve       Start a stdio or Streamable HTTP MCP server

Flags:
      --allowed-hosts strings     Additional allowed HTTP hosts, including ports
      --allowed-origins strings   Additional allowed HTTP origins
  -h, --help                      help for mcp
      --listen string             HTTP listen address, default 127.0.0.1:8080
      --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")

Global Flags:
      --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)
      --log-level string   Set internal diagnostic log level (debug, info, warn, error)

Use "xops mcp [command] --help" for more information about a command.

MIT License