Expand description
Typed errors for MCP operations.
Introduced for the consent gate (F-2, code audit 2026-07-25): new MCP
code paths use a typed error enum instead of opaque anyhow strings, so
callers can match on McpError::ConsentDenied without downcasting.
Scope note: the rest of the mcp module still uses anyhow::Result for
historical reasons (tracked as finding F-7). This module is the typed
beachhead — new error-bearing code should extend it rather than reach for
anyhow::anyhow!.
Enums§
- McpError
- Errors raised by the MCP manager’s consent-aware paths.