MCP Server — for Claude, Cursor, Windsurf
# 1. Install
npm i @harperfast/cortex-mcp-server
# 2. See the setup guide for your editor
# → https://github.com/HarperFast/Cortex/blob/main/packages/cortex/docs/mcp-setup.md
SDK — for custom agents and backend services.
# 1. Install
npm i @harperfast/cortex-client
# 2. Store and search memories
import { CortexClient } from "@harperfast/cortex-client";
const cortex = new CortexClient({
url: "https://your-cluster.harperdbcloud.com",
token: "your-auth-token",
});
// Store a memory
await cortex.memory.store({
content: "Harper Fabric replicates writes across regions via MQTT, so Cortex memories stored in us-east are immediately available in eu-west without a separate sync layer",
source: "architecture-decision",
});
// Search by meaning — not keywords
const results = await cortex.memory.search({
query: "how does memory sync work across regions",
});
OpenClaw Plugin — drop-in memory for OpenClaw / NemoClaw
# 1. Install
npm i @harperfast/openclaw-memory
# 2. See plugin docs for configuration and lifecycle hooks
# → https://github.com/HarperFast/Cortex/tree/main/packages/openclaw-memory