Skip to main content
Glama

Karakeep MCP server

by karakeep-app
Bookmarks.tsx1.06 kB
import { redirect } from "next/navigation"; import { Separator } from "@/components/ui/separator"; import { api } from "@/server/api/client"; import { getServerAuthSession } from "@/server/auth"; import type { ZGetBookmarksRequest } from "@karakeep/shared/types/bookmarks"; import UpdatableBookmarksGrid from "./UpdatableBookmarksGrid"; export default async function Bookmarks({ query, header, showDivider, showEditorCard = false, }: { query: Omit<ZGetBookmarksRequest, "sortOrder" | "includeContent">; // Sort order is handled by the store header?: React.ReactNode; showDivider?: boolean; showEditorCard?: boolean; }) { const session = await getServerAuthSession(); if (!session) { redirect("/"); } const bookmarks = await api.bookmarks.getBookmarks({ ...query, }); return ( <div className="flex flex-col gap-3"> {header} {showDivider && <Separator />} <UpdatableBookmarksGrid query={query} bookmarks={bookmarks} showEditorCard={showEditorCard} /> </div> ); }

MCP directory API

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