add-mcp-oauth
Installation
SKILL.md
Add MCP OAuth
Put OAuth 2.1 on the user's MCP server. Then stop.
Guardrails
- MUST use Streamable HTTP. stdio cannot do OAuth.
- MUST keep
/.well-known/oauth-protected-resourcepublic. - MUST return 401 with
WWW-Authenticateandresource_metadataon a missing or invalid token. A bare 401 is a host silent-fail. - MUST call
validateTokenwith the dashboard Server URL asaudience. - MUST register well-known, then Bearer middleware, then the MCP POST. A POST registered first never sees auth.