Whop MCP by usefulapi for LangChain
io.usefulapi/whop
Read accounts, products, members, memberships, payments, invoices and reviews in Whop.
client:LangChain
transport:streamable-http
tools:16
Install Whop MCP by usefulapi in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"whop": {
"transport": "streamable_http",
"url": "https://whop.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
- whop_get_current_user
- whop_list_accounts
- whop_get_account
- whop_list_products
- whop_get_product
- whop_list_variants
- whop_get_variant
- whop_list_members
- whop_get_member
- whop_list_memberships
- whop_get_membership
- whop_list_payments
- whop_get_payment
- whop_get_payment_summary
- whop_list_invoices
- whop_list_reviews