PerspectiveGraph for LangChain
io.github.luiacuaniello/perspectivegraph
Read-only attack-path tools: reachable routes to sensitive assets, and what a fix would cut.
client:LangChain
transport:stdio
runtime:oci
Install PerspectiveGraph in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"perspectivegraph": {
"transport": "stdio",
"command": "docker",
"args": ["run", "-i", "--rm", "ghcr.io/luiacuaniello/perspectivegraph:v1.19.0"],
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs