coffee mcp for LangChain
io.github.mrfentmen/coffee-mcp
Coffee drink encyclopedia from SampleAPIs with recipes for hot and iced drinks.
client:LangChain
transport:stdio
runtime:npm
Install coffee mcp in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"coffee-mcp": {
"transport": "stdio",
"command": "npx",
"args": ["-y", "coffee-mcp"],
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs