Skip to main content
Glama

Karakeep MCP server

by karakeep-app
TextContentSection.tsx1.16 kB
import Image from "next/image"; import { BookmarkMarkdownComponent } from "@/components/dashboard/bookmarks/BookmarkMarkdownComponent"; import { ScrollArea } from "@/components/ui/scroll-area"; import type { ZBookmarkTypeText } from "@karakeep/shared/types/bookmarks"; import { BookmarkTypes, ZBookmark } from "@karakeep/shared/types/bookmarks"; import { getAssetUrl } from "@karakeep/shared/utils/assetUtils"; export function TextContentSection({ bookmark }: { bookmark: ZBookmark }) { if (bookmark.content.type != BookmarkTypes.TEXT) { throw new Error("Invalid content type"); } const banner = bookmark.assets.find( (asset) => asset.assetType == "bannerImage", ); return ( <ScrollArea className="h-full"> {banner && ( <div className="relative h-52 min-w-full"> <Image alt="banner" src={getAssetUrl(banner.id)} width={0} height={0} layout="fill" objectFit="cover" /> </div> )} <BookmarkMarkdownComponent> {bookmark as ZBookmarkTypeText} </BookmarkMarkdownComponent> </ScrollArea> ); }

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