Skip to content
LangChain

mercoa for LangChain

io.usefulapi/mercoa

Query and manage Mercoa AP/AR bill-pay: entities, invoices, transactions and payment methods.

client:LangChain transport:streamable-http tools:17

Install mercoa in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "mercoa": {
            "transport": "streamable_http",
            "url": "https://mercoa.usefulapi.io/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

mercoa in other clients