MAP Docs
MAME

CLI

`map invoke MAME` recipes for every operation.

The CLI is a Rust binary at services/map-cli. After map login you can dispatch any operation on MAME from the shell.

Common flags

FlagEffect
--input <json>Operation payload (or read from stdin)
--version v1.0.0Pin a specific protocol version
--idempotency-key <k>Required for safe retries of state-changing ops
--audit-tailPrint the audit record(s) produced
--output humanPretty-print response (default: json)

Recipes

edit

map invoke MAME edit --input '{"example":true}'

Edit a memory cell with full provenance; old value preserved as tombstone.

Capability: map.mame.edit

redact

map invoke MAME redact --input '{"example":true}'

Redact a memory under policy authority; auditable tombstone, never silence.

Capability: map.mame.redact

migrate

map invoke MAME migrate --input '{"example":true}'

Schema migration with versioned views; historical reads continue under old schema.

Capability: map.mame.migrate

See CLI reference for global flags, login, MCP integration.

On this page