Who it is forA developer using an MCP-capable agent host that cannot run hooks and who wants project memory available without letting the agent edit it.
The problemThe host can call tools but has no hook point, and giving it write access to project memory would let bad entries spread.
The outcomeThe host can call recall and read against the project's own OwnMem copy, while gate commands and memory writes stay off the surface.
What you need first
- Node.js 20.6 or newer
- A Git repository that should own the project memory
- At least one supported AI coding agent: Claude Code, Codex, Cursor, Gemini CLI, or Grok CLI
Steps
- Run
npx ownmem mcpin the repository to serve recall and read over stdio. - Register the server in the host's MCP settings by following the Plugins guide, so it runs the project's own copy.
- Complete the one manual MCP step that Cursor or Gemini CLI requires.
- Ask the host a project question and confirm it answers from the repository memory.
Prompt for your agent
In the repository grpcer/ownmem, register `npx ownmem mcp` as an MCP server in <host name> following the Plugins guide. Expected output: the host lists exactly two tools, recall and read. Verify that the host cannot call audit, trust, compile, or any write operation.
Caveat. The README says the MCP path exposes only recall and read, so memory writes must still happen through the repository and Git.
Get 5 new use cases every morning. Free, one short email, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Disclaimer
Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked "Seen in the wild", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email [email protected] and we will look at it promptly. Full disclaimer page