On this page
A coding agent can show a successful MCP connection and still fail to retain anything useful. The server may expose retrieval but no memory-writing operation, or the client may not be using the server you configured. The reliable check is to confirm what the client can do, then see whether a uniquely identifiable fact comes back in a clean later session.
TL;DR
- A connected server or a successful response does not prove that information was saved.
- Check the tools and permissions exposed by your specific MCP client. Do not assume every server is read-only or that it supports arbitrary writes.
- If a documented write operation is available, test it with a harmless unique fact and retrieve that fact in a fresh session without repeating it in your question.
- Treat a failed retrieval as inconclusive until you check the tool used, account or memory scope, and whether the information was ever stored.
1. Define what you mean by “persistent memory”
Before changing the configuration, decide what you are trying to prove. A coding agent’s chat history, an MCP server’s stored records, and conversation Memory that an agent can retrieve are different things. A new chat may inherit project files or other context, so a correct answer alone does not show where the information came from.
For this test, persistence means that information is stored in the intended memory system and can be retrieved in a later session through the intended connection. Decide whether you need to test:
- Retrieval: Can the agent find information that was already captured or stored?
- Writing and retrieval: Can the agent save new information through a supported operation, then find it later?
These are separate tests. If your task requires an agent to save its own decisions, a retrieval-only connection does not meet that requirement.
2. Connect the client using its current instructions
MCP setup details depend on the coding agent and server. Use the current instructions for the specific client you chose to determine the supported transport, server address or launch method, configuration fields, and authentication requirements. Do not copy a configuration from another client and assume the fields or permissions work the same way.
After configuring it, confirm that the client recognizes the server. Then inspect the tools the client actually exposes, including their descriptions and any stated permissions. A connection indicator confirms only that the client can reach something; it does not establish that the expected memory tools are available or that they can write.
Hemory’s public Features page describes its MCP server and lists several agents, but does not provide setup instructions or a complete per-client tool and permission list. Its documentation should not be read as proof that every listed client has identical behavior. See the Hemory Features page and the current instructions for your chosen client.
3. Check the permission boundary before testing
Look for an explicit operation that stores or updates the kind of memory you need. A tool that searches or retrieves Memory does not establish a write capability. Likewise, a tool that manages speakers does not prove that it can create arbitrary Memory records.

Review MCP connection options and access settings.
Before enabling or using a write operation, confirm what it can change and which account, vault, or data scope it affects. Use the narrowest access that supports your test, and avoid sending credentials, private source code, or sensitive project details as test content. MCP does not imply that every server is read-only—or that every connected agent can write to every part of a system.
Hemory’s supplied product documentation describes MCP access to Memory, but the available evidence does not establish that an external agent can write arbitrary agent-authored Memory through MCP. Treat that capability as unconfirmed unless the current tool list and documentation explicitly show it. Do not use a test of retrieval from captured conversations as proof that an agent can save its own decisions.
4. Run a small, observable persistence test
Use a low-risk fact that is easy to identify and unlikely to appear elsewhere. For example:
MCP persistence check: the test token is violet-heron-27.
Do not use a real secret or a consequential project decision. The test token is just an example; choose your own unique value.
If the client exposes a documented write operation
- In the first session, ask the agent to store the test fact using the documented operation. Do not rely on a natural-language acknowledgment such as “I’ll remember that.”
- Check the client’s tool activity or other available server evidence. Confirm that the expected operation ran and that it reported the intended scope or record. A success message alone may show that a request was accepted, not that the data is retrievable later.
- Start a genuinely new session using the same intended account and server configuration. Do not paste the test fact or the first session’s transcript into it.
- Ask the agent to retrieve the test fact without including the token in the question. For example: “What was the token in my MCP persistence check?”
- Inspect the tool result, not just the agent’s final prose. Look for the exact token returned by the server. If the client exposes no tool result, use another documented way to confirm where the answer came from rather than treating a plausible response as proof.
If the client exposes retrieval but no documented write operation
Use a low-risk detail from a discussion that was already captured and is in scope for the connection. Start a new session and ask for that detail without supplying the answer. If the agent retrieves it through the MCP tool, you have evidence that this retrieval path can access that captured information. You have not proved that the agent can write its own memory.
Hemory can help with the retrieval case when a relevant discussion has previously been captured and is accessible through the supported connection. Its public documentation describes Memory retrieval through MCP; it does not mean an uncaptured conversation can be recovered or that every MCP client exposes the same tools and scope.
5. Interpret the result accurately
| What you observe | What it shows | What it does not show |
|---|---|---|
| The client reports that the server is connected | The client can reach a server | That memory tools are available or information is stored |
| A retrieval tool returns an existing captured fact | That this retrieval route returned the fact in this test | That the agent can write new memories |
| A write operation reports success | That the operation returned a success response | That the fact will be retrievable in a later session |
| The exact test token appears in a fresh-session tool result | Basic cross-session persistence for this test, account, and scope | Complete recall, unlimited retention, or persistence in every client and workspace |
| The token is not returned | The test did not demonstrate retrieval | That nothing was ever stored or that the server cannot retrieve it |
A failed test can have several explanations: the write operation may not exist, it may have targeted another scope, the new session may use different credentials, or the original information may never have reached the server. Check those possibilities before concluding that persistence is broken. If the tool call or server result is not visible, report the outcome as unverified rather than inferring success from the agent’s answer.
6. Keep the test tied to the intended workflow
Once the basic test passes, repeat it only with the scope that matters to your work: the project, account, or memory space the coding agent should use. Confirm that a new session retrieves the intended record and does not rely on text carried over from the previous chat. Keep consequential decisions in the team’s normal source of record as well; a memory tool can support coding work, but a successful retrieval does not itself establish team approval or update a project system.
For Hemory, distinguish captured conversation context from decisions an agent creates during coding. If a decision was discussed in a conversation that Hemory captured, an accessible retrieval path may help the agent recover that context. If the coding agent must save a new decision to Hemory, first confirm that the chosen client exposes a documented write operation with the needed scope. The connection alone does not prove it.
FAQ
Does a successful MCP connection prove that memory is persistent?
No. It proves only that the client connected. Test a supported storage operation, if one exists, and then retrieve the information in a fresh session. For retrieval-only access, test a fact already present in the server’s accessible memory.
Can I use the same setup instructions for every coding agent?
No. Clients can differ in supported transports, configuration, tool display, and permission handling. Follow the current instructions for the client you are using and verify its actual tool list after connection.
If the agent repeats the test fact in a new chat, is that enough proof?
Not by itself. The client may have carried over chat history or other context, or the agent may be guessing. Stronger evidence is a fresh session with no copied fact and a tool result showing the exact value retrieved from the intended server.
Does Hemory MCP necessarily let a coding agent save arbitrary decisions?
Do not assume so. Hemory documentation describes MCP access to Memory, but the available evidence does not establish arbitrary agent-authored Memory writes for every client. Check the current tools and their documented permissions before relying on that workflow.
Next step
Run the test first with harmless information and record exactly what it proved: connection, retrieval, or write-and-retrieve persistence. If the result does not match your coding workflow, resolve the missing tool or permission with the current client and server documentation before storing project decisions. For Hemory, use captured and accessible conversation context for retrieval only where the supported connection provides it; confirm any needed write capability separately.