AgentPay for LangChain
io.github.zapnikita95/agentpay
RU merchant catalog for AI agents: live price, stock, choices and controlled checkout. Not x402.
client:LangChain
transport:streamable-http
tools:34
Install AgentPay in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"agentpay": {
"transport": "streamable_http",
"url": "https://agentpay.shop/ap/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
- begin_agent_link
- poll_agent_link
- verify_connection
- get_balance
- get_limits
- get_recovery_guide
- get_spending_policy
- list_allowed_stores
- get_user_preferences
- update_preference
- get_delivery_address
- save_delivery_address
- peek_stores
- search_products
- get_product
- present_choices
- get_choice_status
- list_purchases
- get_partner_purchase_context
- preview_purchase
- check_dixy_live_cart
- start_dixy_call_auth
- poll_dixy_call_auth
- prepare_dixy_checkout