
fewsats/fewsats-mcp
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
MCPサーバーをFewsats
概要
このMCPサーバーはFewsatsと統合し、AIエージェントは安全な方法で何かを購入することを可能にします。 1. 残高 - ユーザーのウォレットの残高を取得する - 入力: なし - リターン: 現在のウォレット残高情報 2. payment methods - ユーザーの支払い方法を取得する - 入力: なし - 返品: 利用可能な支払い方法のリスト 3. pay offer - l402 offers から指定された ID でオファーを支払います - 入力: - オファー 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] (オブジェクト): 含まれている提供の細部: - [
payment_request_url:支払いリクエストのURL - [
version: APIバージョン文字列 - 返品:支払い状況の応答
- [
payment_info
- 支払いの詳細を取得する
- 入力:
- [
pid(文字列):情報を取得する支払いID - 返品:詳細な支払い情報
インストール
uv の使用 (推奨)
[[T11] を使用する場合は、特定のインストールは必要ありません。 お問い合わせ
fewsats-mcp を直接実行するために [uvx を使用します。
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"
}
}
}