Skip to content

McpAuthenticateResponse

Base classes

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

⋔ Inheritance diagram

graph TD
  1005810953["control.McpAuthenticateResponse"]
  2604142835["base.ClaudeCodeBaseModel"]
  3879467795["main.BaseModel"]
  2751680898["builtins.object"]
  2604142835 --> 1005810953
  3879467795 --> 2604142835
  2751680898 --> 3879467795

🛈 DocStrings

Bases: ClaudeCodeBaseModel

Response from authenticating with an MCP server.

Source code in src/clawd_code_sdk/models/control.py
class McpAuthenticateResponse(ClaudeCodeBaseModel):
    """Response from authenticating with an MCP server."""

    auth_url: str | None = None
    """OAuth authorization URL for the user to visit, if user action is required."""

    requires_user_action: bool
    """Whether the user needs to complete an OAuth flow in the browser."""

auth_url class-attribute instance-attribute

auth_url: str | None = None

OAuth authorization URL for the user to visit, if user action is required.

requires_user_action instance-attribute

requires_user_action: bool

Whether the user needs to complete an OAuth flow in the browser.

:fa-brands-github: Show source on GitHub