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.
Aún no hay reseñas. ¡Sé el primero en reseñar!
Inicia sesión para unirte a la conversación
Retrieve the balance of the user's wallet. Input: None. Returns: Current wallet balance information.
Retrieve the user's payment methods. Input: None. Returns: List of available payment methods.
Pays an offer with the specified ID from the l402_offers. Input: offer_id (string) and l402_offer (object) containing details of the offer. Returns: Payment status response.
Retrieve the details of a payment. Input: pid (string) for the Payment ID to retrieve. Returns: Detailed payment information.