Skip to content
LangChain

AgentMail for LangChain

net.theagentmail/agentmail

Open-source (MIT) email inboxes for AI agents with scoped keys, webhooks & AI spam guard.

client:LangChain transport:streamable-http tools:6

Install AgentMail in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "agentmail": {
            "transport": "streamable_http",
            "url": "https://api.theagentmail.net/mcp",
        }
})

tools = await client.get_tools()

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

What LangChain can do once it is connected

AgentMail in other clients