Fewsats
Summary
Fewsats MCP server integrates with the Fewsats payment platform, enabling AI agents to securely make purchases through a simple interface. Built with Python using the FastMCP framework, it exposes four key tools: checking wallet balances, retrieving payment methods, paying for offers using L402 protocol, and accessing payment details. The implementation is designed to run via either uv package manager or pip installation, and requires a Fewsats API key for authentication. This server is particularly valuable for applications where AI agents need to handle financial transactions autonomously while maintaining security and user control over the payment process.
Available Actions(4)
balance
Retrieve the balance of the user's wallet. Input: None. Returns: Current wallet balance information.
payment_methods
Retrieve the user's payment methods. Input: None. Returns: List of available payment methods.
pay_offer
Pays an offer with the specified ID from the l402_offers. Input: offer_id (string), l402_offer (object) containing offer details.
payment_info
Retrieve the details of a payment. Input: pid (string) for the Payment ID. Returns: Detailed payment information.
社区评论
暂无评论. 成为第一个评论的人!
登录以参与讨论