mcp for LangChain
io.github.bperezpereira/mcp
Chilean DTE/SII invoicing — issue invoices, reconcile payments and manage clients with AI agents.
client:LangChain
transport:streamable-http
Install mcp in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"mcp": {
"transport": "streamable_http",
"url": "https://mcp.wasabil.com",
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs