McpCommand
Category: Commands
Source: mcp_command.dart
Top-level glue mcp … subcommands.
CLI-side surface is intentionally light — without a running session we can only inspect config + credentials, not live pool state. The /mcp … slash commands (cli/lib/src/commands/slash/mcp.dart) mirror these but show live pool state because they run inside the TUI.
Classes
abstract McpCredentialKeys
Credential-store conventions for MCP. Both helpers and slash commands go through here so the namespacing stays consistent.
Properties
| Property | Type | Description |
|---|---|---|
bearer | const String | Field name for the bearer token. |
Methods
static String providerId(String serverId)
CredentialStore provider id namespace for a given server.
McpCommand
Constructor
dart
McpCommand()Properties
| Property | Type | Description |
|---|---|---|
name | String get | |
description | String get | |
name | String get | |
description | String get |
McpAddCommand
Constructor
dart
McpAddCommand()Properties
| Property | Type | Description |
|---|---|---|
name | String get | |
description | String get | |
invocation | String get | |
name | String get | |
description | String get | |
invocation | String get |
Methods
Future<int> run()
McpRemoveCommand
Constructor
dart
McpRemoveCommand()Properties
| Property | Type | Description |
|---|---|---|
name | String get | |
description | String get | |
invocation | String get | |
name | String get | |
description | String get | |
invocation | String get |
Methods
Future<int> run()
McpEnableCommand
Properties
| Property | Type | Description |
|---|---|---|
name | String get | |
description | String get | |
invocation | String get | |
name | String get | |
description | String get | |
invocation | String get |
Methods
Future<int> run()
McpDisableCommand
Properties
| Property | Type | Description |
|---|---|---|
name | String get | |
description | String get | |
invocation | String get | |
name | String get | |
description | String get | |
invocation | String get |
Methods
Future<int> run()
McpToolsCommand
Properties
| Property | Type | Description |
|---|---|---|
name | String get | |
description | String get | |
invocation | String get | |
name | String get | |
description | String get | |
invocation | String get |
Methods
Future<int> run()
McpListCommand
Properties
| Property | Type | Description |
|---|---|---|
name | String get | |
description | String get | |
name | String get | |
description | String get |
Methods
Future<int> run()
McpAuthCommand
Constructor
dart
McpAuthCommand()Properties
| Property | Type | Description |
|---|---|---|
name | String get | |
description | String get | |
name | String get | |
description | String get |
McpAuthStatusCommand
Properties
| Property | Type | Description |
|---|---|---|
name | String get | |
description | String get | |
name | String get | |
description | String get |
Methods
Future<int> run()
McpAuthSetCommand
Constructor
dart
McpAuthSetCommand()Properties
| Property | Type | Description |
|---|---|---|
name | String get | |
description | String get | |
invocation | String get | |
name | String get | |
description | String get | |
invocation | String get |
Methods
Future<int> run()
McpAuthLoginCommand
Properties
| Property | Type | Description |
|---|---|---|
name | String get | |
description | String get | |
invocation | String get | |
name | String get | |
description | String get | |
invocation | String get |
Methods
Future<int> run()
McpAuthLogoutCommand
Properties
| Property | Type | Description |
|---|---|---|
name | String get | |
description | String get | |
invocation | String get | |
name | String get | |
description | String get | |
invocation | String get |