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.
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), l402_offer (object) containing offer details. Returns: Payment status response.
Retrieve the details of a payment. Input: pid (string), Payment ID to retrieve information for. Returns: Detailed payment information.
No reviews yet. Be the first to review!
Sign in to join the conversation
Our bundler currently only supports TypeScript-based servers. Check back soon!