We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/karakeep-app/karakeep'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
import { redirect } from "next/dist/client/components/navigation";
import KarakeepLogo from "@/components/KarakeepIcon";
import SignUpForm from "@/components/signup/SignUpForm";
import { getServerAuthSession } from "@/server/auth";
import { validateRedirectUrl } from "@karakeep/shared/utils/redirectUrl";
export default async function SignUpPage({
searchParams,
}: {
searchParams: Promise<{ redirectUrl?: string }>;
}) {
const session = await getServerAuthSession();
const { redirectUrl: rawRedirectUrl } = await searchParams;
const redirectUrl = validateRedirectUrl(rawRedirectUrl) ?? "/";
if (session) {
redirect(redirectUrl);
}
return (
<div className="flex min-h-screen items-center justify-center bg-background px-4 py-12 sm:px-6 lg:px-8">
<div className="w-full max-w-md space-y-8">
<div className="flex items-center justify-center">
<KarakeepLogo height={80} />
</div>
<SignUpForm redirectUrl={redirectUrl} />
</div>
</div>
);
}