mailbox for LangChain
bot.mailbox/mailbox
Physical mail API for AI agents. Send letters, certified mail. Sandbox + live keys via MCP.
client:LangChain
transport:streamable-http
tools:45
Install mailbox in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"mailbox": {
"transport": "streamable_http",
"url": "https://mailbox.bot/api/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
- get_mailbox
- get_usage
- list_inbound_forwarding_addresses
- list_inbound_mail
- get_inbound_mail
- list_postal_threads
- get_postal_thread
- get_mailbox_md
- propose_mailbox_md_edit
- send_facility_message
- list_facility_conversations
- get_facility_messages
- update_webhook
- send_outbound_mail
- list_outbound_mail
- get_outbound_mail
- cancel_outbound_mail
- create_test_outbound_mail
- advance_test_outbound_mail
- list_agent_inbox
- get_agent_inbox_context
- get_agent_inbox_sources
- list_agent_inbox_scans
- get_agent_inbox_scan