docs: fix drift in Configuration Tools - #324
Closed
jack-arturo wants to merge 1 commit into
Closed
Conversation
Verified against mcp-automem@0cd7498. - JSON snippet registered the server as "automem" without -y; every shipped builder uses the "memory" key with args ["-y", ...]. - Codex TOML snippet used a [[mcp_servers]] array-of-tables with name = "automem"; the shipped template is [mcp_servers.memory] with -y. - recall parses --query/--tags/--limit only, so the documented positional form ran an empty query. - AUTOMEM_LOG_LEVEL=debug gates two stderr lines, not tool-call, HTTP or retry logging; both places claiming otherwise are corrected. - Env-resolution diagram now matches resolveAutoMemApiUrl() and readAutoMemApiKeyFromEnv(), including the CLAUDE_PLUGIN_OPTION_* tiers. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019x1F51zpGqkBSDz6XGQgmr
Deploying automem-website with
|
| Latest commit: |
cb2c8e4
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://5e4cd0dc.automem-website.pages.dev |
| Branch Preview URL: | https://docs-audit-cli-config-tools-znbb.automem-website.pages.dev |
Member
Author
|
Superseded by merged #354. This fresh replacement was rebuilt from current main against mcp-automem 0.16.0@9a0bbf754dd31db524da25638b0e97907e32ff37, then corrected through independent review with focused tests, full tests, build, and deployment checks. |
Member
Author
|
Closing now that every release-validated claim is carried by merged replacement #354. The legacy branch is preserved. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Automated docs-accuracy audit of
/docs/cli/config-tools. Both copy-pasteable config snippets and therecallexample on this page were broken as written.Supersedes stale #282 (opened 2026-08-04, never merged).
"mcpServers": { "automem": { ..., "args": ["@verygoodplugins/mcp-automem"] } }buildClaudeDesktopSnippet()andbuildMcpConfigJson()both emit the keymemory; the Claude Desktop builder passes["-y", "@verygoodplugins/mcp-automem"]. A user pasting this registers a differently-named server, so the documentedmcp__memory__*tool names never appear.memory, args →["-y", ...][[mcp_servers]]array-of-tables withname = "automem"and a[mcp_servers.env]block[mcp_servers.memory]withargs = ["-y", ...]and[mcp_servers.memory.env]. The documentedname =key is not part of the Codex schema, so the snippet does not register a server.npx @verygoodplugins/mcp-automem recall "project architecture"recallbranch parses--query,--tags, and--limitand ignores positional arguments —querystays'', so the documented command recalls against an empty query.recall --query "project architecture", plus one line naming the three flagsAUTOMEM_LOG_LEVEL=debugon arecall"shows the resolved endpoint and whether an apiKey was found"AUTOMEM_LOG_LEVELis read in exactly two places, both in server mode: L94 gates aprocess.titleline, L488 gatesAutoMem MCP server running. No tool-call, HTTP, retry, or config logging exists behind the flag, and therecallCLI branch never reads it.configand at therecallJSON output insteadAUTOMEM_API_URL exists?check, key priority is a two-tier listresolveAutoMemApiUrl()walks three candidates (AUTOMEM_API_URL→CLAUDE_PLUGIN_OPTION_API_URL→AUTOMEM_ENDPOINT) before defaulting;readAutoMemApiKeyFromEnv()walks four. The diagram contradicted the page's own prose 30 lines above, which already lists the four key tiers.resolveAutoMemApiUrl()and both full priority chainsVerified against: verygoodplugins/mcp-automem@0cd7498
Questions
AUTOMEM_PARENT_WATCHDOG_MS(read insrc/index.tsviaparseWatchdogIntervalMs, documented in the repo'sAGENTS.mdwith a 30000 default) and the fourCLAUDE_PLUGIN_OPTION_*names that the prose below the table already describes. Adding rows is an editorial call about what this table is meant to enumerate — client-facing knobs only, or every variable the process reads — so I left it alone rather than guess.AUTOMEM_API_URLis marked Required: Yes in the table, butresolveAutoMemApiUrl()falls back tohttp://127.0.0.1:8001and the server only warns (and only on an interactive TTY). "Required" may be deliberate advice rather than a description of the code; not changed.Unverified
mcp-automem.Follow-ups
cursor,claude-code,codex,openclaw). Three more ship and are routed insrc/index.ts:copilot(L327),hermes(L347),grok(L352).grokin particular writesAUTOMEM_PROCESS_TAG: 'grok:memory'into its generated config (src/cli/grok-config.ts#L57), which is the only shipped consumer of a variable this page documents as user-set.~/.hermes/config.yaml, perbuildHermesSnippet()), Copilot, or Grok.store_memorytool behavior; those areMEMORY_CONTENT_SOFT_LIMIT/MEMORY_CONTENT_HARD_LIMITon the service side (automem), not enforced by the MCP client. Worth re-attributing on a future pass.Generated by Claude Code