Skip to content
LangChain

three.ws x402 Bazaar for LangChain

io.github.nirholas/threews-x402-bazaar

Discover and price paid agent services across the live x402 network, by three.ws.

client:LangChain transport:streamable-http

Install three.ws x402 Bazaar in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "threews-x402-bazaar": {
            "transport": "streamable_http",
            "url": "https://three.ws/api/mcp-bazaar",
        }
})

tools = await client.get_tools()

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

three.ws x402 Bazaar in other clients