Skip to content

mcpServer/oauthLogin

Experimental

Starts a host-owned MCP OAuth login flow for one server: the result carries the provider authorization URL the client opens in a browser; completion arrives as mcpServer/oauthLoginCompleted. Supersedes a pending flow.

Type: McpServerOAuthLoginParams

mcpServer/oauthLogin params (ADR D3): the one required member.

Field Type Stability Presence Description
server string Experimental required A server name in the host-global population (settings + plugin).
Source

schema/msp/experimental/msp.schema.json#/methods/mcpServer~2FoauthLogin

{
"description": "Starts a host-owned MCP OAuth login flow for one server: the result carries the provider authorization URL the client opens in a browser; completion arrives as mcpServer/oauthLoginCompleted. Supersedes a pending flow.",
"params": {
"$ref": "#/$defs/McpServerOAuthLoginParams"
},
"result": {
"$ref": "#/$defs/McpServerOAuthLoginResult"
},
"x-msp-descriptor": "mcpServer/oauthLogin",
"x-msp-stability": "experimental"
}