# revoke_project_mcp_trust

> **Function** in `deepagents_cli`

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

Remove trust for a project's MCP config.

## Signature

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

## Parameters

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

## Returns

`bool`

`True` if the entry was removed (or didn't exist).

---

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