Skip to content
LangChain

Witnyx for LangChain

io.github.witnyx/witnyx

Check an SBOM for actively exploited vulnerabilities, end-of-life components and SBOM quality

client:LangChain transport:stdio runtime:oci

Install Witnyx in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "witnyx": {
            "transport": "stdio",
            "command": "docker",
            "args": ["run", "-i", "--rm", "ghcr.io/witnyx/witnyx:0.3.0@sha256:f602b817dc0128cade64d57b1916dd3566aae00190c459740d98def270235260"],
        }
})

tools = await client.get_tools()

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

Witnyx in other clients