agent guard mcp for LangChain
io.github.liminalpepe/agent-guard-mcp
Verify-before-act safety checks for AI agents: packages, lockfiles, manifests, CI workflows.
client:LangChain
transport:stdio
runtime:npm
Install agent guard mcp in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"agent-guard-mcp": {
"transport": "stdio",
"command": "npx",
"args": ["-y", "@liminallablibs/agent-guard-mcp"],
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs