卫星 MCP 服务器
概览
该MCP服务器与Fewsats集成,允许AI代理以安全方式购买任何物品。 1. 余额 - 检索用户钱包余额 - 输入:无 - 返回:当前钱包余额信息 2. payment_methods - 检索用户的支付方式 - 输入:无 - 返回:可用支付方式列表 3. pay_offer - 以l402_offers指定ID支付报价- 输入:- offer_id(字符串):报价的字符串标识符 - l402_offer(对象):包含以下报价的详细信息:- 优惠:包含ID、金额、货币、描述、标题的报价对象数列 - payment_context_token:支付上下文令牌字符串 - payment_request_url:支付请求的URL——版本:API版本字符串——返回:付款状态响应 4. payment_info - 获取付款详情 - 输入:- pid(字符串):用于检索信息的支付ID- 退货:详细付款信息 使用UV时不需要特别安装。
概述(AI 翻译)
概述
该MCP服务器与Fewsats集成,允许AI代理以安全方式购买任何物品。
MCP是
工具
balance
- 获取用户钱包余额
- 输入:无
- 回报:当前钱包余额信息
payment_methods
- 检索用户的支付方式
- 输入:无
- 退货:可用支付方式列表
pay_offer
- 以l402_offers指定ID支付要约
- 输入:
offer_id(字符串):要约的字符串标识符l402_offer(对象):提供详情包括:offers:包含ID、金额、货币、描述、标题的提供对象数组payment_context_token:支付上下文令牌字符串payment_request_url:支付请求的网址version:API 版本字符串- 退货:付款状态响应
payment_info
- 检索付款详情
- 输入:
pid(字符串):用于检索- 退货:详细付款信息
安装
使用紫外线(推荐)
使用uv时无需特定安装。我们会
使用 uvx 直接运行 fewsats-mcp。
使用 PIP
本页由 AI 翻译,技术细节请以原文为准。
README
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
-
balance- Retrieve the balance of the user’s wallet
- Input: None
- Returns: Current wallet balance information
-
payment_methods- Retrieve the user’s payment methods
- Input: None
- Returns: List of available payment methods
-
pay_offer- Pays an offer with the specified ID from the l402_offers
- Input:
offer_id(string): String identifier for the offerl402_offer(object): Offer details containing:offers: Array of offer objects with ID, amount, currency, description, titlepayment_context_token: Payment context token stringpayment_request_url: URL for payment requestversion: API version string
- Returns: Payment status response
-
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.
安装
uvx fewsats-mcp配置
"mcpServers": {
"Fewsats Server": {
"command": "uvx",
"args": ["fewsats-mcp"],
"env": {
"FEWSATS_API_KEY": "YOUR_FEWSATS_API_KEY"
}
}
}