Skip to main content

MCPRegistryType

Enum for different types of MCP registries.

BaseMCPRegistryConfig

Base configuration for an MCP registry. Parameters:
  • type (MCPRegistryType): The type of the registry.
  • os (Literal["darwin", "linux", "windows"]): The operating system. It is automatically set to “darwin” for MacOS, “linux” for Linux, and “windows” for Windows.
  • api_key (Optional[str]): API key for the registry.

get_config

Returns: Dict[str, Any]: The complete configuration for the registry.

set_default_os

Set the default OS based on the current platform if not provided. Parameters:
  • values (Dict): The values dictionary from the model validation.
Returns: Dict: The updated values dictionary with the OS set.

_prepare_command_args

Prepare command and arguments based on OS. Parameters:
  • command (str): The base command to run.
  • args (List[str]): The arguments for the command.
Returns: Dict[str, Any]: Command configuration with OS-specific adjustments.

SmitheryRegistryConfig

Configuration for Smithery registry.

get_config

Returns: Dict[str, Any]: The complete configuration for the registry.

ACIRegistryConfig

Configuration for ACI registry.

get_config

Returns: Dict[str, Any]: The complete configuration for the registry.