Skip to content
LangChain

MemorySync for LangChain

io.memorysync/memory

Persistent memory for AI agents. Search and store durable facts, preferences and decisions.

client:LangChain transport:streamable-http

Install MemorySync in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "memory": {
            "transport": "streamable_http",
            "url": "https://mcp.memorysync.io/mcp",
        }
})

tools = await client.get_tools()

get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs

MemorySync in other clients