Skip to content
LangChain

nexus mcp for LangChain

io.github.nexus-api-lab/nexus-mcp

Japanese LLM security — prompt injection detection (jpi-guard) + PII masking (PII Guard). Free.

client:LangChain transport:streamable-http

Install nexus mcp in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "nexus-mcp": {
            "transport": "streamable_http",
            "url": "https://mcp.nexus-api-lab.com/",
        }
})

tools = await client.get_tools()

get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs

nexus mcp in other clients