Hotmart for LangChain
io.github.mcp-dir/hotmart-mcp
Hotmart digital-products platform, sales (history, summary, commissions), subscriptions (list, cance
client:LangChain
transport:streamable-http
tools:42
Install Hotmart in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"hotmart-mcp": {
"transport": "streamable_http",
"url": "https://api.mcp.ai/p_hotmart",
}
})
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
- hotmart_list_accounts
- hotmart_sales_history
- hotmart_sales_summary
- hotmart_sales_users
- hotmart_sales_commissions
- hotmart_sales_price_details
- hotmart_sales_write_refund
- hotmart_subscriptions_list
- hotmart_subscriptions_summary
- hotmart_subscriptions_purchases
- hotmart_subscriptions_transactions
- hotmart_subscriptions_switch_plan_plans
- hotmart_subscriptions_write_cancel
- hotmart_subscriptions_write_reactivate
- hotmart_subscriptions_write_change_due_day
- hotmart_subscriptions_write_switch_plan
- hotmart_products_list
- hotmart_products_offers
- hotmart_products_plans
- hotmart_club_modules
- hotmart_club_pages
- hotmart_club_students
- hotmart_club_lessons
- hotmart_coupons