You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A setting that makes the MCP server offer only the tools marked readOnlyHint: true (bm_read, bm_search, bm_context, bm_list, bm_find, bm_man, the project list and recent tools, the schema checks), and hides the write tools (bm_write, bm_edit, bm_move, bm_delete, project create).
Problem This Feature Solves
We use Basic Memory as a knowledge base that several agents search and read, while all writes go through a separate reviewed process that writes the Markdown files. Today every write tool is always offered. Only bm_project_delete can be hidden (enable_project_delete). Client-side deny lists differ per harness, so to get a read-only tool set we have to put a filtering proxy in front of the server.
Proposed Solution
A config key and environment variable, for example read_only / BASIC_MEMORY_READ_ONLY, and perhaps bm mcp --read-only.
Hide the tools whose readOnlyHint is false, the same way project delete is hidden today (a Visibility transform on the local provider).
File indexing keeps running, so notes written on disk by another process still show up in search.
Alternative Solutions
A filtering MCP proxy in front of Basic Memory (what we will do meanwhile).
Per-harness permission deny lists.
locked: true on every note, which blocks edits and deletes but not new notes.
Impact
Basic Memory could serve as the shared read layer for agents across harnesses when writes are owned by something else (a review workflow, a generated mirror), without wrapping the server.
One thing to build in from the start: refuse values you don't recognise for BASIC_MEMORY_READ_ONLY instead of reading them leniently. In GitHub's MCP server, GITHUB_READ_ONLY=yes silently leaves read-only off, because the env var goes through strconv.ParseBool and "yes" isn't one of its words (github/github-mcp-server#3747). Logging the tool count at startup also makes a mode that didn't take visible.
Activity
rafe-walker commentedon Nov 22, 2026
One thing to build in from the start: refuse values you don't recognise for
BASIC_MEMORY_READ_ONLYinstead of reading them leniently. In GitHub's MCP server,GITHUB_READ_ONLY=yessilently leaves read-only off, because the env var goes through strconv.ParseBool and "yes" isn't one of its words (github/github-mcp-server#3747). Logging the tool count at startup also makes a mode that didn't take visible.