Documentation Index
Fetch the complete documentation index at: https://docs.camel-ai.org/llms.txt
Use this file to discover all available pages before exploring further.
MCPRegistryType
class MCPRegistryType(Enum):
Enum for different types of MCP registries.
BaseMCPRegistryConfig
class BaseMCPRegistryConfig(BaseModel):
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
def set_default_os(cls, values: Dict):
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
def _prepare_command_args(self, command: str, args: List[str]):
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
class SmitheryRegistryConfig(BaseMCPRegistryConfig):
Configuration for Smithery registry.
get_config
Returns:
Dict[str, Any]: The complete configuration for the registry.
ACIRegistryConfig
class ACIRegistryConfig(BaseMCPRegistryConfig):
Configuration for ACI registry.
get_config
Returns:
Dict[str, Any]: The complete configuration for the registry.