AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
MCP verified MIT Self-run

Openclaw Membase

mcp-aristoapp-openclaw-membase · by aristoapp

OpenClaw plugin for persistent AI memory

No reviews yet
0 installs
33 views
0.0% view→install

Install

$ agentstack add mcp-aristoapp-openclaw-membase

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/mcp-aristoapp-openclaw-membase)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
2mo ago

Declared compatibility

Claude CodeClaude DesktopCursorWindsurf

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Openclaw Membase? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Membase Plugin for OpenClaw

[](https://membase.so/?utmsource=github&utmmedium=openclaw-membase)

Persistent long-term memory for OpenClaw using hybrid vector search and a knowledge graph.

Website · Docs · Dashboard · Issues


Give your OpenClaw agent persistent memory that survives across sessions. Membase uses hybrid vector search + knowledge graph to remember not just text, but entities, relationships, and facts.

> Free to start — Sign up at app.membase.so and connect in under a minute.

Install

openclaw plugins install @membase/openclaw-membase

Restart OpenClaw after installing.

Setup

openclaw membase login

Opens a browser for OAuth authentication. Tokens are saved automatically, so there are no API keys to copy and paste.

How It Works

Once installed, the plugin runs two hooks behind the scenes:

User message
    │
    ▼
┌─────────────────────────┐
│  Auto-Recall            │  Searches Membase for relevant memories
│  (before_agent_start)   │  and injects them as context
└───────────┬─────────────┘
            ▼
┌─────────────────────────┐
│  AI Response            │  Agent can call memory and wiki tools
│                         │  (membase_search, membase_search_wiki, etc.)
└───────────┬─────────────┘
            ▼
┌─────────────────────────┐
│  Auto-Capture           │  Buffers user/assistant messages,
│  (agent_end)            │  flushes original transcript to Wiki
└───────────┬─────────────┘
            ▼
┌─────────────────────────┐
│  Membase Backend        │  Hybrid vector search + knowledge graph
│  (api.membase.so)       │
└─────────────────────────┘
  • Auto-Recall: Before every AI turn, searches memory and wiki context (when enabled) and injects relevant snippets. Skips casual chat and short messages. Respects a maxRecallChars budget (default 4000) to avoid oversized context.
  • Auto-Capture: After conversations, buffers user and assistant messages and saves the original transcript to Membase Wiki. Flushes after 5 minutes of silence or 20 messages.
  • Knowledge Graph: Unlike simple vector-only memory, Membase uses hybrid vector search and a knowledge graph to store entities, relationships, and facts.

AI Tools

The agent uses these tools autonomously during conversations:

| Tool | Description | | --- | --- | | membase_search | Search memories by semantic similarity. Supports date filtering (date_from, date_to, timezone) and source filtering (sources — integrations, AI clients including codex/hermes, imports, notion, and other sources). Returns episode bundles with related facts and relevance scores. | | membase_get_current_date | Return runtime local and UTC time before converting relative dates into date_from/date_to. | | membase_store | Save important information to long-term memory. Proactively stores preferences, goals, and context. | | membase_forget | Delete a memory. Shows matches first, then deletes after user confirmation (two-step). | | membase_profile | Retrieve user profile and related memories for session context. | | membase_search_wiki | Search wiki documents for factual references and stable knowledge. Results label Project, Basic, or Unknown destinations. | | membase_add_wiki | Create a wiki document from full markdown content and an optional Project filing location. Reports the returned destination. | | membase_update_wiki | Update title/content/Project for an existing wiki document. Set Project to null to move to Basic. Reports the returned destination. | | membase_delete_wiki | Delete a wiki document with confirmation flow. |

CLI Commands

openclaw membase login              # OAuth login (PKCE) — opens browser
openclaw membase logout             # Remove stored tokens
openclaw membase search      # Search memories
openclaw membase search  -s slack,gmail  # Filter by source
openclaw membase wiki-search             # Search wiki documents
openclaw membase wiki-search  --project "Docs"        # Filter by Project
openclaw membase wiki-search  --collection-id   # Filter by Project UUID
openclaw membase wiki-add "" --content ""   # Add wiki doc
openclaw membase wiki-add "" --content "" --project "Docs"
openclaw membase wiki-update  --title ""   # Update wiki doc
openclaw membase wiki-update  --clear-project         # Move to Basic
openclaw membase wiki-delete             # Delete wiki doc
openclaw membase status             # Check API connectivity

Configuration

All configuration is managed through OpenClaw's plugin settings or ~/.openclaw/openclaw.json:

| Key | Type | Default | Description | | --- | --- | --- | --- | | apiUrl | string | https://api.membase.so | Membase API URL. Override for self-hosted. | | tokenFile | string | ~/.openclaw/credentials/openclaw-membase.json | OAuth token cache file path. Stored outside the plugin directory so it survives updates. | | autoRecall | boolean | false | Inject relevant memories before every AI turn. | | autoWikiRecall | boolean | false | Inject relevant wiki documents before every AI turn. | | autoCapture | boolean | true | Automatically store user/assistant conversation transcripts to Wiki. | | maxRecallChars | number | 4000 | Max characters of memory context per turn (500–16000). | | debug | boolean | false | Enable verbose debug logs. |

OAuth login keeps stable plugin config in ~/.openclaw/openclaw.json and stores rotating tokens in tokenFile. Legacy keys (accessToken, refreshToken) are migrated automatically when present.

Enabling AI Tools

The plugin automatically adds itself to tools.alsoAllow on first load. If it doesn't take effect, restart the gateway once.

If you prefer to configure it manually, use tools.alsoAllow (not tools.allow) to avoid breaking your existing profile allowlist:

{
  "tools": {
    "profile": "coding",
    "alsoAllow": ["openclaw-membase"]
  },
  "plugins": {
    "entries": {
      "openclaw-membase": {
        "enabled": true,
        "config": {
          "autoRecall": true,
          "autoWikiRecall": false,
          "autoCapture": true,
          "maxRecallChars": 4000
        }
      }
    }
  }
}

"openclaw-membase" in tools.alsoAllow expands to all tools registered by this plugin and is appended on top of the active profile. Using tools.allow instead can silently break your profile allowlist if the plugin ID is not yet recognized at parse time. Without this entry, the AI still receives memory context via auto-recall but cannot call the tools explicitly.

How Membase Differs

| | Simple vector memory | Membase | | --- | --- | --- | | Storage | Flat embeddings | Hybrid: vector embeddings + knowledge graph | | Search | Vector similarity only | Vector + graph traversal (entities, relationships, facts) | | Extraction | Store raw text | AI-powered entity/relationship extraction | | Auth | API key | OAuth 2.0 with PKCE (no secrets to manage) | | Ingest | Synchronous | Async pipeline (~100ms response, background graph sync) |

Development

git clone https://github.com/aristoapp/openclaw-membase.git
cd openclaw-membase
bun install
bun run check-types
bun run lint
bun run build

Contributing

Contributions welcome — see [CONTRIBUTING.md](./CONTRIBUTING.md) for guidelines.

Links

License

[MIT](./LICENSE)

Source & license

This open-source MCP server is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.