Skip to main content
Glama
diaz3618

memory-bank-mcp

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{}
resources
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
get_instructionsA

⚠️ CALL THIS FIRST. Get comprehensive instructions for using the Memory Bank MCP server. Call this tool FIRST at the start of every session to understand the available tools and recommended workflow.

initialize_memory_bankC

Initialize a Memory Bank in the specified directory

set_memory_bank_pathB

Set a custom path for the Memory Bank

debug_mcp_configB

Debug the current MCP configuration

read_memory_bank_fileA

Read a file from the Memory Bank. Returns content with ETag for optimistic concurrency control.

write_memory_bank_fileA

Write to a Memory Bank file. Supports optimistic concurrency control via ifMatchEtag.

list_memory_bank_filesD

List Memory Bank files

get_memory_bank_statusB

Check Memory Bank status

migrate_file_namingB

Migrate Memory Bank files from camelCase to kebab-case naming convention

get_context_bundleA

Get all Memory Bank files in a single response for quick context loading. Returns all core files (product-context, active-context, progress, decision-log, system-patterns) as a combined JSON object.

get_context_digestA

Get a compact summary of the Memory Bank for context-limited situations. Returns recent progress entries, current tasks, known issues, and recent decisions.

search_memory_bankC

Search across all Memory Bank files with full-text search

create_backupA

Create a backup of the current Memory Bank state, or list existing backups. Backups are stored in the parent directory with timestamped names.

restore_backupA

Restore the Memory Bank from a specified backup. By default, creates a backup of the current state before restoring.

add_progress_entryC

Add a structured progress entry to the Memory Bank. Provides a type-safe API for logging progress with categories and metadata.

add_session_noteA

Add a timestamped session note to the active context. Useful for recording observations, blockers, or context that should persist.

update_tasksB

Update the current tasks list in active context. Can add, remove, or replace tasks.

batch_read_filesA

Read multiple Memory Bank files in a single request. More efficient than individual reads for loading context.

batch_write_filesA

Write multiple Memory Bank files in a single request. Supports optimistic concurrency via ETags.

track_progressC

Track progress and update Memory Bank files

update_active_contextC

Update the active context file

log_decisionC

Log a decision in the decision log

switch_modeA

Switch to a specific mode, get current mode info, or manage UMB (Update Memory Bank) state. Call with no parameters to get current mode. Set umb:true to activate UMB, umb:false to deactivate.

graph_upsert_entityB

Create or update an entity in the knowledge graph. If an entity with the same name exists, it will be updated.

graph_add_observationB

Add an observation about an entity. Observations are facts, notes, or information associated with entities.

graph_link_entitiesB

Create or remove a directed relationship between two entities. Use action:"unlink" to remove a relationship.

graph_searchA

Search the knowledge graph for entities and observations matching a query. Supports fuzzy matching on names and observation text.

graph_open_nodesB

Open specific nodes and their neighborhood. Returns a subgraph with the requested entities and their connections.

graph_delete_entityB

Delete an entity from the knowledge graph, or delete a specific observation if observationId is provided.

graph_maintainC

Perform maintenance operations on the knowledge graph: rebuild snapshot from event log, or compact event history.

list_storesA

List all registered Memory Bank stores. Returns the currently active store and any additional configured stores from the persistent registry.

select_storeB

Manage Memory Bank stores. Actions: select (switch active store), register (add to registry), unregister (remove from registry). Default action is "select" for backward compatibility.

sequential_thinkingA

Record a numbered thinking step for structured reasoning, or reset session history. Use this to break complex problems into sequential steps with optional branching and revision. The raw thought text is NOT returned — only metadata. Call finalize_thinking_session when done to persist outcomes to Memory Bank. Set reset:true to clear thinking history instead of recording a thought.

finalize_thinking_sessionA

Persist the outcome of a thinking session into Memory Bank files. Accepts only human-facing summary fields — raw thoughts are NEVER persisted. Writes to existing Memory Bank files (active-context.md, decision-log.md, progress.md) via existing mechanisms.

get_targeted_contextA

Returns a budgeted, minimal "context pack" for a query by using the knowledge graph as an index. Reads only the smallest relevant slices of Memory Bank files instead of dumping full documents. Prefer this over get_context_bundle or batch_read_files for most questions.

graph_add_doc_pointerA

Link a knowledge graph entity to a specific Memory Bank file (and optional heading). This helps get_targeted_context find the right file excerpts for a query. The file path is validated before saving.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription
Product ContextProject overview and context
Active ContextCurrent project context and tasks
ProgressProject progress and milestones
Decision LogProject decisions and rationale
System PatternsSystem patterns and architecture

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/diaz3618/memory-bank-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server