Untrusted Instruction Detector for LangChain
io.github.geminigeorge22/untrusted-instruction-detector
Scans untrusted text for injected instructions an agent should not follow.
client:LangChain
transport:streamable-http
tools:1
Install Untrusted Instruction Detector in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"untrusted-instruction-detector": {
"transport": "streamable_http",
"url": "https://untrusted-instruction-detector.fmf-x402.workers.dev/mcp",
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs