1. Conduid
  2. Finance
  3. memory-bank
MCP server · Finance

memory-bank

MCP Server for managing Memory Bank with remote server support

Unclaimed finance
39Low

Scored 5 months ago · breakdown

About memory-bank

memory-bank is an MCP server published by git+diaz3618 in the Finance category: mCP Server for managing Memory Bank with remote server support.

Install

Install
npx @diazstg/memory-bank-mcp
Claude Code
claude mcp add memory-bank-mcp-gitdiaz3 -- npx -y @diazstg/memory-bank-mcp
npx
npx -y @diazstg/memory-bank-mcp

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Tools (14)

get_memory_bank_statusCheck current status

Parameters not published.

graph_add_observationAdd an observation to an entity

Parameters not published.

graph_compactCompact the event log

Parameters not published.

graph_link_entitiesCreate a relation between entities

Parameters not published.

graph_open_nodesGet full details of specific entities

Parameters not published.

graph_searchSearch entities by name or type

Parameters not published.

graph_upsert_entityCreate or update a knowledge graph entity

Parameters not published.

initialize_memory_bankCreate a new Memory Bank

Parameters not published.

log_decisionRecord a decision

Parameters not published.

read_memory_bank_fileRead a specific file

Parameters not published.

Show all 14 tools
switch_modeChange operational mode

Parameters not published.

track_progressAdd a progress entry

Parameters not published.

update_active_contextUpdate current context

Parameters not published.

write_memory_bank_fileWrite/update a file

Parameters not published.

Ask AI

✦

Ask AI about memory-bank

Powered by Claude · Grounded in docs

I know everything about memory-bank. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

  • ✓README presentThe repository ships documentation.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

4 checks have not been run yet.

README

Memory Bank MCP

NPM Version Semgrep CE scan

An MCP server that gives AI assistants persistent memory across sessions. It stores project context, decisions, and progress in structured markdown files — locally or on a remote server via SSH.

Related repos:

Quick Start

# Run directly (no install needed)
npx @diazstg/memory-bank-mcp

# Or install globally
npm install -g @diazstg/memory-bank-mcp

Via Smithery (Claude Desktop)

npx -y @smithery/cli install @diazstg/memory-bank-mcp --client claude

Configuration

Add to your editor's MCP config (.vscode/mcp.json, Cursor, Claude Desktop, etc.):

{
  "servers": {
    "memory-bank-mcp": {
      "command": "npx",
      "args": ["-y",
          "@diazstg/memory-bank-mcp",
          "--username",
          "your-username"
      ],
      "type": "stdio"
    }
  }
}

Tip: Including --username is highly recommended for proper progress tracking.

Common Options

npx @diazstg/memory-bank-mcp --username "github-user"   # Username for progress tracking (recommended)
npx @diazstg/memory-bank-mcp --mode code                # Set operational mode
npx @diazstg/memory-bank-mcp --path /my/project         # Custom project path
npx @diazstg/memory-bank-mcp --folder my-memory         # Custom folder name (default: memory-bank)
npx @diazstg/memory-bank-mcp --help                     # All options

Remote Server (SSH)

Store your Memory Bank on a remote server:

npx @diazstg/memory-bank-mcp --remote \
  --remote-user username \
  --remote-host example.com \
  --remote-path /home/username/memory-bank \
  --ssh-key ~/.ssh/id_ed25519

See Remote Server Guide.

How It Works

Memory Bank stores project context as markdown files in a memory-bank/ directory:

File Purpose
product-context.md Project overview, goals, tech stack
active-context.md Current state, ongoing tasks, next steps
progress.md Chronological record of updates
decision-log.md Decisions with context and rationale
system-patterns.md Architecture and code patterns

The AI assistant reads these files at the start of each session and updates them as work progresses, maintaining continuity across conversations.

MCP Tools

Tool Description
initialize_memory_bank Create a new Memory Bank
get_memory_bank_status Check current status
read_memory_bank_file Read a specific file
write_memory_bank_file Write/update a file
track_progress Add a progress entry
log_decision Record a decision
update_active_context Update current context
switch_mode Change operational mode
graph_upsert_entity Create or update a knowledge graph entity
graph_add_observation Add an observation to an entity
graph_link_entities Create a relation between entities
graph_search Search entities by name or type
graph_open_nodes Get full details of specific entities
graph_compact Compact the event log

Modes

Mode Focus
code Implementation and development
architect System design and planning
ask Q&A and information retrieval
debug Troubleshooting and diagnostics
test Testing and quality assurance

Modes can be set via CLI (--mode code), tool call (switch_mode), or .mcprules-[mode] files. See Usage Modes.

As a Library

import { MemoryBankServer } from "@diazstg/memory-bank-mcp";

const server = new MemoryBankServer();
server.run().catch(console.error);

Documentation

Topic Link
Getting Started npx usage, build with Bun, custom folder
Guides Remote server, usage modes, status system, debug MCP
Integrations VS Code/Copilot, Claude Code, Cursor, Cline, Roo Code, generic MCP
Reference MCP protocol, rules format, file naming
Development Architecture, testing, logging

Alternative: HTTP + PostgreSQL + Redis

The feature/http-postgres-redis-supabase branch provides a cloud-native variant that replaces stdio/local-filesystem with HTTP Streamable MCP transport, PostgreSQL (via Supabase) for storage, and Redis for caching. It is deployed exclusively via Docker and is not published to npm. See the branch README for setup instructions.

Contributing

See CONTRIBUTING.md.

License

See LICENSE.

README copy captured when this server was indexed; it may lag the repository. The original is authoritative.

Questions

About memory-bank

How do I install memory-bank?

Run npx @diazstg/memory-bank-mcp, then add the server to your MCP client's configuration.

Is memory-bank safe to use with an AI agent?

Its trust score is 39 out of 100 (low). It passes 1 of the 2 static security checks run so far; the failures are listed above. It has no ConduID identity yet, so agent calls to it are not receipted.

Is memory-bank still maintained?

Conduid hasn't recorded a commit date for this repository yet. Check the repository directly for recent activity.