Skip to main content
Glama
Membrane MCP
by M-Umr

Membrane MCP

Persistent context bridge that prevents "context drift" by syncing project rules and golden code snippets across LLM sessions (Claude Desktop, Cursor, ChatGPT).

Status: P0 (skeleton). The server and CLI are stubs that ship the install layout and config loader. See membrane_mcp_plan.md (one level up) for the full phase-by-phase build plan.

Install (development)

git clone https://github.com/m-umr/membrane-mcp
cd membrane-mcp
pip install -e ".[dev]"        # or: uv tool install -e .
membrane-mcp --help
context-courier --help

Related MCP server: MCP Memory Keeper

Configuration

Set MEMBRANE_DATABASE_URL to any SQLAlchemy-compatible URL. When unset, Membrane uses a SQLite file at ~/.membrane/store.db.

# Postgres (recommended for production)
export MEMBRANE_DATABASE_URL="postgresql+psycopg://user:pass@localhost/membrane"

# SQLite (custom path)
export MEMBRANE_DATABASE_URL="sqlite:///./membrane.db"

Build phases

Phase

What ships

P0 (this)

Repo skeleton, pyproject.toml, two console scripts, MEMBRANE_DATABASE_URL loader, CI

P1a

SQLAlchemy models, repository CRUD, project-name normalization

P1b

Alembic migrations, FTS for Postgres + SQLite

P2

FastMCP server with tools + resource (stdio)

P3

Typer CLI subcommands (save, list, show)

P4

OSS polish — Claude Desktop config docs, docker-compose, PyPI release

Development

pytest          # run tests
ruff check .    # lint
ruff format .   # format

License

MIT

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      C
      maintenance
      Provides AI assistants with persistent memory of your project architecture, development history, and technical decisions, allowing them to give context-aware coding help without needing repeated explanations.
      16
      61 npm
      2
      MIT
    • A
      license
      Not graded
      quality
      A
      maintenance
      Enables AI coding assistants to persistently save, search, checkpoint, and restore project context across sessions, including decisions, progress, and file state. It supports shared channels, git-aware organization, and batch operations for long-running or parallel development workflows.
      147 npm
      MIT
    • A
      license
      Not graded
      quality
      A
      maintenance
      Enables AI coding assistants to persistently save, search, and restore project context across sessions, including decisions, progress, file caches, checkpoints, and channel-based memory. It supports git-aware organization, batch operations, and shared memory across parallel sessions.
      147 npm
      MIT