# is_project_mcp_trusted

> **Function** in `deepagents_cli`

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

Check whether a project's MCP config is trusted with the given fingerprint.

## Signature

```python
is_project_mcp_trusted(
    project_root: str,
    fingerprint: str,
    *,
    config_path: Path | None = None,
) -> bool
```

## Parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `project_root` | `str` | Yes | Absolute path to the project root. |
| `fingerprint` | `str` | Yes | Expected fingerprint string (`sha256:<hex>`). |
| `config_path` | `Path \| None` | No | Path to the trust config file. (default: `None`) |

## Returns

`bool`

`True` if the stored fingerprint matches.

---

[View source on GitHub](https://github.com/langchain-ai/deepagents/blob/0b13f3e0e2726fdb7bbe1e0cf88dac76dbd43b01/libs/cli/deepagents_cli/mcp_trust.py#L94)