Skip to content

SdkPluginConfig

Base classes

Name Children Inherits
ClaudeCodeBaseModel
clawd_code_sdk.models.base
Base model for all Claude Code Pydantic models.

⋔ Inheritance diagram

graph TD
  2532167001["mcp.SdkPluginConfig"]
  2604142835["base.ClaudeCodeBaseModel"]
  3879467795["main.BaseModel"]
  2751680898["builtins.object"]
  2604142835 --> 2532167001
  3879467795 --> 2604142835
  2751680898 --> 3879467795

🛈 DocStrings

Bases: ClaudeCodeBaseModel

SDK plugin configuration.

Currently only local plugins are supported via the 'local' type.

Source code in src/clawd_code_sdk/models/mcp.py
class SdkPluginConfig(ClaudeCodeBaseModel):
    """SDK plugin configuration.

    Currently only local plugins are supported via the 'local' type.
    """

    type: Literal["local"] = "local"
    path: str
    skip_mcp_discovery: bool | None = None
    """Load skills/hooks/agents/commands but not the plugin's MCP servers.

    Use when the SDK host owns this plugin's MCP connections.
    """

skip_mcp_discovery class-attribute instance-attribute

skip_mcp_discovery: bool | None = None

Load skills/hooks/agents/commands but not the plugin's MCP servers.

Use when the SDK host owns this plugin's MCP connections.

:fa-brands-github: Show source on GitHub