beehiiv MCP by usefulapi for LangChain
io.usefulapi/beehiiv
Read subscribers, posts and segments; add subscribers, tags and draft posts in beehiiv.
client:LangChain
transport:streamable-http
tools:22
Install beehiiv MCP by usefulapi in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"beehiiv": {
"transport": "streamable_http",
"url": "https://beehiiv.usefulapi.io/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
- beehiiv_list_publications
- beehiiv_get_publication
- beehiiv_list_subscriptions
- beehiiv_get_subscription
- beehiiv_get_subscription_by_email
- beehiiv_list_posts
- beehiiv_get_post
- beehiiv_list_automations
- beehiiv_get_automation
- beehiiv_list_segments
- beehiiv_get_segment
- beehiiv_list_custom_fields
- beehiiv_list_tiers
- beehiiv_list_newsletter_lists
- beehiiv_list_webhooks
- beehiiv_list_polls
- beehiiv_get_referral_program
- beehiiv_create_subscription
- beehiiv_update_subscription
- beehiiv_add_subscription_tags
- beehiiv_remove_subscription_tags
- beehiiv_create_draft_post