Skip to main content

Module common

Module common 

Source
Expand description

Common utilities shared across CLI commands.

Provides shared functionality for building server configurations from CLI arguments and loading MCP server definitions from ~/.claude/mcp.json.

Structs§

McpConfig
MCP configuration file structure (~/.claude/mcp.json).
McpServerEntry
Individual MCP server configuration entry from mcp.json.

Enums§

McpTransport
Canonical in-crate representation of an MCP server’s transport.
ServerSource
Fully-resolved “how do I reach this server” selection for introspect and generate.
TransportArgs
CLI-flag mirror of McpTransport, holding the raw, unvalidated Option/Vec<String> values clap hands back.