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.1
Published
May 13, 2026
Downloads
not available
Author
vmarino
License
MIT
Types
extension
Size
20 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.

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