Skip to content

McpServerProvenance

Base classes

Name Children Inherits
dict
builtins
dict() -> new empty dictionary

⋔ Inheritance diagram

graph TD
  3848961484["hooks.McpServerProvenance"]
  2645524081["builtins.dict"]
  2751680898["builtins.object"]
  2645524081 --> 3848961484
  2751680898 --> 2645524081

🛈 DocStrings

Bases: TypedDict

Which MCP server (and config source) a tool call belongs to.

Source code in src/clawd_code_sdk/models/hooks.py
class McpServerProvenance(TypedDict):
    """Which MCP server (and config source) a tool call belongs to."""

    name: str
    source: str

:fa-brands-github: Show source on GitHub