Agents

OpenClaw

stdio MCP configuration for OpenClaw.

OpenClaw can attach MCP stdio servers as tool providers, which makes Meivo a drop-in long-term memory for your assistant.

OpenClaw's configuration format has evolved across releases. The snippet below follows the common mcpServers convention used by most MCP clients - check your installed version's documentation for the exact key names and config file location before copying.

Setup

Install Meivo first (local quickstart). Then register a stdio MCP server in your OpenClaw config (typically a JSON file in its config directory):

{
  "mcpServers": {
    "meivo": {
      "command": "gm-server",
      "args": ["mcp"],
      "env": {
        "GM_DATA_DIR": "/home/you/.greatmemory"
      }
    }
  }
}

Notes:

  • Use an absolute path in command (e.g. /home/you/.cargo/bin/gm-server) if OpenClaw runs with a minimal PATH - common for daemonized gateways.
  • GM_DATA_DIR pins the memory store to a fixed location; without it the database lands in ./.greatmemory relative to the process working directory.
  • No separate server process is required - stdio mode opens the database directly. If you already run gm-server serve for other trusted clients, point OpenClaw at the streamable-HTTP endpoint http://127.0.0.1:7437/mcp instead (if your version supports HTTP MCP servers).

What you get

Thirteen tools cover remember, recall, cited context, profiles, temporal history, episodes, linked cards, and forget. See the MCP reference for parameters.

space is a retrieval namespace, not an authorization boundary. Do not expose one direct MCP store to mutually untrusted OpenClaw users. Use separate data directories or route shared enterprise access through the governance gateway.