Skip to content

Commit 8e22f64

Browse files
authored
Elicitation: clarify language on auth URL in external OAuth guidance (modelcontextprotocol#1812)
1 parent d631c86 commit 8e22f64

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

docs/specification/draft/client/elicitation.mdx

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -630,11 +630,12 @@ Credentials obtained via URL mode elicitation are distinct from the MCP server c
630630
When implementing external authorization via URL mode elicitation:
631631

632632
1. The MCP server generates an authorization URL, acting as an OAuth client to the third-party service
633-
2. The server creates a URL mode elicitation request with this URL
634-
3. The user completes the OAuth flow directly with the third-party authorization server
635-
4. The third-party authorization server redirects back to the MCP server
636-
5. The MCP server securely stores the third-party tokens, bound to the user's identity
637-
6. Future MCP requests can leverage these stored tokens for API access to the third-party resource server
633+
2. The MCP server stores internal state that associates (binds) the elicitation request with the user's identity.
634+
3. The MCP server sends a URL mode elicitation request to the client with a URL that can start the authorization flow.
635+
4. The user completes the OAuth flow directly with the third-party authorization server
636+
5. The third-party authorization server redirects back to the MCP server
637+
6. The MCP server securely stores the third-party tokens, bound to the user's identity
638+
7. Future MCP requests can leverage these stored tokens for API access to the third-party resource server
638639

639640
The following is a non-normative example of how this pattern could be implemented:
640641

0 commit comments

Comments
 (0)