bdb-memb-mcp
/bdb-memb-mcp
Model Context Protocol interface to the memB persistent agent memory layer. Use when an agent needs to add, search, list or delete persistent memories locally and offline. Exposes add_memory, search_memory, list_memories and delete_memory.
- Author
- hybridlabor-api ↗
- Repository
- aos ↗
- Licence
- Apache-2.0
- Last repository change
- 14.10.2026
Assessment and security
- Files in this package
- 1
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 14.10.2026, without references to retired models or APIs.
Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.
What it does and when to use it
Model Context Protocol interface to the memB persistent agent memory layer. Use when an agent needs to add, search, list or delete persistent memories locally and offline. Exposes add_memory, search_memory, list_memories and delete_memory.
Original author description
Model Context Protocol interface to the memB persistent agent memory layer. Use when an agent needs to add, search, list or delete persistent memories locally and offline. Exposes add_memory, search_memory, list_memories and delete_memory.
How it works
- 🛠️ MCP Server Specifications
- 🔌 Exposed MCP Tools
- 🔒 Security Hardening
SKILL.md preview
---
name: bdb-memb-mcp
description: >-
Model Context Protocol interface to the memB persistent agent memory layer.
Use when an agent needs to add, search, list or delete persistent memories
locally and offline. Exposes add_memory, search_memory, list_memories and
delete_memory.
category: bdb-core
---
# BDB memB Persistent Memory MCP Server
The `memb-mcp` server provides a standard Model Context Protocol (MCP) interface to the **memB** persistent agent memory layer. It allows any compatible developer agent (such as Cursor, Google Antigravity, Claude Code, or VS Code Cline) to read, write, and query persistent memories locally and offline.
---
## 🛠️ MCP Server Specifications
* **Server Name:** `memb-mcp`
* **Command:** `__MCPS_DIR__/memb-mcp/.venv/bin/python` (macOS/Linux) or `__MCPS_DIR__/memb-mcp/.venv/Scripts/python.exe` (Windows)
* **Arguments:** `["__MCPS_DIR__/memb-mcp/run.py"]`
* **Environment Variables:**
- `MEMB_DATA_DIR`: Path to the SQLite database and config folder (defaults to `~/.MemBDB`).
- `GEMINI_API_KEY`: User Google API key for reasoning.
---
## 🔌 Exposed MCP Tools
### 1. `add_memory`
Saves a new fact, coding preference, or workaroud to the local SQLite database.
* **Parameters:**
- `text` (string, required): The fact or guideline to store.
- `user_id` (string, optional): Owner of the row. Default: env `MEMB_USER_ID` (fallback `$USER`). Pass a group id from `MEMB_GROUP_IDS` only to write a shared group row on purpose.
- `category` (string, optional): Default `project_card` when `project_id` is set, else `task_learnings`. Options: `project_card`, `architecture_decisions`, `bug_fixes`, `coding_conventions`, `tooling_setup`, `anti_patterns`, `task_learnings`, `user_preferences`, `dependency_decisions`, `performance_findings`, `security_constraints`, `testing_patterns`, `data_model`, `api_contracts`, `deployment_runbook`, `team_norms`, `domain_glossary`, `godmode`.
- `project_id` (string, optional): Active workspace folder to isolate search queries.
- `source`, `harness`, `session` (string, optional): Provenance, stored in the row metadata.
### 2. `search_memory`
Queries both global `godmode` memory and the active `project_id` memories in parallel, returning semantic matches ranked by cosine similarity.
* **Parameters:**
- `query` (string, required): Keyword or semantic question.
- `user_id` (string, optional): Restrict to one owner id. Default: the user plus the group ids in `MEMB_GROUP_IDS` (default `bdb_developer`).
- `limit` (integer, optional, default: `5`): Maximum matching memories to return.
- `project_id` (string, optional): Active workspace folder.
### 3. `list_memories`
Lists all memories currently registered in the database for the active user.
* **Parameters:**
- `user_id` (string, optional): Restrict to one owner id. Default: the user plus `MEMB_GROUP_IDS`.
- `limit` (integer, optional, default: `50`): Maximum results.
### 4. `delete_memory`
Deletes a specific memory segment using its UUID.
* **Parameters:**
- `memory_id` (string, required): The unique UUID of the memory item.
---
## 🔒 Security Hardening
The `memb-mcp` server has **no automatic credential filter** today: it stores whatever an agent sends it.
* Never ingest credentials: API keys (Google Cloud, OpenAI, GitHub, etc.), plaintext passwords, database URLs.
* The protection is the rule in this skill (and in `memb-skill`) plus human review of stored memories.
* An automatic pre-ingestion filter is planned but not released.
Versions
The database has no other skills named bdb-memb-mcp.
Database snapshot: 13.11.2026 · package version 7c93f2124bdb (SHA-256 digest of the entire package)
Downloads in the last 30 days: 0 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 100memb-skill
BDB local-first long-term memory engine (memB). Use when querying, remembering, or adapting preferences, code architectures, and developer patterns across tasks. - 100memb-ingest
Use when deep scan and ingest project files (.md, .json, agent.md, .openwiki) and past conversation logs into the local memB vector memory engine. - 90mcp-server
Design a Model Context Protocol server that exposes tools and data to AI agents safely and legibly. Use when building an MCP server or deciding what to expose to an agent. - 100memory
Manage the persistent memory layer in .claude/memory/ — list, search, save, update, delete, dedupe. Use to inspect what memories exist, write a new one, or clean up stale entries. - 100mcp-server-memory
Use this skill when installing, configuring, and executing tools with the persistent knowledge-graph entity and relation memory MCP server. - 100obsidian-mcp-agent-vault-integration
Use this skill when integrating autonomous AI agents with an Obsidian vault via the Model Context Protocol (MCP) server.