# revoke_project_mcp_trust

> **Function** in `deepagents_code`

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

Remove trust for a project's MCP config.

## Signature

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

## Parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `project_root` | `str` | Yes | Absolute path to the project root. |
| `store_path` | `Path \| None` | No | Path to the trust store file. Defaults to `~/.deepagents/.state/mcp_trust.json`. (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/d1c6946218b4f0f86ab7b02b6bb6af1e4b75cede/libs/code/deepagents_code/mcp_trust.py#L182)