candor for LangChain
io.github.tombaldwin/candor
Per-function effect analysis for agents: blast radius, what reaches the network, gate verdicts.
client:LangChain
transport:stdio
runtime:npm
Install candor in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"candor": {
"transport": "stdio",
"command": "npx",
"args": ["-y", "candor-ts"],
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs