Skip to content
LangChain

hogswap mcp for LangChain

io.github.liquihog/hogswap-mcp

Pay any Algorand x402 invoice with any asset, plus DEX swap quotes and unsigned builds.

client:LangChain transport:streamable-http runtime:npm tools:12

Install hogswap mcp in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "hogswap-mcp": {
            "transport": "streamable_http",
            "url": "https://hogswap-v1.liquihog.dev/mcp/",
        }
})

tools = await client.get_tools()

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

What LangChain can do once it is connected

hogswap mcp in other clients