nexus memory mcp for LangChain
io.github.kairosmobius/nexus-memory-mcp
Persistent semantic memory for AI agents with knowledge graphs and Intelligence Packs.
client:LangChain
transport:stdio
runtime:npm
Install nexus memory mcp in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"nexus-memory-mcp": {
"transport": "stdio",
"command": "npx",
"args": ["-y", "nexus-memory-mcp"],
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs