Skip to content
LangChain

cookie mcp for LangChain

io.github.cookiechain/cookie-mcp

Cookie Chain tools for AI agents: swap, launch, liquidity, staking, NFTs, and a Solana bridge.

client:LangChain transport:stdio runtime:npm

Install cookie mcp in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

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

tools = await client.get_tools()

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

cookie mcp in other clients