Smile.io MCP by usefulapi for LangChain
io.usefulapi/smile-io
Look up loyalty customers, points history, rewards and VIP tiers, and add points or activities.
client:LangChain
transport:streamable-http
tools:14
Install Smile.io MCP by usefulapi in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"smile-io": {
"transport": "streamable_http",
"url": "https://smile-io.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
- smile_list_customers
- smile_get_customer
- smile_list_points_transactions
- smile_get_points_transaction
- smile_list_points_products
- smile_get_points_product
- smile_list_reward_fulfillments
- smile_list_earning_rules
- smile_list_vip_tiers
- smile_get_points_settings
- smile_get_referral_settings
- smile_create_points_transaction
- smile_create_activity
- smile_purchase_points_product