Skip to content
LangChain

GhosterMail for LangChain

com.ghostermail/ghostermail

Create private and temporary mailboxes, send e-mails and read incoming messages and codes.

client:LangChain transport:streamable-http

Install GhosterMail in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "ghostermail": {
            "transport": "streamable_http",
            "url": "https://api.ghostermail.com/mcp",
        }
})

tools = await client.get_tools()

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

GhosterMail in other clients