Skip to content
cccskills
FreePublished on GitHub

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.

The English summary is being prepared. Showing the original description.

See how to install

Files included (1)

  • SKILL.md3.5 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

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.

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Use when manage multiple local CLI agents via tmux sessions (start/stop/monitor/assign) with cron-friendly scheduling.

The English summary is being prepared. Showing the original description.

hybridlabor-api/aos6Updated Oct 16, 2026

Use when a hybrid memory system that provides persistent, searchable knowledge management for AI agents (Architecture, Patterns, Decisions).

The English summary is being prepared. Showing the original description.

hybridlabor-api/aos6Updated Oct 16, 2026

Reference for how BDB structures autonomous software engineering work — the seven-node dispatcher graph (Architect, TechLead, UI/UX, Engineering, Media/EventTech, Reviewer, Shipping) that /startcycle-graph actually runs. Use when you need the high-level lifecycle framing without inventing your own process.

The English summary is being prepared. Showing the original description.

hybridlabor-api/aos6Updated Oct 16, 2026

Tools are how AI agents interact with the world. A well-designed tool is the difference between an agent that works and one that hallucinates, fails silently, or costs 10x more tokens than necessary. This skill covers tool design from schema to error handling.

The English summary is being prepared. Showing the original description.

hybridlabor-api/aos6Updated Oct 16, 2026

Harness patterns for coding agents — memory, permissions, context engineering, delegation, skills, hooks, bootstrap.

The English summary is being prepared. Showing the original description.

hybridlabor-api/aos6Updated Oct 16, 2026

agenttrail: live map of a multi-agent build in the browser: which plan component is being worked on, by which agent or harness, what is done and what is stuck. Use when a multi-agent pipeline starts (/startcycle, /startcycle-graph, /teamwork-preview) or after a plan-canvas approve, when the user asks to see what the agents are doing ("live map", "build board", "who is running now"), or by yourself whenever a multi-agent run is under way — no user prompt needed.

The English summary is being prepared. Showing the original description.

hybridlabor-api/aos6Updated Oct 16, 2026

See all skills by hybridlabor-api

Report a problem with this skill