Skip to main content

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"
    }
  }
}

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

iflow_mcp_fewsats_mcp-0.1.6.tar.gz (16.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

iflow_mcp_fewsats_mcp-0.1.6-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

Details for the file iflow_mcp_fewsats_mcp-0.1.6.tar.gz.

File metadata

File hashes

Hashes for iflow_mcp_fewsats_mcp-0.1.6.tar.gz
Algorithm Hash digest
SHA256 f7a58b0bbcff4c7412ef621af63bb250ead80f3b689e3db260cefdc36c133312
MD5 1241cfac4bef6431a85260f293987664
BLAKE2b-256 bcacd0af8345b50c9885bf112ab9bf35da40317e26bc4719bab6fc2688f779cf

See more details on using hashes here.

File details

Details for the file iflow_mcp_fewsats_mcp-0.1.6-py3-none-any.whl.

File metadata

File hashes

Hashes for iflow_mcp_fewsats_mcp-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 9876a329e793b7f386071a2a4914f0099da4bed052943626acf9670e992630bb
MD5 1b636c43f0f3953ea6f1b4267dd5e577
BLAKE2b-256 5ed1dd09b6c66b62ac1af918a6e06d69bf35c14e0c79ba7882065b4c90960b01

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.6 This release

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page