Skip to main content

Fewsats MCP server

Project description

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

Project details


Download files

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

Source Distribution

fewsats_mcp-0.1.4.tar.gz (15.0 kB view details)

Uploaded Source

Built Distribution

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

fewsats_mcp-0.1.4-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

Details for the file fewsats_mcp-0.1.4.tar.gz.

File metadata

  • Download URL: fewsats_mcp-0.1.4.tar.gz
  • Upload date:
  • Size: 15.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.3

File hashes

Hashes for fewsats_mcp-0.1.4.tar.gz
Algorithm Hash digest
SHA256 06b3ef959d22ca02d54fdae27fd2c3f8282485b177853e2fa5ced585020e10bd
MD5 598b9fdfee822cdb4bac835c83878b8b
BLAKE2b-256 ff46cddf27b6d95f2032d7a9fd4b9fadaecd0af3daed58afeb3131ae6188d256

See more details on using hashes here.

File details

Details for the file fewsats_mcp-0.1.4-py3-none-any.whl.

File metadata

File hashes

Hashes for fewsats_mcp-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 c7f3fb8afabfa1bbaf08d66493beec15974b0f6f84c7aa86b39cd6b105bd8591
MD5 08e8fe21cc70426c4105da48c1c71370
BLAKE2b-256 a887f1e7f68d6becf6512f95d60e1303d1b75902b7570f54f4f5e0c66a2b18cf

See more details on using hashes here.

Supported by

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