Bot do Afiliado for LangChain
io.github.csseocao/bot-do-afiliado
Affiliate links, product search and offer posts for Shopee, Mercado Livre, Amazon and AliExpress.
client:LangChain
transport:streamable-http
tools:30
Install Bot do Afiliado in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"bot-do-afiliado": {
"transport": "streamable_http",
"url": "https://app.botdoafiliado.com/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
- convert_links
- get_product
- create_offer_post
- search_products
- run_command
- list_coupons
- list_coupon_categories
- add_coupon
- remove_coupon
- activate_coupon
- get_template
- set_template
- get_bot_info
- get_userbot_config
- set_userbot_config
- get_userbot_history
- preview_userbot_rules
- list_campaigns
- get_campaign
- campaign_metrics
- list_whatsapp_groups
- activity_history
- activity_stats
- list_showcase_items