Skip to content
LangChain

mailpal for LangChain

io.github.michaelyousrie/mailpal

List, inspect, and run saved HTTP requests from MailPal collections; write tools on Pro

client:LangChain transport:stdio runtime:npm

Install mailpal in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

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

tools = await client.get_tools()

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

mailpal in other clients