MCP OAUTH Setup

Implement MCP server authentication with OAuth Dynamic Client Registration (RFC 7591), Authorization Server Metadata Discovery (RFC 8414), and generalized per-agent credential support. This skill should be used when building admin UIs that let users connect to third-party MCP servers, whether they use OAuth (Linear, Sentry, Granola), bearer tokens (Render, custom APIs), or API keys. Covers the full flow: metadata discovery, client registration, PKCE authorization, token exchange, token refresh, tool sync, and credential storage patterns (shared vs per-agent for any auth type). Includes hard-won lessons from production implementation.

obie 9a95722 5 files · 43.1 KB Updated

File contents

obie/skills/tree/main/skills/mcp-oauth-setup commit 9a9572272d

Frequently asked questions

npx skillmds@latest add obie/mcp-oauth-setup