Skip to main content
Glama

Karakeep MCP server

by karakeep-app
trpc.ts545 B
import { createCallerFactory } from "@karakeep/trpc"; import { buildImpersonatingAuthedContext as buildAuthedContext } from "@karakeep/trpc/lib/impersonate"; import { appRouter } from "@karakeep/trpc/routers/_app"; export const buildImpersonatingAuthedContext = buildAuthedContext; /** * This is only safe to use in the context of a worker. */ export async function buildImpersonatingTRPCClient(userId: string) { const createCaller = createCallerFactory(appRouter); return createCaller(await buildImpersonatingAuthedContext(userId)); }

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