How to Add OAuth to an MCP Server (So Claude Can Connect 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.







