We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/chandantherefore/kite-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
page.tsx•334 B
import { redirect } from 'next/navigation';
import { getCurrentUser } from '@/lib/auth';
export default async function Home() {
const user = await getCurrentUser();
// If user is logged in, redirect to dashboard
if (user) {
redirect('/dashboard');
}
// If not logged in, redirect to login
redirect('/login');
}