This repository provides a Fewsats MCP server that enables AI Agents to securely purchase items through the Fewsats platform by managing user wallets, payment methods, and processing payments using offer IDs.
This MCP (Merchant Control Panel) server integrates with Fewsats, enabling AI Agents to securely purchase goods and services.
balance: Retrieves the user's wallet balance. Input: None. Returns: Balance information.payment_methods: Retrieves the user's available payment methods. Input: None. Returns: A list of payment methods.pay_offer: Pays a specific offer identified by its ID from the l402_offers. Input: offer_id (string) and l402_offer (object) containing offer details. Returns: Payment status.payment_info: Retrieves detailed information about a specific payment using its ID. Input: pid (string). Returns: Detailed payment information.Utilizing uv with uvx allows direct execution of fewsats-mcp without specific installation steps.
uvx fewsats-mcpAlternatively, install fewsats-mcp via pip:
pip install fewsats-mcpRun it as a script:
fewsats-mcpAdd the following to your claude_desktop_config.json, replacing YOUR_FEWSATS_API_KEY with your actual API key from Fewsats.com.
"mcpServers": {
  "Fewsats Server": {
    "command": "uvx",
    "args": ["fewsats-mcp"],
    "env": {
      "FEWSATS_API_KEY": "YOUR_FEWSATS_API_KEY"
    }
  }
}</details>Fewsats/fewsats-mcp
March 12, 2025
March 27, 2025
Python