Logotipo de MAMA OS

MAMA OS

Comunidad
jungjaehoon-lifegamez

Local-first operating memory for AI coding agents - Claude Code, Codex, and any MCP client. Tracks decisions and their evolution. SQLite + on-device embeddings, no cloud.

Editorjungjaehoon-lifegamez
RepositorioMAMA
IdiomaTypeScript
Forks
6
Estrellas
14
Herramientas disponibles
0
Tipo de transportestdio
Categorías
LicenciaMIT
Enlaces
  • Conecta herramientas a flujos de trabajo con IA

    MAMA OS ofrece funciones MCP que pueden usar los clientes y agentes de IA compatibles.

  • 0 herramientas disponibles

    Explora a continuación las acciones que se pueden invocar, con sus nombres y descripciones cuando el servidor los proporcione.

  • Configuración lista para copiar

    Usa los ejemplos de instalación para configurar este servidor en tu cliente MCP preferido.

  • Indicadores de interés en el código abierto

    14 estrellas y 6 forks en el repositorio enlazado.

MAMA

License: MIT Node Version Docs

Documentation · Getting started · How it works · Security · Roadmap

MAMA is a memory store that runs on your own computer, and an AI assistant that works from it. It keeps what flows through your connected messengers, mail, documents, and calendars as-is, and the assistant reads that record to tell you what changed and do what you ask. MAMA runs no hosted service; the record stays on your machine. Only the content a run needs leaves it, through the AI CLI and the connectors you configured.

Why

An AI assistant is only useful with memory, and memory kept on a company's server disappears when the service changes or shuts down. MAMA keeps the record of what you did and decided on your own computer, in the original form, so a better model can read the same record tomorrow. The memory layer is fixed; which sources you connect and what work you hand over is up to you.

Principles

In order of importance.

  1. Never lose the record. Original text, time, source, and later changes are kept, not overwritten.
  2. Know why it changed. Every change the assistant makes names the message or event behind it, or is marked "no cause".
  3. Act only where allowed. Sending messages, paying, deleting: anything with outside effect requires prior permission for that target.
  4. Remember corrections. Say "keep reports short" or "cards on the dashboard" once; it is stored as a rule and applied from then on.
  5. Stay independent of the model vendor. The assistant's brain (Claude, Codex, Cline) is swappable; the record's format is not.
  6. Everything else. Speed and convenience improve only within the five above.

Parts

NameWhat it doesVersion
@jungjaehoon/mama-osThe server: sources, assistant, messenger links, operational API0.56.x
@jungjaehoon/mama-coreThe memory store: format, search, change log3.2.x
@jungjaehoon/mama-serverMCP bridge for Claude Desktop and other MCP clients2.2.x
Claude Code pluginDecision memory for coding sessions2.0.x
MemoryBenchMeasures how accurate memory retrieval is1.0.x

Getting started

Requires Node 22.13+ and a logged-in claude or codex CLI.

bash
claude auth login                   # or: codex login
npm install -g @jungjaehoon/mama-os
mama --help                         # tells you the next step
mama status                         # setup is done when the first report arrives
  • Messenger: mama gateway telegram --token-stdin (Slack and Discord work the same way)
  • Sources: mama connector add <name>, then mama connector status
  • Runtime status: mama status; operational health: http://127.0.0.1:3847/health
  • For scripted installs, follow the missing list from mama status --json in order; it is finished only when complete: true.

Claude Code plugin: /plugin install mama. MCP: {"mcpServers":{"mama":{"command":"npx","args":["@jungjaehoon/mama-server"]}}}.

How it works

What you add      sources to connect · work to hand over · rules you correct
The assistant     one assistant · a tool catalog · permission scopes · a rule store
The memory store  SQLite on your machine: originals · decision history · change causes · run logs · local search index

Memory store. Per-source originals live in ~/.mama/connectors/<name>/raw.db; decisions and change logs under ~/.mama/. Changing a decision adds a "this replaced that" link instead of deleting the old one. Each change log row holds what changed and what caused it; a row with a faked cause is rejected at write time. The search index (embeddings) is built locally.

Assistant. Your messages, scheduled reports, new source content, and timed jobs all reach one assistant. It picks tools from the catalog and hands long reads and background work to helper agents, taking back only the result. Every run carries a permission scope saying what it may touch and until when. Your corrections are stored as rules and offered as candidates in similar situations. Reports and the board are edited from the last published version, not rebuilt.

What you add. A new source is one IConnector implementation; polling and storage are handled. A new kind of work is one entry in the tool catalog. A new rule is one message.

Sources

calendar, chatwork, discord, drive, gmail, imessage, notion, obsidian, sheets, slack, telegram, trello, claude-code. Config in ~/.mama/connectors.json; status via mama connector status. Each channel gets a role (truth, hub, deliverable, spoke, reference) used in reports.

Security

  • The server answers only on your machine (127.0.0.1) by default.
  • Sending, uploading, paying, and deleting happen only toward allowed targets. Unattended work (scheduled reports, incoming-content handling) has no send permission.
  • Only allow-listed chats are accepted from messengers (allowedChatIds for Telegram).
  • Values that look like passwords or keys are not stored in memory.
  • Outbound connections go only to the services you connected and the AI CLI you logged into. There is no MAMA company server; you run it yourself.

Running on another host or reaching it from outside. The operational API can drive the assistant, and the assistant can read and write files and run commands. Exposing the API exposes that machine. If you open it up:

  1. Set MAMA_AUTH_TOKEN. Never expose the server without it, and treat the token and tunnel URL as secrets.
  2. For anything beyond a short test, put it behind Cloudflare Zero Trust (or mTLS / IP allow-listing) in addition to the token. Token-only access is for temporary testing.
  3. Keep the messenger allow-list, and restrict ~/.mama/ to the operating account.
  4. Back up ~/.mama/ together with ~/.claude/mama-memory.db.

Details: Security guide, Remote access.

Status and roadmap

StageWhatStatus
Memory storeOriginals kept, decision history, change causes, local searchdone
Single-owner assistantScheduled reports, board and journal, corrections become rulesdone
Helpers and continuationLong work to helper agents; reports continue from the last versiondone (0.52.0)
Team membersVerified people share the same memory within their own permissionsnext
File workRequest → read → new version → approval → delivery → follow-upnext
Extension guideHow to add your own sources, tools, and rulesnext

Before 1.0, config and storage format changes ship with automatic migration; APIs may change.

Read more

Build

bash
pnpm install
pnpm build
pnpm test

Contributing

Open an issue or discussion first. Discuss the design before building a feature. Changes to the storage format must come with a migration script.

License

MIT © jungjaehoon

Instalación

TypingMind
{
  "mcpServers": {
    "mama": {
      "command": "mama",
      "args": [
        "start"
      ]
    }
  }
}

Usa el MCP de MAMA OS con varios modelos de IA

TypingMind conecta las herramientas MCP a nivel del espacio de trabajo, por lo que, una vez conectado MAMA OS, puedes usarlo con distintos modelos de IA en TypingMind sin tener que configurarlo por separado para cada modelo. Esta integración MCP se ejecuta localmente en tu dispositivo a través del conector MCP de TypingMind.

Guía de configuración para usar el conector local

Usa esta opción si el servidor MCP necesita acceder a archivos locales, aplicaciones o recursos privados de tu ordenador.

1

Abre los ajustes de MCP

En TypingMind, ve a Ajustes, luego a Ajustes avanzados y a Model Context Protocol, y elige Configurar conector.

  1. Abre TypingMind en tu navegador.
  2. Haz clic en el icono de Ajustes.
  3. Ve a Ajustes avanzados.
  4. Abre la sección Model Context Protocol.
  5. Haz clic en Configurar conector y elige Este dispositivo.
Pantalla de configuración del conector MCP de TypingMind con «Este dispositivo» seleccionado
2

Ejecuta el comando del conector

Elige Este dispositivo, copia el comando de TypingMind y ejecútalo en Terminal. Mantén el proceso en ejecución mientras uses MCP.

  1. Copia el comando de configuración que muestra TypingMind.
  2. Abre Terminal en macOS o Windows Terminal en Windows.
  3. Pega y ejecuta el comando.
  4. Acepta la instalación del paquete si Terminal te pide confirmación para continuar.
  5. Mantén el proceso en ejecución en la ventana de Terminal mientras uses las herramientas MCP.
3

Añade MAMA OS como servidor

Cuando el estado del conector sea «Listo», haz clic en «Edita servidores» y pega la configuración del servidor MCP.

  1. Espera hasta que el estado del conector indique «Listo».
  2. Haz clic en Edita servidores.
  3. Pega la configuración del servidor MCP de MAMA OS.
  4. Guarda la lista de servidores.
  5. Actualiza para comprobar que el conector sigue listo.
Ajustes de MCP de TypingMind con un servidor activo y el botón «Edita servidores»
{
  "mcpServers": {
    "mama": {
      "command": "npx",
      "args": [
        "-y",
        "claude-mama"
      ]
    }
  }
}
4

Úsala con distintos modelos

Guarda la lista de servidores, abre Plugins, activa las herramientas MCP de MAMA OS y selecciona cualquier modelo de IA compatible en TypingMind para usar las herramientas en el chat o asignárselas a un agente de IA.

  1. Abre la página Plugins en TypingMind.
  2. Activa las herramientas MCP de MAMA OS.
  3. Inicia un chat y elige el modelo de IA que quieras usar.
  4. Usa las herramientas MCP en el chat o asígnalas a un agente de IA.
  5. Cambia a otro modelo de IA cuando lo necesites sin volver a conectar MCP.
Chat de TypingMind que usa herramientas MCP activadas con un modelo de IA seleccionado
¿Puedes usar MAMA OS para ayudarme con esta tarea?
MAMA OS
Claro. Lo he leído.
Esto he encontrado usando MAMA OS.

Preguntas frecuentes

¿Para qué sirve el servidor MCP MAMA OS?

MAMA OS es un servidor MCP que permite a los clientes de IA compatibles conectarse a herramientas y contexto externos. En TypingMind, basta con añadir este servidor MCP una vez para que sus herramientas estén disponibles en tu espacio de trabajo de IA.

¿Puedo usar el servidor MCP MAMA OS con varios modelos de IA en TypingMind?

Sí. TypingMind conecta las herramientas MCP a nivel del espacio de trabajo, por lo que puedes usar MAMA OS con distintos modelos de IA, como Claude, ChatGPT, Gemini u otros que hayas configurado en TypingMind, sin configurar el servidor MCP por separado para cada modelo.

¿Por qué usar el conector MCP de MAMA OS con TypingMind?

TypingMind es una de las mejores interfaces de chat con LLM porque reúne varios modelos de IA, prompts, plugins, agentes de IA, claves de API y herramientas MCP en un solo espacio de trabajo. Con MAMA OS conectado, puedes usar sus herramientas MCP con tus modelos preferidos y mantener organizado tu flujo de trabajo de chat en TypingMind.

¿Cómo conecto el servidor MCP MAMA OS a TypingMind?

MAMA OS funciona a través del conector MCP local de TypingMind. Es la mejor opción cuando el servidor MCP necesita acceder a archivos locales, aplicaciones de escritorio, herramientas de línea de comandos o recursos privados de tu ordenador.

¿Qué herramientas ofrece el servidor MCP MAMA OS en TypingMind?

MAMA OS ofrece funciones MCP que puedes activar desde la página Plugins de TypingMind y usar en el chat o asignar a agentes de IA.

¿Tengo que compartir mis claves de API con TypingMind para usar el servidor MCP MAMA OS?

No. TypingMind prioriza el funcionamiento local y te permite mantener el control de tus proveedores de modelos, claves de API, prompts y configuración MCP. Si MAMA OS requiere autenticación, añade las cabeceras, los ajustes de OAuth o la configuración local necesarios para ese servidor MCP al crear la conexión.

Servidores MCP relacionados

Ver todos

Crea ya tu propio espacio de trabajo IA

Suscríbete a nuestro boletín para recibir avisos sobre nuevas funciones y próximos sorteos 👇