Transfer from geelen/use-mcp

This commit is contained in:
Glen Maddern 2025-06-18 21:46:43 +10:00
commit de192f4de0

View file

@ -0,0 +1,18 @@
import { useEffect } from 'react'
import { onMcpAuthorization } from 'use-mcp'
export function OAuthCallback() {
useEffect(() => {
onMcpAuthorization()
}, [])
return (
<div className="min-h-screen bg-gray-50 flex items-center justify-center p-4">
<div className="text-center">
<h1 className="text-2xl font-bold text-gray-900 mb-4">Authenticating...</h1>
<p className="text-gray-600 mb-2">Please wait while we complete your authentication.</p>
<p className="text-sm text-gray-500">This window should close automatically.</p>
</div>
</div>
)
}