Smartrr MCP by usefulapi for LangChain
io.usefulapi/smartrr
Manage Smartrr subscriptions on Shopify: customers, orders, bills; pause, resume, cancel.
client:LangChain
transport:streamable-http
tools:21
Install Smartrr MCP by usefulapi in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"smartrr": {
"transport": "streamable_http",
"url": "https://smartrr.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
- smartrr_list_subscriptions
- smartrr_get_subscription
- smartrr_list_customer_subscriptions
- smartrr_get_subscription_events
- smartrr_get_subscription_orders
- smartrr_get_subscription_bills
- smartrr_list_customers
- smartrr_list_orders
- smartrr_get_order
- smartrr_list_bills
- smartrr_get_bill_history
- smartrr_list_selling_plan_groups
- smartrr_list_cancellation_reasons
- smartrr_get_analytics
- smartrr_pause_subscription
- smartrr_resume_subscription
- smartrr_cancel_customer_subscription
- smartrr_skip_order
- smartrr_unskip_order
- smartrr_set_next_billing_date
- smartrr_retry_bill