Hosted ambient memory for AI agents. Retrieve context and save notes via MCP tools with OAuth.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Get Cloud key Β· Self-host Β· Docs Β· Demo
Your agent forgets. Fix that with memory you can open like a wiki.
One OpenAI-compatible /v1 URL: wiki memory, agentic tool loop, skills/guardrails, MCP, sandbox, and HITL β
self-hosted or Cloud. Not a vector black box. Not classic RAG inject.
ContextMemory is the open-source agentic memory gateway behind Kortexio.
Your app (or Cursor/Claude) keeps talking to a normal chat API. The gateway:
chat.completions response (streaming supported)Honest boundaries: this is a gateway + server-side harness, not a client agent framework (LangGraph/CrewAI) and not an agent OS (Letta). You keep your OpenAI client; the loop runs on the server.
How we compare (Mem0 / Zep / Letta / why we are not RAG): docs/compare.md.
| You need⦠| ContextMemory provides⦠|
|---|---|
| Memory that survives turns without rewriting your client | Session markdown wiki + history inject; send only the new message |
| Memory you can open, edit, audit | Files on disk / Postgres β not opaque embeddings |
| Shared company/docs knowledge in chat | Global Wiki digests + on-demand wiki_search / wiki_grep (not classic RAG / embeddings) |
| Point-in-time facts | Temporal revisions (asOf / supersede) on Global Wiki |
| Tools without a second orchestrator | Same /v1: sandbox + MCP integrations + wiki tools |
| Safer agents | Skills & guardrail packs, validators, confirmation keywords, HITL [CONFIRM:id] |
| Cursor / Claude permanent memory fast | MCP wedge: memory_save / memory_search / memory_get (+ wiki_search, session_recall) |
| Any LLM per tenant | Ollama, vLLM, LM Studio, OpenAI, Azure-compatible /v1, custom |
| Operate without writing a test client | Admin + Playground (timeline, todos, artifacts, HITL) |
| Full control on your infra | Docker/Compose self-host (API + Admin + mcp-runtime + sandbox) |
| Zero ops | Kortexio Cloud (cmk_live_β¦) |
MaxContextTokensbasePersona, businessRules, formatRules, wikiSchema per appwiki_search / wiki_grep; revisions / audit / asOfWhen agentic tools are enabled, the gateway runs a tool loop:
wiki_search, wiki_grep; sandbox shell_execute / python_execute / node_execute / container_execute (self-hosted or ACA); discovery helpers (artifact_*, skill_*, rule_*, tool_describe, session_log_search, delegate_task, todo_write)tool_describe for full argsartifactIddelegate_task (depth 1, isolated child session)server__tool), allow/deny, max tools per turn, OAuth/credentialsdeterministic Β· hybrid Β· llm-judge[CONFIRM:id] / cancel; checkpoint in session logcontext_memory.agentic phases (incl. Compacting / Subagent*) + context_memory.discovery countersauto / ollama / openai / claude / qwen / composer.skill.json / .guardrail.jsonskill | always_on | requestable (rules loaded via rule_search / rule_read)| Direction | Role |
|---|---|
| Outbound wedge | Cursor/Claude β ContextMemory (mcp-server/) for memory tools |
| Inbound catalog | ContextMemory agent β your MCP servers (HTTP/stdio via mcp-runtime, OAuth, catalog rebuild) |
Blazor Admin (:5200, Master Key auth) β operators configure tenants without touching JSON by hand:
| Area | What you configure / do |
|---|---|
| Dashboard | Apps, requests, wiki/web-search stats |
| New app / credentials | Register tenant, mint/rotate cm_live_β¦ |
| Playground | Chat Lab: agentic timeline (Compacting/Subagent), Todos, Artifacts, wiki refs, HITL |
| LLM | Backend, model, endpoint, API key, history, streaming, think |
| Memory & wiki | Session budgets, compaction, maintainer model, Global Wiki on/off + char budget |
| Web search | Provider, mode, persist-to-wiki |
| Rate limits | RPM/TPM (+ agentic weight) |
| Persona & rules | Persona, business/format rules, wiki schema |
| Agentic | Full gateway knobs: tools, MCP, sandbox, validators, HITL, egress |
| Skills & policies | Platform + per-app skills/guardrails |
| Settings | API base URL, Master Key, health |
Β
Β
Guide: docs/admin-ui.md Β· HITL: docs/hitl.md
Docker Compose brings up a full local platform:
| Service | Role |
|---|---|
API (:5100) | Gateway /v1, admin APIs, metrics |
Admin (:5200) | Operator UI |
| mcp-runtime | Stdio/HTTP MCP sidecar |
| sandbox-runtime | Isolated shell/python/node execution |
Persistence: File (single-node) or Postgres (HA + FTS). Images: ghcr.io/kortexio/contextmemory Β· ghcr.io/kortexio/contextmemory-admin.
Prometheus /metrics Β· OpenTelemetry (Aspire) Β· per-app telemetry in Admin.
Default demo points at Ollama on the host. Swap the backend anytime in Admin β Config β LLM or PATCH /admin/apps/{id}/config.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/kortexio-memory)<a href="https://allmcps.com/mcp/kortexio-memory"><img src="https://allmcps.com/api/badge/kortexio-memory?style=directory" alt="Kortexio Memory on AllMCPs" /></a>