Skip to content
LangChain

context sync for LangChain

io.github.intina47/context-sync

Universal AI Memory - Sync context across Claude, VsCode, Cursor, Continue, Windsurf, Zed & more

client:LangChain transport:stdio runtime:npm

Install context sync in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "context-sync": {
            "transport": "stdio",
            "command": "npx",
            "args": ["-y", "@context-sync/server"],
        }
})

tools = await client.get_tools()

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

context sync in other clients