pi-mom

MOM native Pi extension — registers MOM tools directly in the Pi coding agent

Packages

Package details

extension

Install pi-mom from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:pi-mom
Package
pi-mom
Version
0.1.7
Published
May 19, 2026
Downloads
374/mo · 374/wk
Author
vmarino
License
MIT
Types
extension
Size
29.9 KB
Dependencies
1 dependency · 1 peer
Pi manifest JSON
{
  "extensions": [
    "extensions/mom-tools.ts"
  ]
}

Security note

Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.

README

pi-mom

Native Pi extension for MOM (Memory Oriented Machine).

Registers MOM's MCP tools directly as native Pi tools — mom_recall, mom_status, mom_record, and more — so the LLM can call them without going through the generic MCP gateway.

Also packages MOM's user-invocable skills for skills.sh:

  • /mom-status — check MOM health and vault state
  • /mom-recall <query> — search persistent memory
  • /mom-project — bind the current directory to a MOM project id for scoped memory
  • /mom-wrap-up — review and curate draft memories

Installation

pi install npm:pi-mom

Or let mom init handle it automatically when it detects Pi in your project.

Requirements

  • Pi coding agent installed
  • MOM installed and on PATH
  • A .mcp.json with a mom server entry in your project (created by mom init)

How it works

On Pi startup, the extension reads your .mcp.json, spawns mom serve mcp as a stdio child process, lists all tools MOM advertises, and registers each one as a native Pi tool prefixed with mom_. New tools added to MOM appear automatically on the next Pi session — no extension update needed.

Related