# classify_discovered_configs

> **Function** in `deepagents_cli`

📖 [View in docs](https://reference.langchain.com/python/deepagents-cli/mcp_tools/classify_discovered_configs)

Split discovered config paths into user-level and project-level.

User-level configs live under `~/.deepagents/`. Everything else is
considered project-level.

## Signature

```python
classify_discovered_configs(
    config_paths: list[Path],
) -> tuple[list[Path], list[Path]]
```

## Parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `config_paths` | `list[Path]` | Yes | Paths returned by `discover_mcp_configs`. |

## Returns

`tuple[list[Path], list[Path]]`

Tuple of `(user_configs, project_configs)`.

---

[View source on GitHub](https://github.com/langchain-ai/deepagents/blob/bb27e62ebe44dd6e8104a504b1718ce87acc7ffa/libs/cli/deepagents_cli/mcp_tools.py#L237)