> ## 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.

# Camel.types.mcp registries

<a id="camel.types.mcp_registries" />

<a id="camel.types.mcp_registries.MCPRegistryType" />

## MCPRegistryType

```python theme={"system"}
class MCPRegistryType(Enum):
```

Enum for different types of MCP registries.

<a id="camel.types.mcp_registries.BaseMCPRegistryConfig" />

## BaseMCPRegistryConfig

```python theme={"system"}
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.

<a id="camel.types.mcp_registries.BaseMCPRegistryConfig.get_config" />

### get\_config

```python theme={"system"}
def get_config(self):
```

**Returns:**

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

<a id="camel.types.mcp_registries.BaseMCPRegistryConfig.set_default_os" />

### set\_default\_os

```python theme={"system"}
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.

<a id="camel.types.mcp_registries.BaseMCPRegistryConfig._prepare_command_args" />

### \_prepare\_command\_args

```python theme={"system"}
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.

<a id="camel.types.mcp_registries.SmitheryRegistryConfig" />

## SmitheryRegistryConfig

```python theme={"system"}
class SmitheryRegistryConfig(BaseMCPRegistryConfig):
```

Configuration for Smithery registry.

<a id="camel.types.mcp_registries.SmitheryRegistryConfig.get_config" />

### get\_config

```python theme={"system"}
def get_config(self):
```

**Returns:**

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

<a id="camel.types.mcp_registries.ACIRegistryConfig" />

## ACIRegistryConfig

```python theme={"system"}
class ACIRegistryConfig(BaseMCPRegistryConfig):
```

Configuration for ACI registry.

<a id="camel.types.mcp_registries.ACIRegistryConfig.get_config" />

### get\_config

```python theme={"system"}
def get_config(self):
```

**Returns:**

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