Skip to content
LangChain

MailRig for LangChain

io.mailrig/mailrig

Run cold email from your AI agent: campaigns, replies, domains and contacts on MailRig.

client:LangChain transport:streamable-http

Install MailRig in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "mailrig": {
            "transport": "streamable_http",
            "url": "https://mcp.mailrig.io/mcp",
        }
})

tools = await client.get_tools()

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

MailRig in other clients