MCP OAuth: How to Add OAuth to an MCP Server (So Claude Connects by URL)
A practical guide to OAuth for remote MCP servers: the 401 challenge, the two metadata documents, dynamic client registration, PKCE and tokens, with the mistakes that stop Claude from showing a sign-in button.







