Developer shares Claude Code workflow with local MCP shared memory
10/18/2026 — 10/18, 16:17·1 sources (all)·1 reports (all)
Key takeaways
- A developer shared a Claude Code workflow built on Utility.app with LLM API access, using a local MCP server as shared memory that exposes r…
- compressing history is noted to break the prompt cache.
Background & analysis
On October 18, 2026, a developer published a write-up on Juejin describing a workflow built on Claude Code and Utility.app for connecting to LLM APIs. The central idea is to use a local MCP service as a shared memory store, allowing multiple Agents to read and write the same memory across sessions and thereby stay consistent in behavior. Because the MCP protocol is designed to be pluggable, the memory store can be attached to any Agent that supports MCP.
The developer organizes memory into hot, warm, and note layers: the hot layer keeps recent memories, the cold layer retains what remains useful over the long term, and content ultimately settles into a note layer for permanent storage and human reading. The local MCP service ships with two built-in tools, remember and recall, which handle writing and retrieving memories respectively; Agents operate on memory by calling these tools.
To address long-context contamination, he proposes injecting the core prompt into every latest user message, countering the tendency of system prompts, rules, and tool descriptions to be diluted by later content in long conversations. He considers opening a new session each time to be cumbersome. In addition, he places a proxy gateway between the Agent and the upstream LLM provider, making the black-box system transparent while logging requests and quantifying Token costs. He also notes that compressing historical messages breaks the cache. The report does not include a specific version number or quantitative figures for the workflow.
AI-generated from 1 reports · updated 1 day ago
Latest turnA developer describes a Claude Code setup that pairs Utility.app with an LLM API and uses a local MCP service as shared memory, exposing remember and recall tools so multiple agents can read and write the same store. To fight long-context drift he injects core prompts into each new user message, and he uses a proxy gateway to log requests and measure token costs, warning that trimming history breaks prompt caching.
Related AI tools
- Heat index
- 40
- All sources
- 1
- All reports
- 1
- First seen
- 1 day ago
Reports on this story headlines open the original
A developer describes a Claude Code setup that pairs Utility.app with an LLM API and uses a local MCP service as shared memory, exposing remember and recall tools so multiple agents can read and write the same store. To fight long-context drift he injects core prompts into each new user message, and he uses a proxy gateway to log requests and measure token costs, warning that trimming history breaks prompt caching.
掘金AI score 53
Other stories people are talking about
- Heat index 69Developer shares a spec-driven development workflow with Claude Code1 sources
- Heat index 49Developer shares refactoring workflow combining ast-grep codemods with Claude Code1 sources
- Heat index 79Developer pins Claude Code and Codex model tiers by task type1 sources
- Heat index 32Developer logs 225B Claude Code tokens in 30 days1 sources
- Heat index 32Tutorial explains Claude Code subagents and Skills with examples1 sources
How is heat calculated?About the methodHide
Heat counts how many independent sources covered a story in the last 48 hours: one source counts once no matter how many posts it published, decaying with a 24-hour half-life. What ranks first is what many people are talking about.
This page aggregates public feeds. Headlines and summaries are machine-organized and remain the property of the original authors; verify important facts at the source. If you believe a headline or summary infringes your rights, email the contact address in the footer with the page URL and basis of your claim, and we will remove or replace it after review.
- Surge
- Discussion rising fast
- New
- First report within 6 hours
- Rising
- Still gathering discussion
