Agent Wormhole for LangChain
io.github.runningoffcode/wormhole-x402
Check tokens, pages and x402 payments before your agent trusts them. Offline verdicts.
client:LangChain
transport:stdio
runtime:npm
Install Agent Wormhole in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"wormhole-x402": {
"transport": "stdio",
"command": "npx",
"args": ["-y", "wormhole-x402"],
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs