Fire in da houseTop Tip:Paying $100+ per month for Perplexity, MidJourney, Runway, ChatGPT and other tools is crazy - get all your AI tools in one site starting at $15 per month with Galaxy AI Fire in da houseCheck it out free

fewsats-mcp

MCP.Pizza Chef: Fewsats

The fewsats-mcp server integrates with the Fewsats platform to enable AI agents to securely manage wallet balances, retrieve payment methods, and execute payments for offers. It exposes structured payment-related tools such as balance retrieval, payment method listing, offer payment processing, and payment detail querying, facilitating seamless and secure financial transactions within AI workflows.

Use This MCP server To

Check user wallet balance for purchase readiness List available payment methods for transaction selection Process payments for offers using secure tokens Retrieve detailed payment information for transaction tracking

README

fewsats-mcp: A Fewsats MCP Server

Overview

This MCP server integrates with Fewsats and allows AI Agents to purchase anything in a secure way.

MCP is

Tools

  1. balance

    • Retrieve the balance of the user's wallet
    • Input: None
    • Returns: Current wallet balance information
  2. payment_methods

    • Retrieve the user's payment methods
    • Input: None
    • Returns: List of available payment methods
  3. pay_offer

    • Pays an offer with the specified ID from the l402_offers
    • Input:
      • offer_id (string): String identifier for the offer
      • l402_offer (object): Offer details containing:
        • offers: Array of offer objects with ID, amount, currency, description, title
        • payment_context_token: Payment context token string
        • payment_request_url: URL for payment request
        • version: API version string
    • Returns: Payment status response
  4. payment_info

    • Retrieve the details of a payment
    • Input:
      • pid (string): Payment ID to retrieve information for
    • Returns: Detailed payment information

Installation

Using uv (recommended)

When using uv no specific installation is needed. We will use uvx to directly run fewsats-mcp.

uvx fewsats-mcp

Using PIP

Alternatively you can install fewsats-mcp via pip:

pip install fewsats-mcp

After installation, you can run it as a script using:

fewsats-mcp

Configuration

Usage with Claude Desktop

Add this to your claude_desktop_config.json:

Important: Replace YOUR_FEWSATS_API_KEY with the API key you obtained from Fewsats.com.

Using uvx
"mcpServers": {
  "Fewsats Server": {
    "command": "uvx",
    "args": ["fewsats-mcp"],
    "env": {
      "FEWSATS_API_KEY": "YOUR_FEWSATS_API_KEY"
    }
  }
}

fewsats-mcp FAQ

How does fewsats-mcp ensure secure payments?
It uses payment context tokens and secure URLs to authorize transactions safely.
Can fewsats-mcp handle multiple payment methods?
Yes, it retrieves and supports various user payment methods for flexibility.
What information is needed to pay an offer?
The offer ID and detailed offer data including payment tokens and request URLs are required.
How can I verify the status of a payment?
Use the payment_info tool to retrieve detailed payment status and information.
Is user wallet balance accessible through fewsats-mcp?
Yes, the balance tool provides current wallet balance information.
Can this server be integrated with AI agents?
Yes, it is designed to enable AI agents to perform secure purchases autonomously.
What kind of offers can be paid through fewsats-mcp?
Offers listed in the l402_offers format with required payment details can be processed.
Does fewsats-mcp support real-time payment updates?
It provides payment status responses to keep track of transaction progress.