Memstate AI MCP Server

Agent memory with git-like version control. Custom LLMs turn conversations into structured facts with automatic conflict detection - your agent sees

Remote serverstreamable-http

What is the Memstate AI MCP Server?

Agent memory with git-like version control. Custom LLMs turn conversations into structured facts with automatic conflict detection - your agent sees how decisions

What you get

Other memory systems dump everything into your context window and hope for the best. Memstate gives your agent a structured, versioned knowledge base it navigates precisely — load only what you need, know what changed, know when facts conflict.

Recorded tools

  • memstate_remember — Store markdown, task summaries, decisions. Server extracts keypaths and detects conflicts automatically. Use for most writes.
  • memstate_set — Set a single keypath to a short value (e.g. config.port = 8080). Not for prose.
  • memstate_get — Browse all memories for a project or subtree. Use at the start of every task.
  • memstate_search — Semantic search by meaning when you don't know the exact keypath.
  • memstate_history — See how a piece of knowledge changed over time — full version chain.
  • memstate_delete — Soft-delete a keypath. Creates a tombstone; full history is preserved.
  • memstate_delete_project — Soft-delete an entire project and all its memories.

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
memstate_remembermarkdown summaries, decisions, task results (preferred)
memstate_setsingle short values only (config flags, status)
memstate_getbrowse/retrieve before tasks
memstate_searchsemantic lookup when keypath unknown
memstate_historyaudit how knowledge evolved
memstate_deleteremove outdated memories (history preserved)

How to install the Memstate AI MCP Server

{
  "mcpServers": {
    "memstate": {
      "command": "npx",
      "args": [
        "-y",
        "@memstate/mcp"
      ],
      "env": {
        "MEMSTATE_API_KEY": "YOUR_MEMSTATE_API_KEY"
      }
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

VariableDescriptionRequired
MEMSTATE_API_KEYDeclared in the maintainer’s client configuration.Yes

Example prompts to try

  • “Use Memstate AI to memstate remember.”
  • “Use Memstate AI to memstate set.”
  • “Use Memstate AI to memstate get.”

Frequently asked questions

Agent memory with git-like version control. Custom LLMs turn conversations into structured facts with automatic conflict detection - your agent sees how decisions Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.