Referral Factory MCP by usefulapi for LangChain
io.usefulapi/referral-factory
Read campaigns, referrers, leads and rewards; add referrers, qualify leads in Referral Factory.
client:LangChain
transport:streamable-http
tools:14
Install Referral Factory MCP by usefulapi in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"referral-factory": {
"transport": "streamable_http",
"url": "https://referral-factory.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
- referralfactory_list_campaigns
- referralfactory_get_campaign
- referralfactory_list_referrers
- referralfactory_get_referrer
- referralfactory_search_referrers
- referralfactory_create_referrer
- referralfactory_update_referrer
- referralfactory_list_leads
- referralfactory_get_lead
- referralfactory_update_lead_qualification
- referralfactory_list_goals
- referralfactory_get_goal
- referralfactory_list_due_rewards
- referralfactory_list_issued_rewards