Fewsats MCP Server
一个与 Fewsats 集成的 MCP 服务器,允许 AI 代理安全地购买任何东西,通过检索余额、访问支付方式和处理支付来实现。
Tools
pay_offer
Pays an offer_id from the l402_offers. The l402_offer parameter must be a dict with this structure: { 'offers': [ { 'offer_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.com
payment_info
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
balance
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.
payment_methods
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.
README
fewsats-mcp: 一个 Fewsats MCP 服务器
概述
这个 MCP 服务器与 Fewsats 集成,允许 AI 代理以安全的方式购买任何东西。
MCP 是
工具
-
balance- 获取用户的钱包余额
- 输入: 无
- 返回: 当前钱包余额信息
-
payment_methods- 获取用户的支付方式
- 输入: 无
- 返回: 可用的支付方式列表
-
pay_offer- 使用 l402_offers 中指定的 ID 支付一个 offer
- 输入:
offer_id(string): offer 的字符串标识符l402_offer(object): 包含 offer 详细信息的对象:offers: 包含 ID、金额、货币、描述、标题的 offer 对象数组payment_context_token: 支付上下文令牌字符串payment_request_url: 支付请求的 URLversion: API 版本字符串
- 返回: 支付状态响应
-
payment_info- 获取支付的详细信息
- 输入:
pid(string): 要检索信息的支付 ID
- 返回: 详细的支付信息
安装
使用 uv (推荐)
当使用 uv 时,不需要特定的安装。我们将使用 uvx 直接运行 fewsats-mcp。
uvx fewsats-mcp
使用 PIP
或者,您可以通过 pip 安装 fewsats-mcp:
pip install fewsats-mcp
安装完成后,您可以将其作为脚本运行:
fewsats-mcp
配置
与 Claude Desktop 一起使用
将其添加到您的 claude_desktop_config.json 中:
重要提示: 将 YOUR_FEWSATS_API_KEY 替换为您从 Fewsats.com 获取的 API 密钥。
<details> <summary>使用 uvx</summary>
"mcpServers": {
"Fewsats Server": {
"command": "uvx",
"args": ["fewsats-mcp"],
"env": {
"FEWSATS_API_KEY": "YOUR_FEWSATS_API_KEY"
}
}
}
</details>
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。