Local-first 🧠memory for Hermes Agent that lives in your Obsidian vault and remembers project context. Nightly 😴 dream passes turn repeat corrections into confirmed preferences with measurable confidence. Adapters ship for Claude Code, Codex, and OpenClaw, with an MCP server for anything else.
TypeScript
/**
* Cursor adapter — JSON-merge into `~/.cursor/mcp.json`.
*
* Default scope: user-global. Project-scope (`<cwd>/.cursor/mcp.json`)
* is deferred per the v0.10.11 design doc §12.
*
* Cursor needs an app-restart to pick up MCP server changes. The
* `verify` step reports the disk state cleanly; restart is a
* note rather than a failure.
*/
import { join } from "node:path";
import { createJsonMcpAdapter } from "./_json-mcp.ts";
import { defaultRegistry } from "../registry.ts";
import type { InstallEnv } from "../types.ts";
function configPath(env: InstallEnv): string {
return join(env.home, ".cursor", "mcp.json");
}
export const cursorAdapter = createJsonMcpAdapter({
target: "cursor",
label: "Cursor",
resolveConfigPath: configPath,
postNotes: ["Restart the Cursor app to load the new MCP servers."],
notes: ["scope: user-global (~/.cursor/mcp.json)"],
});
defaultRegistry.register(cursorAdapter);