How LLM assistants authenticate to a remote MCP server over OAuth 2.1 — Claude, Cursor, Gemini, public vs private.
Quick Install
Copy the config for your editor. Some servers may need additional setup — check the README.
Add to claude_desktop_config.json:
{
"mcpServers": {
"oauth-for-remote-mcp": {
"command": "npx",
"args": [
"-y",
"WamBamBoozle/oauth-for-remote-mcp-servers"
]
}
}
}
Run in terminal:
claude mcp add oauth-for-remote-mcp npx -y WamBamBoozle/oauth-for-remote-mcp-servers
Add to .cursor/mcp.json:
{
"mcpServers": {
"oauth-for-remote-mcp": {
"command": "npx",
"args": [
"-y",
"WamBamBoozle/oauth-for-remote-mcp-servers"
]
}
}
}