Logo di MAMA OS

MAMA OS

Community
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.

Autorejungjaehoon-lifegamez
RepositoryMAMA
LinguaTypeScript
Fork
6
Stelle
14
Strumenti disponibili
0
Tipo di trasportostdio
Categorie
LicenzaMIT
Link
  • Collega gli strumenti ai flussi di lavoro IA

    MAMA OS mette a disposizione funzionalità MCP utilizzabili da client e agenti IA compatibili.

  • 0 strumenti disponibili

    Esplora le azioni richiamabili qui sotto, con nomi e descrizioni quando forniti dal server.

  • Configurazione pronta da copiare

    Usa gli esempi di installazione per configurare questo server nel tuo client MCP preferito.

  • Indicatori di interesse open source

    14 stelle e 6 fork nel repository collegato.

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

Installazione

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

Usa MCP MAMA OS con più modelli IA

TypingMind collega gli strumenti MCP a livello di area di lavoro: una volta connesso MAMA OS, puoi usarlo con diversi modelli IA in TypingMind, senza configurarlo separatamente per ogni modello. Questa integrazione MCP viene eseguita localmente sul tuo dispositivo tramite il connettore MCP di TypingMind.

Guida alla configurazione del connettore locale

Usa questo metodo quando il server MCP deve accedere a file locali, app o risorse private sul tuo computer.

1

Apri le impostazioni MCP

In TypingMind, vai su Impostazioni, Impostazioni avanzate, poi su Model Context Protocol e scegli Configura MCP.

  1. Apri TypingMind nel tuo browser.
  2. Fai clic sull'icona Impostazioni.
  3. Vai a Impostazioni avanzate.
  4. Apri la sezione Model Context Protocol.
  5. Fai clic su Configura MCP e scegli Questo dispositivo.
Schermata di configurazione del connettore MCP di TypingMind con Questo dispositivo selezionato
2

Esegui il comando del connettore

Scegli Questo dispositivo, copia il comando da TypingMind ed eseguilo nel terminale. Lascia il processo in esecuzione mentre usi MCP.

  1. Copia il comando di configurazione mostrato da TypingMind.
  2. Apri Terminale su macOS o Windows Terminal su Windows.
  3. Incolla ed esegui il comando.
  4. Conferma l'installazione del pacchetto se il terminale ti chiede di procedere.
  5. Tieni aperta la finestra del terminale con il processo in esecuzione mentre usi gli strumenti MCP.
3

Aggiungi MAMA OS come server

Quando lo stato del connettore è Pronto, fai clic su Modifica server e incolla la configurazione del server MCP.

  1. Attendi che lo stato del connettore sia Pronto.
  2. Fai clic su Modifica server.
  3. Incolla la configurazione del server MCP di MAMA OS.
  4. Salva l'elenco dei server.
  5. Aggiorna per verificare che il connettore sia ancora pronto.
Impostazioni MCP di TypingMind con un server attivo e il pulsante Modifica server
{
  "mcpServers": {
    "mama": {
      "command": "npx",
      "args": [
        "-y",
        "claude-mama"
      ]
    }
  }
}
4

Usa la connessione con diversi modelli

Salva l'elenco dei server, apri Plugin, abilita gli strumenti MCP di MAMA OS, poi seleziona un modello IA supportato in TypingMind e usa gli strumenti in chat o assegnali a un agente IA.

  1. Apri la pagina Plugin in TypingMind.
  2. Abilita gli strumenti MCP di MAMA OS.
  3. Avvia una chat e scegli il modello IA che vuoi usare.
  4. Usa gli strumenti MCP in chat o assegnali a un agente IA.
  5. Passa a un altro modello IA quando serve, senza riconnettere MCP.
Chat di TypingMind che usa gli strumenti MCP abilitati con un modello IA selezionato
Puoi usare MAMA OS per aiutarmi con questa attività?
MAMA OS
Certo. Ho letto.
Ecco cosa ho trovato con MAMA OS.

Domande frequenti

A cosa serve il server MCP MAMA OS?

MAMA OS è un server MCP che consente ai client IA compatibili di accedere a strumenti e informazioni di contesto esterni. In TypingMind puoi aggiungere questo server MCP una sola volta e rendere disponibili i suoi strumenti nella tua area di lavoro IA.

Posso usare MAMA OS MCP con più modelli IA in TypingMind?

Sì. TypingMind collega gli strumenti MCP a livello di area di lavoro, quindi puoi usare MAMA OS con diversi modelli IA come Claude, ChatGPT, Gemini o altri modelli che hai configurato in TypingMind, senza dover configurare il server MCP separatamente per ogni modello.

Perché usare il connettore MCP MAMA OS con TypingMind?

TypingMind è una delle migliori interfacce per chattare con gli LLM perché riunisce più modelli IA, prompt, plugin, agenti IA, chiavi API e strumenti MCP in un'unica area di lavoro. Collegando MAMA OS, puoi usare i suoi strumenti MCP con i tuoi modelli preferiti e mantenere organizzato il tuo flusso di lavoro in chat su TypingMind.

Come collego MAMA OS MCP a TypingMind?

MAMA OS funziona tramite il connettore MCP locale di TypingMind. È la soluzione ideale quando il server MCP deve accedere a file locali, app desktop, strumenti da riga di comando o risorse private sul tuo computer.

Quali strumenti offre MAMA OS MCP in TypingMind?

MAMA OS mette a disposizione funzionalità MCP che puoi attivare dalla pagina Plugin di TypingMind e usare in chat o assegnare agli agenti IA.

Devo condividere le mie chiavi API con TypingMind per usare MAMA OS MCP?

No. TypingMind privilegia il funzionamento in locale e ti permette di mantenere il controllo su fornitori di modelli, chiavi API, prompt e configurazione MCP. Se MAMA OS richiede l'autenticazione, aggiungi le intestazioni, le impostazioni OAuth o la configurazione locale necessarie per quel server MCP quando crei la connessione.

Server MCP correlati

Vedi tutti

Crea subito la tua area di lavoro IA

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇