ReferralCandy MCP by usefulapi for LangChain
io.usefulapi/referralcandy
Read campaigns and rewards; enroll advocates, record purchases, update rewards in ReferralCandy.
client:LangChain
transport:streamable-http
tools:14
Install ReferralCandy MCP by usefulapi in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"referralcandy": {
"transport": "streamable_http",
"url": "https://referralcandy.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
- referralcandy_list_campaigns
- referralcandy_list_segments
- referralcandy_list_contacts
- referralcandy_get_referrer
- referralcandy_list_referrals
- referralcandy_list_rewards
- referralcandy_list_reward_purchases
- referralcandy_signup_advocate
- referralcandy_record_purchase
- referralcandy_update_referral
- referralcandy_add_segment_contact
- referralcandy_remove_segment_contact
- referralcandy_send_invite
- referralcandy_update_reward_status