mailsink for LangChain
io.github.heocoi/mailsink
Disposable inboxes for AI agents and CI: catch the verification email, read the OTP or link.
client:LangChain
transport:stdio
runtime:npm
Install mailsink in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"mailsink": {
"transport": "stdio",
"command": "npx",
"args": ["-y", "@mailsink/mcp"],
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs