FF

fewsats/fewsats-mcp

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

21 stars 8 forks 质量 52 趋势 0

卫星 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是

工具

  1. balance
  • 获取用户钱包余额
  • 输入:无
  • 回报:当前钱包余额信息
  1. payment_methods
  • 检索用户的支付方式
  • 输入:无
  • 退货:可用支付方式列表
  1. pay_offer
  • 以l402_offers指定ID支付要约
  • 输入:
  • offer_id(字符串):要约的字符串标识符
  • l402_offer(对象):提供详情包括:
  • offers:包含ID、金额、货币、描述、标题的提供对象数组
  • payment_context_token:支付上下文令牌字符串
  • payment_request_url:支付请求的网址
  • version:API 版本字符串
  • 退货:付款状态响应
  1. 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

  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

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.

在 GitHub 查看完整 README

安装

uvx fewsats-mcp
新手?先看 mcpskill.org 教程 →

配置

"mcpServers": { "Fewsats Server": { "command": "uvx", "args": ["fewsats-mcp"], "env": { "FEWSATS_API_KEY": "YOUR_FEWSATS_API_KEY" } } }