Skip to content

PluginConfigs

Base classes

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

⋔ Inheritance diagram

graph TD
  1929909213["settings.PluginConfigs"]
  2604142835["base.ClaudeCodeBaseModel"]
  3879467795["main.BaseModel"]
  2751680898["builtins.object"]
  2604142835 --> 1929909213
  3879467795 --> 2604142835
  2751680898 --> 3879467795

🛈 DocStrings

Bases: ClaudeCodeBaseModel

Source code in src/clawd_code_sdk/models/settings.py
class PluginConfigs(ClaudeCodeBaseModel):
    model_config = ConfigDict(
        extra="forbid",
    )
    mcp_servers: dict[str, dict[str, str | float | bool | list[str]]] | None = Field(
        None, alias="mcpServers"
    )
    """
    User configuration values for MCP servers keyed by server name
    """
    options: dict[str, str | float | bool | list[str]] | None = None
    """
    Non-sensitive option values from the plugin manifest's userConfig, keyed by option name. Sensitive values go to secure storage instead. See https://code.claude.com/docs/en/plugins-reference
    """

mcp_servers class-attribute instance-attribute

mcp_servers: dict[str, dict[str, str | float | bool | list[str]]] | None = Field(
    None, alias="mcpServers"
)

User configuration values for MCP servers keyed by server name

options class-attribute instance-attribute

options: dict[str, str | float | bool | list[str]] | None = None

Non-sensitive option values from the plugin manifest's userConfig, keyed by option name. Sensitive values go to secure storage instead. See https://code.claude.com/docs/en/plugins-reference

:fa-brands-github: Show source on GitHub