Cerefox
User-owned shared memory for AI agents. A persistent, curated knowledge layer that multiple AI tools can read and write, backed by Postgres + pgvector.
Power your agent
คำสั่งของผู้เผยแพร่เอง ไม่ใช่เอนด์พอยต์ของ PlugMCP
Host a copy with our keys and logs.
npx -y @cerefox/[email protected]Claude Code ไม่มีลิงก์ติดตั้งสำหรับคำสั่งแบบโลคัล ให้คัดลอกคำสั่งด้านล่างแล้วรันในเทอร์มินัล
claude mcp add cerefox-memory -- npx -y @cerefox/memory@1.23.2รันในเทอร์มินัล
{ "mcpServers": { "cerefox-memory": { "command": "npx", "args": [ "-y", "@cerefox/[email protected]" ] } }}claude_desktop_config.json
URL แบบรีโมตหรือคำสั่งบนเครื่องของคุณ? การติดตั้งสองแบบต่างกันอย่างไร
รันบน PlugMCP
A new server you create. It is not this listing's official endpoint. Use the publisher install when you want their URL and their credentials.
เปิดจากผู้เผยแพร่
User-owned shared memory for AI agents. A persistent, curated knowledge layer that multiple AI tools can read and write, backed by Postgres + pgvector.
Cerefox — user-owned shared memory for AI agents. CLI + stdio MCP server + web UI + ingestion for a knowledge base on your own Supabase project (or fully self-hosted with Cerefox Local).
Cerefox is a user-owned knowledge memory layer: a persistent, curated knowledge base that sits between you and the AI tools you use.
The primary use case is shared memory across AI agents: knowledge written by one tool (Claude, ChatGPT, Cursor, or a custom agent) becomes immediately available to all others. This prevents context fragmentation, so the same information doesn't have to be re-explained in every session.
Cerefox is asynchronous shared memory, not a message bus. It solves the persistent context problem: knowledge written in one context is findable in any other. A user curates project documents and an AI agent discovers them through search without being told they exist. An agent writes a decision during a coding session and a different agent, on a different machine, running a different model, finds it days later. A user switches from one AI tool to another and the accumulated knowledge carries over without manual transfer. The boundaries that Cerefox dissolves are between agents, between sessions, between human and machine, and across time.
For the full project vision, principles, and roadmap direction, see
docs/research/vision.md.
docs/guides/agent-coordination.md)docs/guides/operational-cost.mdCerefox isn't bound to one tool or one workflow — anything that can run a shell command or speak MCP can read and write your memory, pointed at either a shared cloud deployment or a private local one: See Connecting AI agents for the how-to per client.
Questions, ideas, or want to follow development? Join the Cerefox Discord — setup & usage help for Cerefox and cf², release news, and a place to share what you're building.
As of v0.10.0 Cerefox runs two ways: against a hosted Supabase project,
or fully local / self-hosted in a single Docker container (no cloud, no
account). The whole runtime — CLI, MCP server, web UI, ingestion, and
server-side deploy — ships in the
@cerefox/memory npm package
(no repo clone); the local backend bundles that same runtime plus Postgres +
pgvector into one image.
Until v1.0.0 the SemVer policy in CONTRIBUTING.md is
aspirational — breaking changes can land in minor versions when there's a good
reason; after v1.0.0 it's binding. Full release history is in
CHANGELOG.md; the roadmap and iteration log live in
docs/plan.md.
Upgrading to v1.0.0? Two changes need action (a rotatable access token replaces the legacy anon JWT for Edge Functions, and a schema redeploy) and Python is fully removed. One guide covers it:
docs/guides/migration-1.0.md.
Cerefox runs two ways — pick your backend. Both expose the same features, web UI, and MCP tools; they differ only in where your data lives and how you install. (Contributors who want to run from source: see Run from source below.)
Your data lives in your own Supabase project (free tier is enough). You use
the cerefox command from the @cerefox/memory
npm package. No git clone, no Python, no build.
# 1. Install (one-liner; detects Bun, falls back to npm):
curl -fsSL https://github.com/fstamatelopoulos/cerefox/releases/latest/download/install.sh | sh
# or: npm install -g @cerefox/memory (Node ≥ 24)
# 2. Configure + stand up the server side (against your own Supabase project):
cerefox init # interactive setup: Supabase URL/keys, embedding key
cerefox server deploy # schema + RPCs + all 9 Edge Functions, from the npm bundle
cerefox token generate # mint the Edge Function access token; sets it on Supabase
# and writes CEREFOX_ACCESS_TOKEN to your .env. Needed for
# GPT Actions / remote MCP + a fully-green doctor; the local
# MCP, cloud Claude (OAuth) and CLI/web don't use it.
cerefox doctor # verify everything is wired up
# 3. Wire up your AI agent(s) — run the ones that apply:
cerefox configure-agent --tool claude-code # local MCP (preferred) — also: claude-desktop | cursor | codex | gemini
# Cloud Claude (claude.ai/app): connect over OAuth (setup-supabase Step 7).
# Custom GPT (ChatGPT): paste the token from step 2 into the Action's
# Authentication → API Key (Bearer). See docs/guides/connect-agents.md.
# Works until 2026-12-11, when OpenAI retires Custom GPTs (see below).
# 4. Use it:
cerefox document ingest my-notes.md --title "My notes"
cerefox search "what did I decide about auth?"
cerefox web # web UI → http://localhost:8000/app/
Prerequisites: Node 24+ or Bun 1.0+ · a Supabase account (free tier) · an
embedding API key (OpenAI text-embedding-3-small).
Full walkthrough:
docs/guides/quickstart.md(~15 min). Supabase specifics:docs/guides/setup-supabase.md.
Everything runs in one Docker container on your machine — Postgres + pgvector
cerefox-local command (same KB verbs as cerefox).# 1. Install (one-liner; pulls the all-in-one image, adds a `cerefox-local` command):
curl -fsSL https://github.com/fstamatelopoulos/cerefox/releases/latest/download/install-local.sh | sh
# Fully offline instead? add `-s -- --local-embedder` — embeddings run
# in-container (no OpenAI key; text never leaves your machine).
# 2. Set your OpenAI key (or pick the local embedder) + wire up an AI agent:
cerefox-local init # OpenAI key or [2] Local embedder (re-creates the container)
cerefox-local configure-agent # wire an MCP client (e.g. Claude Code)
# 3. Use it:
cerefox-local document ingest my-notes.md --title "My notes"
cerefox-local search "what did I decide about auth?"
# web UI → http://localhost:8000/app/ (or the port the installer chose — it auto-steps
# to 8010/… if 8000 is busy; `cerefox-local status` shows the URL. Manage: status | upgrade | stop)
Prerequisites: Docker (Docker Desktop or Colima) · an OpenAI API key (embeddings still use the OpenAI API).
Full walkthrough:
docs/guides/setup-local.md. Cloud and local are independent — different installer, different command name — so they never collide if you happen to run both.
Clone the repo and run from source. bun drives everything.
git clone https://github.com/fstamatelopoulos/cerefox.git && cd cerefox
bun install # workspace deps: root + packages/memory + frontend
cp .env.example .env # fill in Supabase URL/keys + embedding key
bun scripts/db_deploy.ts # schema + RPCs (--dry-run to preview · --reset to wipe first)
npx supabase functions deploy # Edge Functions (or just use `cerefox server deploy`)
cd frontend && bun run build && cd .. # build the SPA `cerefox web` serves at /app/
bun test # run the suite (root + packages/memory + _shared)
Full contributor setup, conventions, and the test matrix are in
CONTRIBUTING.md and the contributor section of
docs/guides/quickstart.md.
Python is gone. As of v1.0.0 the entire runtime (CLI, MCP, web, ingestion) is TypeScript in
@cerefox/memory; the Python implementation — including theuv run cerefox mcpfallback — was removed. Only the SQL schema assets undersrc/cerefox/db/remain (they are not Python). Seedocs/guides/upgrading.md.
cerefox_documents cerefox_chunks
───────────────── ───────────────────────────────
id, title, source id, document_id, chunk_index
content_hash heading_path, heading_level
project_id content, char_count
metadata (JSONB) embedding_primary (VECTOR 768)
chunk_count fts (TSVECTOR, title-boosted)
Search RPCs (MCP tools): cerefox_hybrid_search, cerefox_fts_search,
cerefox_semantic_search, cerefox_search_docs, cerefox_reconstruct_doc,
cerefox_context_expand
The fastest path is cerefox configure-agent --tool <client> — it writes the
right config for Claude Code, Claude Desktop, Cursor, Codex, or Gemini. There
are several ways an agent can reach Cerefox:
1 — Local stdio MCP (recommended for local agents). cerefox mcp runs the
same 15 core tools in-process (plus 4 document-relation tools, hidden until you enable them with cerefox config set relations_enabled true) — lower latency, no per-call Edge Function billing, and
no Edge Function token needed (it reaches Supabase over the Data API with its own
.env credential). configure-agent wires it up, or point your client at
command: "cerefox", args: ["mcp"].
2 — Remote HTTP MCP (advanced/fallback). The cerefox-mcp Edge Function
speaks MCP Streamable HTTP. Just a URL + a Cerefox access token
(cerefox token generate — see
setup-supabase.md). No local install:
claude mcp add --transport http cerefox \
https://<project-ref>.supabase.co/functions/v1/cerefox-mcp \
--header "Authorization: Bearer <cerefox-access-token>"
3 — OpenAI: Codex today, ChatGPT changing. Codex (the CLI, and Codex
threads in the ChatGPT desktop app) works with the local stdio MCP:
cerefox configure-agent --tool codex. ChatGPT chats connect today through a
Custom GPT with GPT Actions pointing at the Edge Functions (requires ChatGPT
Plus): paste the OpenAPI block from
connect-agents.md and set the Action's Bearer
auth to your Cerefox access token. OpenAI retires Custom GPTs on December 11,
2026, and custom actions do not carry over to its replacement (plugins), so
this path stops working then. ChatGPT will need a new connection: an MCP
connector to cerefox-mcp over OAuth, the way cloud Claude connects below. That
is being validated in
#326
(research and plan).
4 — Shell CLI. Local coding agents with a Bash tool (Claude Code, Codex,
opencode, …) can read and write Cerefox by running the installed cerefox
command directly — no MCP config at all. Point the agent at
AGENT_GUIDE.md and let it use cerefox search /
cerefox document ingest.
5 — Cloud & mobile Claude (optional). claude.ai web and the Claude mobile
app connect to cerefox-mcp over OAuth — memory in your browser and on your
phone, with full hybrid search. It's an opt-in extra: it needs a one-time
Supabase OAuth setup plus a hosted consent page (the repo ships a one-command
Cloudflare Worker for that, free). Nothing else
above requires it. See
setup-supabase.md → Step 7.
Full setup for every client — plus a manual per-client config appendix for when
configure-agent can't reach a tool — is in
docs/guides/connect-agents.md.
Apache 2.0 — see LICENSE.
Cerefox — user-owned shared memory for AI agents. CLI + stdio MCP server + web UI + ingestion for a knowledge base on your own Supabase project (or fully self-hosted with Cerefox Local).
{ "mcpServers": { "cerefox-memory": { "command": "npx", "args": [ "-y", "@cerefox/[email protected]" ] } }}เครื่องมือ
ยังไม่มีรายการเครื่องมือ เซิร์ฟเวอร์แบบรีโมตจะได้รายการหลังการตรวจสอบสถานะครั้งแรก
FAQ
คัดลอกคอนฟิก stdio สำหรับ Cursor, Claude Desktop, Claude Code หรือ VS Code ได้ในหน้านี้ คอนฟิกนี้ใช้การติดตั้งของผู้เผยแพร่ ไม่ใช่พร็อกซีของ PlugMCP
ระเบียนนี้ไม่ได้ระบุตัวแปรสภาพแวดล้อมที่จำเป็น
@cerefox/memory ทำงานแบบโลคัลผ่าน stdio
ตรวจสอบล่าสุดเมื่อ 2026-11-13 Cerefox — user-owned shared memory for AI agents. CLI + stdio MCP server + web UI + ingestion for a knowledge base on your own Supabase project (or fully self-hosted with Cerefox Local).