Fewsats MCP Server
Officialfewsats-mcp: сервер Fewsats MCP
Обзор
Этот сервер MCP интегрируется с Fewsats и позволяет агентам ИИ совершать покупки безопасным способом.
МКП - это
Инструменты
balanceПолучить баланс кошелька пользователя
Ввод: нет
Возврат: Информация о текущем балансе кошелька
payment_methodsПолучить способы оплаты пользователя
Ввод: нет
Возврат: Список доступных способов оплаты
pay_offerОплачивает предложение с указанным идентификатором из l402_offers
Вход:
offer_id(string): Идентификатор строки для предложенияl402_offer(объект): Подробности предложения, содержащие:offers: Массив объектов предложений с идентификатором, суммой, валютой, описанием, заголовкомpayment_context_token: строка токена контекста платежаpayment_request_url: URL для запроса платежаversion: строка версии API
Возврат: Ответ о статусе платежа
payment_infoПолучить данные платежа
Вход:
pid(строка): идентификатор платежа для получения информации
Возврат: Подробная информация об оплате
Related MCP server: satsrail-mcp
Установка
Использование УФ (рекомендуется)
При использовании uv не требуется специальной установки. Мы будем использовать uvx для прямого запуска fewsats-mcp .
uvx fewsats-mcpИспользование PIP-картинки
В качестве альтернативы вы можете установить fewsats-mcp через pip:
pip install fewsats-mcpПосле установки вы можете запустить его как скрипт, используя:
fewsats-mcpКонфигурация
Использование с Claude Desktop
Добавьте это в ваш claude_desktop_config.json :
Важно : замените YOUR_FEWSATS_API_KEY на ключ API, полученный вами от Fewsats.com .
"mcpServers": {
"Fewsats Server": {
"command": "uvx",
"args": ["fewsats-mcp"],
"env": {
"FEWSATS_API_KEY": "YOUR_FEWSATS_API_KEY"
}
}
}Available Tools
6 toolsbalanceA
Retrieve the balance of the user's wallet. You will rarely need to call this unless instructed by the user, or to troubleshoot payment issues. Fewsats will automatically add balance when needed.
Inputs: no named parameters.
billing_infoA
Retrieve the user's billing information. Returns billing details including name, address, and other relevant information. This information can also be used as shipping address for purchases.
Inputs: no named parameters.
create_x402_payment_headerB
Creates a payment header for the X402 protocol.
The chain is base-sepolia or base
The x402 payload must be a dict with this structure:
{
"accepts": [
{
"asset": "0x036CbD53842c5426634e7929541eC2318f3dCF7e",
"description": "Payment for GET https://proxy402.com/7Yhuf2O3zs",
"extra": {
"name": "USDC",
"version": "2"
},
"maxAmountRequired": "10",
"maxTimeoutSeconds": 300,
"mimeType": "",
"network": "base-sepolia",
"payTo": "0xbA5Ae80f48E0C74878c1a362D69c27c2135Aa594",
"resource": "https://proxy402.com/7Yhuf2O3zs",
"scheme": "exact"
}
],
"error": "X-PAYMENT header is required",
"x402Version": 1
}
Returns a dict with the payment_header field that must be set in X-PAYMENT header in a x402 http request.
Inputs: chain (required), x402_payload (required).
payment_infoB
Retrieve the details of a payment.
If payment status is needs_review inform the user he will have to approve it at app.fewsats.com
Inputs: pid (required).
payment_methodsA
Retrieve the user's payment methods. You will rarely need to call this unless instructed by the user, or to troubleshoot payment issues. Fewsats will automatically select the best payment method.
Inputs: no named parameters.
pay_offerB
Pays an offer_id from the l402_offers.
The l402_offer parameter must be a dict with this structure:
{
'offers': [
{
'id': 'test_offer_2', # String identifier for the offer
'amount': 1, # Numeric cost value
'currency': 'usd', # Currency code
'description': 'Test offer', # Text description
'title': 'Test Package' # Title of the package
}
],
'payment_context_token': '60a8e027-8b8b-4ccf-b2b9-380ed0930283', # Payment context token
'payment_request_url': 'https://api.fewsats.com/v0/l402/payment-request', # Payment URL
'version': '0.2.2' # API version
}
Returns payment status response.
If payment status is `needs_review` inform the user he will have to approve it at app.fewsats.comInputs: offer_id (required), l402_offer (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 6 tools
Most tools have distinct purposes: balance, billing_info, payment_info, and payment_methods are clearly differentiated for wallet, billing, payment details, and payment methods respectively. However, create_x402_payment_header and pay_offer both involve payment processing and could be slightly confusing, as they target different protocols (X402 vs L402) but share overlapping payment-related functionality.
The naming follows a consistent snake_case pattern throughout (e.g., billing_info, payment_methods). However, there is a minor inconsistency with create_x402_payment_header using a more descriptive prefix (create_x402_) while others are simpler nouns or verb_noun combos, slightly deviating from a uniform style.
With 6 tools, the count is well-scoped for a payment and wallet management server. Each tool serves a specific function without redundancy, covering key areas like balance, billing, payments, and payment methods, making it efficient and manageable.
The tool set covers core payment and wallet operations well, including balance retrieval, billing info, payment details, payment methods, and payment execution for different protocols. A minor gap exists in lacking tools for updating or deleting payment methods or billing info, but agents can likely work around this with the provided tools.
Maintenance
Related MCP Connectors
One MCP server for the services your AI needs: memory, files, Microsoft 365, kanban and more.
MCP server connecting AI agents to 100+ apps (Gmail, Slack, Notion, GitHub) via one-click OAuth.
MCP server for secureFlows: token-free URL builders and integration-linting tools for AI agents.
An MCP server that provides agents access to the KeldynAI platform
Related MCP Servers
- AlicenseBqualityDmaintenanceAn MCP server to provide AI agents money functionalities via Nostr and Cashu.635 npm17MIT

satsrail-mcpofficial
AlicenseNot gradedqualityCmaintenanceAn MCP server that enables AI agents to accept Bitcoin Lightning payments. It allows agents to create orders, generate invoices, check payment status, and manage the full SatsRail merchant API through natural language.MIT- FlicenseNot gradedqualityCmaintenanceAn MCP server for AI agents to purchase resources via Stellar testnet USDC, handling quotes, purchase URLs, and merchant receipts.-
- AlicenseNot gradedqualityDmaintenanceAn MCP server that enables AI agents to send and receive Bitcoin over the Lightning Network using NWC or LND backends.MIT