brains for LangChain
io.github.spacecowboyian/brains
Personal wiki and memory for AI assistants: store, search, and recall structured notes.
client:LangChain
transport:stdio
runtime:npm
Install brains in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"brains": {
"transport": "stdio",
"command": "npx",
"args": ["-y", "brains-mcp"],
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs