https://github.com/Fewsats/fewsats-mcp
Fewsats MCP server
https://github.com/Fewsats/fewsats-mcp
Last synced: 8 months ago
JSON representation
Fewsats MCP server
- Host: GitHub
- URL: https://github.com/Fewsats/fewsats-mcp
- Owner: Fewsats
- Created: 2025-03-12T10:27:39.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2025-03-19T03:41:21.000Z (8 months ago)
- Last Synced: 2025-03-20T04:59:19.830Z (8 months ago)
- Language: Python
- Size: 27.3 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-mcp-servers - **fewsats-mcp** - Fewsats MCP server (Python-based) `python` `mcp` `server` `http` `ai` `pip install git+https://github.com/Fewsats/fewsats-mcp` (🤖 AI/ML)
- awesome-mcp-servers - **fewsats-mcp** - Fewsats MCP server (Python-based) (actively maintained) `python` `mcp` `server` `http` `ai` `pip install git+https://github.com/Fewsats/fewsats-mcp` (AI/ML)
- Awesome-MCP-Servers-directory - Fewsats - Enable AI Agents to purchase anything in a secure way using Fewsats (Finance)
- Awesome-Official-MCP-Servers - Fewsats - mcp?style=social) | Enable AI Agents to purchase anything in a secure way using [Fewsats](https://fewsats.com) | | (官方 MCP 服务器列表)
- awesome-mcp-servers - Fewsats - Securely processes AI agent purchases via integrated payment methods and offers (Table of Contents / Other Tools and Integrations)
- awesome-mcp-servers - Fewsats - Securely processes AI agent purchases via integrated payment methods and offers (Table of Contents / Other Tools and Integrations)
- awesome-mcp-servers - Fewsats - Enable AI Agents to purchase anything in a secure way using [Fewsats](https://fewsats.com) (Official Servers)
- Awesome-Official-MCP-Servers - Fewsats - mcp?style=social) | Enable AI Agents to purchase anything in a secure way using [Fewsats](https://fewsats.com) | | (官方 MCP 服务器列表)
- metorial-index - Fewsats Server - Integrates with Fewsats to enable secure transactions for AI agents, allowing retrieval of wallet balances, available payment methods, and management of purchase transactions. (E-commerce and Retail)
README
# fewsats-mcp: A Fewsats MCP Server
## Overview
This MCP server integrates with [Fewsats](https://fewsats.com) 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`](https://docs.astral.sh/uv/) no specific installation is needed. We will
use [`uvx`](https://docs.astral.sh/uv/guides/tools/) to directly run *fewsats-mcp*.
```bash
uvx fewsats-mcp
```
### Using PIP
Alternatively you can install `fewsats-mcp` via pip:
```bash
pip install fewsats-mcp
```
After installation, you can run it as a script using:
```bash
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](https://fewsats.com/).
Using uvx
```json
"mcpServers": {
"Fewsats Server": {
"command": "uvx",
"args": ["fewsats-mcp"],
"env": {
"FEWSATS_API_KEY": "YOUR_FEWSATS_API_KEY"
}
}
}
```