Skip to main content
Glama

Karakeep MCP server

by karakeep-app
NoteEditor.tsx1.24 kB
import { Textarea } from "@/components/ui/textarea"; import { toast } from "@/components/ui/use-toast"; import { useClientConfig } from "@/lib/clientConfig"; import type { ZBookmark } from "@karakeep/shared/types/bookmarks"; import { useUpdateBookmark } from "@karakeep/shared-react/hooks/bookmarks"; export function NoteEditor({ bookmark }: { bookmark: ZBookmark }) { const demoMode = !!useClientConfig().demoMode; const updateBookmarkMutator = useUpdateBookmark({ onSuccess: () => { toast({ description: "The bookmark has been updated!", }); }, onError: () => { toast({ description: "Something went wrong while saving the note", variant: "destructive", }); }, }); return ( <Textarea className="h-44 w-full overflow-auto rounded bg-background p-2 text-sm text-gray-400 dark:text-gray-300" defaultValue={bookmark.note ?? ""} disabled={demoMode} placeholder="Write some notes ..." onBlur={(e) => { if (e.currentTarget.value == bookmark.note) { return; } updateBookmarkMutator.mutate({ bookmarkId: bookmark.id, note: e.currentTarget.value, }); }} /> ); }

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