Skip to content
LangChain

mcp ptitchef for LangChain

io.github.smeet666/mcp-ptitchef

Search Ptitchef recipes, read one, and rescale it to any servings. No API key.

client:LangChain transport:stdio runtime:npm

Install mcp ptitchef in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "mcp-ptitchef": {
            "transport": "stdio",
            "command": "npx",
            "args": ["-y", "mcp-ptitchef"],
        }
})

tools = await client.get_tools()

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

mcp ptitchef in other clients