Memory Os Cli logo

Memory Os Cli

by yonro

Persistent, scoped XMemo memory over hosted HTTP or local stdio MCP, with recall, project context, TODOs, events, and ledger tools.

Install Memory Os Cli

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "yonro-memory-os-cli": {
      "command": "npx",
      "args": [
        "-y",
        "--package",
        "@xmemo/client@latest",
        "xmemo-mcp"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Automated check passed— started and listed 20 tools correctly ().

Overview

yonro/memory-os-cli connects MCP clients to XMemo, a user-owned memory service available through a hosted Streamable HTTP endpoint or local stdio server. Its tools let agents save, search, explain, update, restore, and delete memories, while also handling project context, working state, TODOs, timelines, and ledger records. Use it when an agent needs persistent context across conversations, sessions, projects, or supported clients. The package includes the Node.js CLI used for authentication, diagnostics, setup, and MCP server management.

Use cases

  • Persist facts and preferences across agent sessions
  • Resume project work with bounded context packs
  • Track decisions, events, and working-state handoffs
  • Manage agent TODOs and completion status
  • Record and summarize personal Ledger transactions

Key features

  • Hosted Streamable HTTP and local stdio MCP modes
  • Scoped memory recall, editing, versioning, and deletion
  • Project context and session continuity tools
  • Memory-backed TODO and working-state management
  • Ledger transaction and monthly summary tools
  • Node.js CLI for login, diagnostics, and client setup

Tools20

What Memory Os Cli lets your agent do. Expand a tool for its parameters.

Verified live~4.6k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

24/24 checks healthy over the last 105d

What it can do

From the 20 tools this server returned when we ran it; 5 declare their own safety hints.

Can delete or modify data · 1Read-only tools · 19
Network at startup3 connections
Files written at startupNone
Install scriptsNone
npm provenanceSigned build
Package age179 days
Maintainers1

Observed 2026-11-16 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 2d ago via OSV.dev · @xmemo/client@latest (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars13Stargazers on the source repository.
npm downloads901Package downloads in the last 30 days.
Last commit14d agoMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Install checkPassedOur sandbox started it and listed its tools.
Tools exposed20Callable tools this server registers over MCP.
Directory activity4 viewsConfig copies, upvotes, and views on AllMCPs.

How Memory Os Cli works

What yonro/memory-os-cli does

XMemo provides a shared memory layer for AI agents. Through MCP, an agent can persist durable facts, preferences, operational knowledge, decisions, and other scoped records instead of relying only on the current conversation. Records can be recalled semantically, inspected, updated, versioned, restored, or permanently removed.

The server also covers session continuity and project work. Agents can save a replaceable working-state record, record important session events, create and complete TODOs, and read a bounded project context containing state, tasks, decisions, timeline entries, recent memories, and optional durable recall. Separate Ledger tools support expense, income, refund, and transfer records.

How it works

XMemo exposes the same service through two MCP connection modes:

  • A hosted Streamable HTTP endpoint at https://xmemo.dev/mcp.
  • A local stdio server started through the xmemo-mcp command or the CLI's MCP serve command.

The repository distributes the @xmemo/client package. Its primary command is xmemo, with client and memory-os aliases. The CLI handles account login, diagnostics, client setup, status checks, behavior profiles, and related configuration. It runs on Node.js 20 or later.

Memory access is scoped and governed. Several read and write operations require the corresponding memory:read or memory:write permission. Project context and timeline reads are authorized, and project-context access is audit-logged. Context-pack tools accept item and token limits so an agent can control how much material is rendered.

Setup and configuration

Install the client globally and use guided onboarding:

Terminal
npm install -g @xmemo/client
xmemo init

For a manual flow, authenticate, check the installation, and configure a client:

bash
xmemo account login
xmemo doctor
xmemo setup cursor
xmemo status

Use --dry-run to preview onboarding or client configuration without applying changes. --yes accepts onboarding steps automatically, --json emits structured output, and --client limits onboarding to selected clients. The package can also be run without a global install using npx @xmemo/client; this supports commands such as doctor, init, skill install, and mcp serve.

Tools and capabilities

The MCP surface includes:

  • Identity and diagnostics through get_mcp_identity and memory_stats.
  • Durable memory operations with remember, recall, recall_context, update_memory, explain_memory, restore_memory, forget, and list_memory_versions.
  • Session and project continuity with record_event, get_timeline, update_state, and get_project_context.
  • Action tracking through create_memory_todo, list_memory_todos, and complete_memory_todo.
  • Financial records through add_expense, list_ledger_transactions, and get_monthly_ledger_summary.

recall is intended for lightweight retrieval, while recall_context produces a bounded multi-memory pack. get_project_context provides a broader project snapshot when an exact project ID is available. update_state versions one scoped working-state slot without deleting other memories.

Limitations and notes

The hosted service implementation is private; this repository distributes the CLI, connection surfaces, skills, and metadata rather than the service backend. Authentication and permissions affect which memories, timelines, and project records an agent can access. Ledger creation requires a positive amount and does not delete existing Ledger records. Use forget when permanent memory deletion is intended.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Memory Os Cli

yonro/memory-os-cli is an MCP server that connects AI clients to XMemo, a hosted user-owned memory service. Its main tools save and recall memories, manage project context and working state, track TODOs and events, and record Ledger transactions. It is available through Streamable HTTP or a local stdio process.

Install the CLI with `npm install -g @xmemo/client`, then run `xmemo init`. The guided flow handles authentication and MCP setup. You can also use `npx @xmemo/client init` without a global installation, or run `npx @xmemo/client mcp serve` for the local stdio server.

Yes, Cursor is supported by the CLI setup flow. After logging in, run `xmemo setup cursor`; use `xmemo setup cursor --dry-run` to preview the configuration before writing it.

Run commands through `npx @xmemo/client`. For example, use `npx @xmemo/client doctor` for diagnostics, `npx @xmemo/client init` for onboarding, or `npx @xmemo/client mcp serve` to start the local MCP stdio server.

Yes, the MCP tools include `restore_memory` and `explain_memory`. The former restores a previously deleted memory, while the latter explains why a memory exists or matched a query. `list_memory_versions` lists available versions for a memory.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewMemory Os Cli AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/yonro-memory-os-cli?style=directory)](https://allmcps.com/mcp/yonro-memory-os-cli)
HTML Embed
<a href="https://allmcps.com/mcp/yonro-memory-os-cli"><img src="https://allmcps.com/api/badge/yonro-memory-os-cli?style=directory" alt="Memory Os Cli on AllMCPs" /></a>