Add memory MCP server (stdio) for MEMORY.md read/write - #70
Merged
Conversation
Replace the broken manual read_memory/write_memory pattern in slack_poller with a stdio MCP server that exposes read_memory and write_memory as tools the agent can call directly. The old pattern wrote back stale memory content on every response — now Claude manages its own memory via MCP tools. - Add claw/core/memory_mcp.py (FastMCP stdio server with two tools) - Add "claw-memory" McpStdioServerConfig entry in mcp_mapper.py - Remove read_memory/write_memory calls and imports from slack_poller.py - Update all tests to remove memory mock patches Closes #67 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
IceRhymers
force-pushed
the
issue-67-memory-mcp
branch
from
March 31, 2026 13:48
2c20f6d to
48b91e0
Compare
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.
Summary
claw/core/memory_mcp.py— a stdio MCP server (FastMCP) exposingread_memoryandwrite_memorytools that operate on MEMORY.md via UC Volume (databricks-sdkws.files.download/upload)claw-memoryMcpStdioServerConfigentry tobuild_mcp_servers()inmcp_mapper.py, so every agent session gets memory tools automaticallyread_memory/write_memorycalls fromslack_poller.py— the old pattern wrote back stale memory on every response instead of letting the agent update itopenspec/changes/memory-mcp/Test plan
Closes #67