Skip to content
LangChain

B2Brouter for LangChain

io.github.b2brouter/b2brouter-mcp

Read-only access to your B2Brouter e-invoices, tax reports (Verifactu, KSeF, SDI...) and directory.

client:LangChain transport:streamable-http

Install B2Brouter in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "b2brouter-mcp": {
            "transport": "streamable_http",
            "url": "https://app.b2brouter.net/mcp",
        }
})

tools = await client.get_tools()

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

B2Brouter in other clients