WhyNote for LangChain
io.github.coooolinz/why-note
Read-only search, todo listing, and daily note access for a WhyNote account
client:LangChain
transport:stdio
runtime:npm
Install WhyNote in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"why-note": {
"transport": "stdio",
"command": "npx",
"args": ["-y", "why-note-mcp"],
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs