SpacePost for LangChain
dev.spacepost/mcp
Send email and manage domains, contacts and webhooks on SpacePost, the Resend-compatible email API.
client:LangChain
transport:streamable-http
runtime:npm
tools:46
Install SpacePost in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"mcp": {
"transport": "streamable_http",
"url": "https://api.spacepost.dev/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
- list_emails
- send_email
- send_batch_emails
- get_email
- update_email
- cancel_email
- list_domains
- create_domain
- get_domain
- update_domain
- delete_domain
- verify_domain
- list_api_keys
- create_api_key
- delete_api_key
- list_webhooks
- create_webhook
- get_webhook
- update_webhook
- delete_webhook
- list_audiences
- create_audience
- get_audience
- delete_audience