# classify_discovered_configs

> **Function** in `deepagents_code`

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

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

## Signature

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

## Parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `config_paths` | `list[Path]` | Yes | Candidate config paths from discovery. |

## Returns

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

Tuple of `(user_configs, project_configs)`.

---

[View source on GitHub](https://github.com/langchain-ai/deepagents/blob/0412009c5441bef8d75a427e1da8909e33ab5b56/libs/code/deepagents_code/mcp_tools.py#L739)