fewsats-mcp
by: Fewsats
Fewsats MCP server
📌Overview
Purpose: The main goal of the Fewsats MCP Server is to allow AI agents to securely purchase items through integration with the Fewsats platform.
Overview: This MCP server provides a streamlined interface for managing transactions, enabling users to check wallet balances, view payment methods, and facilitate payments for offers in a secure manner.
Key Features:
-
Balance Retrieval: Allows users to check their current wallet balance effortlessly, ensuring they have the necessary funds for transactions.
-
Payment Methods Management: Users can retrieve a list of their available payment methods, simplifying the process of selecting how to complete a transaction.
-
Offer Payment Processing: Facilitates payments for specific offers by providing essential offer details, thereby enabling smooth and efficient purchases.
-
Payment Information Retrieval: Users can access detailed information about past payments using a unique payment ID, ensuring transparency and clarity in transaction history.
fewsats-mcp: A Fewsats MCP Server
Overview
This MCP server integrates with Fewsats and allows AI Agents to purchase anything securely.
Tools
-
balance
- Retrieves the balance of the user's wallet.
- Returns: Current wallet balance information.
-
payment_methods
- Retrieves the user's payment methods.
- Returns: List of available payment methods.
-
pay_offer
- Pays an offer with the specified ID.
- Input:
offer_id
(string): Identifier for the offer.l402_offer
(object): Offer details including offers array, payment context token, payment request URL, and API version.
- Returns: Payment status response.
-
payment_info
- Retrieves details of a payment.
- Input:
pid
(string): Payment ID.
- Returns: Detailed payment information.
Installation
Using uv (recommended)
No specific installation is needed with uv
. You can run fewsats-mcp directly:
uvx fewsats-mcp
Using PIP
Alternatively, install fewsats-mcp
via pip:
pip install fewsats-mcp
You can then run it as a script:
fewsats-mcp
Configuration
Usage with Claude Desktop
Add the following to your claude_desktop_config.json
:
Important: Replace YOUR_FEWSATS_API_KEY
with the API key obtained from Fewsats.com.
"mcpServers": {
"Fewsats Server": {
"command": "uvx",
"args": ["fewsats-mcp"],
"env": {
"FEWSATS_API_KEY": "YOUR_FEWSATS_API_KEY"
}
}
}