How to Connect an AI Agent to Hemory’s MCP Server

Download Hemory
On this page

Connecting an AI agent to a memory server does not by itself give the agent useful background. The MCP connection must be configured in a supported client, the relevant conversations must already be captured and accessible, and the agent must retrieve them for the task. This guide walks through those checkpoints and shows how to tell whether the connection is helping.

TL;DR

  • Use a client that supports Hemory’s MCP connection, and follow the latest instructions for that specific client. Setup steps and available controls can differ.
  • Confirm the connection is using the intended Vault. Hemory’s documented connection example binds to the current Vault; don’t assume every client exposes scope or permissions in the same way.
  • Give the agent a real task that depends on a previously captured conversation. Then check whether its answer uses relevant context—not just whether the connection appears enabled.
  • Hemory provides captured Memory and retrieval; the external agent performs its own reasoning and drafting. You review the result and supply any current information the agent cannot retrieve.

What needs to be in place first?

Before configuring MCP, check three things:

  1. The conversation is in Hemory. MCP can retrieve captured Memory; it cannot recover an exchange that was never recorded. If the information is elsewhere, use an accessible source or provide the necessary material through another route.
  2. The agent client supports the connection. Hemory describes a standard MCP server and lists clients including Claude Code, Codex, and Hermes. A listing does not establish that every client has identical setup steps, tools, or permissions.
  3. You can identify the intended Vault and access boundary. A Hemory example binds the connection to the current Vault. Confirm which Vault the client will use and what access it presents before relying on it for work.

MCP, or Model Context Protocol, lets a compatible client connect an agent to a server’s capabilities. It does not make every server capability available in every client, nor does it give the agent information outside the connection’s accessible scope.

Connect the client using its current instructions

There is no single configuration recipe that applies to every AI agent. In the client’s current documentation, find its MCP connection procedure and follow the steps for adding Hemory. Check Hemory’s current connection guidance as well. The exact fields, authorization flow, and controls depend on the client and the documented setup; don’t copy settings from a different client and assume they will work.

After configuring the connection, confirm in the client that Hemory is available. If the client shows the connected server or its tools, use that as a setup check—not proof that retrieval will work for your task. Also establish which Vault the connection reaches. If the client does not make that scope clear, resolve it before using sensitive or consequential material.

Hemory documents Memory retrieval through MCP. Its Changelog also documents Speaker labeling and management. That does not establish unrestricted access, arbitrary Memory editing, or the same permissions in every client. Review the permissions and actions the particular client presents rather than assuming the connection is entirely read-only or grants broad write access.

Test retrieval with a task that needs past context

Choose a real task that depends on a detail from a conversation already captured in the connected Vault. For example, you might ask an agent to draft a short project update using the discussion where a scope condition was explained. Include the current goal and any new information the conversation could not contain.

A useful request is specific about the work without requiring you to reconstruct the conversation first:

Draft a project update about the current rollout. Use the captured discussion where the access condition was explained. Separate what was agreed from what is still unresolved, and tell me if you cannot find the relevant context.

The agent has to invoke retrieval for the task; an available connection does not mean it will automatically search every time. Check whether the response includes a relevant detail from the captured discussion that was not in your prompt. If the client exposes retrieval activity or source references, use them to inspect what was returned. If it does not, ask the agent to identify the conversation it relied on, if that information is available, and compare its account with the record you can access.

Agent session searching a past sync and drafting a follow-up checklist.

Retrieve past commitments and draft follow-up tasks.

Treat this as a practical check, not proof of complete recall. A relevant result shows that the connection supplied useful context for this task; it does not show that every related conversation was found. If nothing relevant appears, possible causes include an uncaptured discussion, the wrong Vault, client scope or permissions, or a task that did not lead the agent to retrieve the right material. Check the specific cause rather than concluding that the conversation never existed.

Use the result responsibly

Hemory provides the Memory and retrieval capability. The connected agent uses retrieved material for its own reasoning and drafting. You remain responsible for checking attribution, conditions, current status, and any new details before using the output. A past discussion may not reflect today’s plan, and a retrieved statement does not by itself establish later approval or completion.

If retrieval returns a useful passage but misses current information, provide that update directly. If the necessary conversation was never captured or is outside the connection’s accessible scope, use another available source or ask a focused follow-up. Don’t treat MCP as automatic access to other work systems or permission for the agent to take external actions.

FAQ

Does connecting MCP make the agent remember every conversation?

No. It can retrieve relevant Memory from conversations that were captured and are accessible through that connection. Retrieval is task-driven and is not a guarantee that every relevant detail will be found.

Do all MCP clients have the same tools and permissions?

No. Hemory’s public materials describe MCP capabilities, but client setup and exposed tools or controls can differ. Check the current instructions and permissions for the client you use.

How can I tell whether the agent actually used Hemory?

Look for client-provided retrieval activity or source references if available, then check whether the answer uses relevant details from a previously captured conversation. Those signals vary by client; a connection indicator alone is not evidence that retrieval happened for a particular task.

What if the agent cannot find the conversation?

Confirm that it was captured in Hemory and that the connection uses the intended Vault. If those checks do not resolve the issue, consider client scope, permissions, and how the task was phrased. Use another accessible source for details that were never captured or cannot be reached through the connection.

Start with a low-risk task tied to a known captured discussion. Confirm the Vault and client behavior, then judge the connection by whether it returns context useful to the work—not simply by whether the setup appears complete.

Start building your memory palace

Download Hemory — from today on, every real conversation becomes material you can generate from tomorrow.

Get Hemory for iOS Get Hemory for Android Download APK

macOS, Windows, Linux, Web, and Self-host coming soon