Skip to content

Index

CLI commands for MCP server management.

The commands package provides a suite of command-line interface (CLI) commands for managing MCP servers. Each command is implemented as a separate module and is designed to be integrated with the main argument parser for flexible and scriptable server control.

Modules:

Name Description
base_cmd

Defines the abstract base class BaseCmd for all CLI commands, standardizing the interface for argument parsing and command execution.

start_servers

Implements the StartServersCmd for starting one or more MCP servers.

stop_servers

Implements the StopServersCmd for stopping running MCP servers.

restart_servers

Implements the RestartServersCmd for restarting MCP servers.

servers_status

Implements the ServersStatusCmd for displaying the status of MCP servers.