This is a real Model Context Protocol server that Claude Code can connect to. It demonstrates the OAuth confused deputy attack with actual MCP client software.
/sseIf the gateway doesn't validate redirect_uri, an attacker can intercept
the authorization code meant for Claude Code's localhost callback.
{
"mcpServers": {
"lab-mcp-demo": {
"url": "http://localhost:8094/sse",
"transport": "sse",
"oauth": {
"authUrl": "http://localhost:8094/oauth/start",
"tokenUrl": "https://mcp-gateway.lab.quokkahost.com/token"
}
}
}
}