memorydetective for LangChain
io.github.carloshpdoc/memorydetective
iOS leak/perf debugging via MCP: memgraph cycles, .trace analysis, SourceKit-LSP bridging.
client:LangChain
transport:stdio
runtime:npm
Install memorydetective in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"memorydetective": {
"transport": "stdio",
"command": "npx",
"args": ["-y", "memorydetective"],
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs