Skip to content
LangChain

GhostPaw Email for LangChain

io.github.ghostpawjs/email

Email tools with a local SQLite cache and IMAP/SMTP account configuration.

client:LangChain transport:stdio runtime:npm

Install GhostPaw Email in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "email": {
            "transport": "stdio",
            "command": "npx",
            "args": ["-y", "@ghostpaw/email"],
        }
})

tools = await client.get_tools()

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

GhostPaw Email in other clients