MCPLoginScreen(
self,
server_name: str,
)ModalScreen[LoginOutcome]| Name | Type | Description |
|---|---|---|
server_name* | str | MCP server name shown in the modal title. |
| Name | Type |
|---|---|
| server_name | str |
Modal that renders the OAuth login flow and collects user input.
Implements the OAuthInteraction Protocol structurally so a
mcp_auth.login(..., ui=screen) call drives the same modal. Each
interaction method updates a status line, a clickable link area, and
an inline input prompt for the callback URL. Slack workspace selection
is deferred to Slack's browser page rather than prompted inline.