Add OAuth 2.0 PKCE authentication to a remote MCP server. Use this skill whenever the user wants to add authentication to an MCP server, protect MCP tools with OAuth, implement login flow for an MCP connector, add user auth to an MCP endpoint, or set up token-based access for MCP. Also triggers on: 'MCP OAuth', 'MCP authentication', 'withMcpAuth', 'MCP login flow', 'protect MCP endpoint', 'MCP token auth', 'dynamic client registration MCP', 'Claude connector OAuth'. Even if the user just says 'add auth to my MCP server' or 'my MCP server needs login', use this skill.
$npx -y skills add lucaperret/agent-skills --skill mcp-oauthInstalls into the current project.
Run `npx skills use "https://github.com/lucaperret/agent-skills" --skill "lucaperret/agent-skills/mcp-oauth"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/lucaperret/agent-skills" that are relevant to the current task. Run `npx skills add "https://github.com/lucaperret/agent-skills"` and select the relevant skills, then follow their instructions.