Skip to content
LangChain

migros mcp for LangChain

io.github.herp75/migros-mcp

Migros Switzerland: products, stores, recipes; with login basket, lists, orders, Cumulus

client:LangChain transport:stdio runtime:oci

Install migros mcp in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "migros-mcp": {
            "transport": "stdio",
            "command": "docker",
            "args": ["run", "-i", "--rm", "ghcr.io/herp75/migros-mcp:0.6.1"],
        }
})

tools = await client.get_tools()

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

migros mcp in other clients