Skip to content

Self-hosted MCP server + dashboard giving Claude Code, Cursor & Hermes agents shared long-term memory over a git-backed markdown vault. Agent-native, Obsidian-compatible second brain — markdown RAG, no vector DB.

337 B
Raw Blame
import { pullActive, syncStatus } from "@/lib/git";

export const dynamic = "force-dynamic";

export async function GET() {
  return Response.json(await syncStatus());
}

/** Manual refresh — pull the active vault's remote now (index rebuilds on change). */
export async function POST() {
  return Response.json(await pullActive());
}