Skip to content
LangChain

Twice Commerce MCP by usefulapi for LangChain

io.usefulapi/twice-commerce

Read orders, customers, catalog, stock and availability; add order comments in Twice Commerce.

client:LangChain transport:streamable-http tools:20

Install Twice Commerce MCP by usefulapi in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

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

Twice Commerce MCP by usefulapi in other clients