Skip to content
LangChain

XWatch for LangChain

io.github.xtarwall/xwatch

Free local security checks for coding agents: scans git changes, alerts only on proven findings.

client:LangChain transport:stdio runtime:npm

Install XWatch in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "xwatch": {
            "transport": "stdio",
            "command": "npx",
            "args": ["-y", "@xtarwall/xwatch"],
        }
})

tools = await client.get_tools()

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

XWatch in other clients