Skip to content

McpListFormat

Category: Commands

Source: mcp_list_format.dart

Formatter for glue mcp list — shape mirrors mcp_tools_format.dart. Takes a list of simple value rows so the command stays thin and the output is unit-testable without a real config.

Classes

McpServerListRow

Constructor

dart
const McpServerListRow({
    required this.id,
    required this.kind,
    required this.enabled,
  })

Properties

PropertyTypeDescription
idString
kindString
enabledbool

Functions

`String formatMcpServerList(

List<McpServerListRow> rows, { required String configPath, bool? ansiEnabled, })`

Released under the MIT License.