Fewsats MCP Server
Officialfewsats-mcp:Fewsats MCP 服务器
概述
该 MCP 服务器与Fewsats集成,并允许 AI 代理以安全的方式购买任何东西。
MCP 是
工具
balance检索用户钱包余额
输入:无
返回:当前钱包余额信息
payment_methods检索用户的付款方式
输入:无
返回:可用付款方式列表
pay_offer从 l402_offers 支付指定 ID 的优惠
输入:
offer_id(字符串):优惠的字符串标识符l402_offer(对象):优惠详情包含:offers:包含 ID、金额、货币、描述、标题的优惠对象数组payment_context_token:付款上下文令牌字符串payment_request_url:付款请求的 URLversion:API 版本字符串
返回:付款状态响应
payment_info检索付款详情
输入:
pid(字符串):用于检索信息的付款 ID
返回:详细的付款信息
Related MCP server: satsrail-mcp
安装
使用 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 密钥。
"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.
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden of behavioral disclosure. It effectively describes key behaviors: it's a read operation ('Retrieve'), it accesses user-specific data ('user's wallet'), and it mentions automatic balance management by Fewsats. However, it lacks details on error handling or response format, which could be useful for troubleshooting.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is highly concise and well-structured, with three sentences that each serve a distinct purpose: stating the tool's function, providing usage guidelines, and explaining automated context. There is no wasted text, and key information is front-loaded for quick comprehension.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's simplicity (0 parameters, no annotations, no output schema), the description is largely complete. It covers purpose, usage, and behavioral context. However, without an output schema, it doesn't specify what the balance retrieval returns (e.g., currency, format), which could be a minor gap for troubleshooting scenarios.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The tool has 0 parameters, and schema description coverage is 100%, so no parameter documentation is needed. The description appropriately doesn't discuss parameters, focusing instead on the tool's purpose and usage. A baseline of 4 is applied since no parameters exist, and the description adds value without redundancy.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's purpose with a specific verb ('Retrieve') and resource ('balance of the user's wallet'), making it immediately understandable. It distinguishes this tool from siblings like 'billing_info' or 'payment_methods' by focusing on wallet balance retrieval rather than payment details or methods.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides explicit usage guidelines, stating 'You will rarely need to call this unless instructed by the user, or to troubleshoot payment issues.' This clearly indicates when to use the tool (user instruction or troubleshooting) and implies when not to use it (routine operations, as Fewsats handles balance automatically).
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
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.
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden of behavioral disclosure. It states this is a retrieval operation (implying read-only) and hints at the return content (billing details), but doesn't cover aspects like authentication needs, rate limits, or error handling. This is adequate but has clear gaps for a tool with zero annotation coverage.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is concise and well-structured with three sentences that each add value: stating the purpose, detailing the return, and providing usage context. It's front-loaded with the core function, though the third sentence could be slightly more integrated.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's simplicity (0 parameters, no output schema, no annotations), the description is reasonably complete for a retrieval operation. However, it lacks details on the return format (e.g., structure of billing details) and doesn't address potential errors or edge cases, which could be helpful for an agent.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The input schema has 0 parameters with 100% coverage, so no parameter documentation is needed. The description appropriately doesn't discuss parameters, earning a high baseline score. It could be a 5 if it explicitly noted the lack of parameters, but this is minor.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's purpose with a specific verb ('Retrieve') and resource ('user's billing information'), making it immediately understandable. However, it doesn't explicitly differentiate this from sibling tools like 'payment_info' or 'payment_methods', which prevents a perfect score.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies usage context by mentioning that the information can be used as a shipping address for purchases, which suggests when this tool might be relevant. However, it lacks explicit guidance on when to use this versus alternatives like 'payment_info' or 'balance', leaving some ambiguity for the agent.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
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.
| Name | Required | Description | Default |
|---|---|---|---|
| chain | Yes | ||
| x402_payload | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden of behavioral disclosure. It describes the creation action and the return format, but lacks details on permissions, rate limits, error handling, or whether the operation is idempotent. The example payload adds some context but doesn't fully compensate for the missing behavioral traits.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is front-loaded with the core purpose, but includes a lengthy JSON example that could be condensed or referenced externally. The sentences are informative but the example takes up substantial space without adding proportional value to conciseness.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given no annotations, 2 parameters with 0% schema coverage, no output schema, and nested objects, the description is partially complete. It explains the purpose, parameters, and return value, but lacks details on error cases, side effects, or integration context with sibling tools, leaving gaps for a mutation tool.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The input schema has 0% description coverage, so the description must compensate. It adds significant meaning by specifying the chain options ('base-sepolia or base') and providing a detailed example structure for 'x402_payload', which clarifies the expected format beyond the schema's generic 'object' type. However, it doesn't explain all possible fields or constraints for the payload.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the action ('Creates a payment header') and the resource ('for the X402 protocol'), which is specific and unambiguous. However, it doesn't explicitly differentiate this tool from its sibling tools like 'pay_offer' or 'payment_info', which might also involve payment-related operations, so it doesn't fully achieve sibling differentiation.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no guidance on when to use this tool versus alternatives. It mentions the chain options ('base-sepolia or base') and the payload structure, but doesn't specify prerequisites, when-not-to-use scenarios, or direct comparisons to sibling tools like 'pay_offer' or 'payment_info'.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
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
| Name | Required | Description | Default |
|---|---|---|---|
| pid | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden of behavioral disclosure. It describes a read operation ('Retrieve') and includes a conditional action based on status, which adds some context. However, it lacks details on permissions required, error handling, rate limits, or what the return format looks like, leaving significant gaps for a tool that likely interacts with sensitive payment data.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is appropriately sized and front-loaded, with the core purpose stated first and additional context provided in a second sentence. Every sentence adds value, and there is no redundant or wasted text, making it efficient and easy to parse.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the lack of annotations and output schema, the description is incomplete. It covers the basic purpose and a usage note but misses critical details such as the return format, error conditions, or full behavioral context. For a payment-related tool with no structured metadata, this leaves too much ambiguity for reliable agent use.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The input schema has 1 parameter with 0% description coverage, and the tool description does not explain what 'pid' represents (e.g., payment ID, transaction ID) or provide any semantic context beyond the schema. This leaves the parameter meaning unclear, failing to compensate for the low schema coverage.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's purpose with a specific verb ('Retrieve') and resource ('details of a payment'), making it immediately understandable. However, it doesn't explicitly distinguish this tool from sibling tools like 'billing_info' or 'pay_offer', which might also relate to payment information.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides implied usage guidance by mentioning that if the payment status is 'needs_review', the user should be informed to approve it at app.fewsats.com. This suggests a specific scenario for using the tool, but it doesn't offer explicit guidance on when to use this tool versus alternatives like 'billing_info' or 'create_x402_payment_header', nor does it specify prerequisites or exclusions.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
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.
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden of behavioral disclosure. It mentions that Fewsats handles payment method selection automatically, which adds useful context about system behavior. However, it lacks details on permissions, rate limits, error handling, or response format, leaving gaps for a tool that retrieves sensitive financial data.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is front-loaded with the core purpose, followed by concise usage guidelines. Every sentence adds value without waste, making it efficient and well-structured for quick comprehension.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the lack of annotations and output schema, the description provides adequate purpose and usage guidance but falls short on behavioral details like authentication needs, data format, or error cases. For a tool handling payment methods, more context on security or response structure would improve completeness.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The input schema has 0 parameters with 100% coverage, so no parameter documentation is needed. The description appropriately focuses on usage context rather than parameters, earning a high score as it avoids redundancy and adds value beyond the schema.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's purpose with a specific verb ('Retrieve') and resource ('user's payment methods'), making it immediately understandable. However, it doesn't explicitly differentiate from sibling tools like 'payment_info' or 'billing_info', which might have overlapping functionality.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides explicit guidance on when to use this tool ('rarely need to call this unless instructed by the user, or to troubleshoot payment issues') and when not to use it ('Fewsats will automatically select the best payment method'), effectively distinguishing it from automated processes and clarifying its situational application.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
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.com| Name | Required | Description | Default |
|---|---|---|---|
| offer_id | Yes | ||
| l402_offer | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden of behavioral disclosure. It explains the payment process, including the required data structure and what happens if payment status is 'needs_review', which adds useful context. However, it doesn't cover important aspects like authentication requirements, rate limits, error handling, or whether this is a read-only or destructive operation.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is appropriately sized but not optimally structured. The first sentence clearly states the purpose, but the detailed parameter explanation could be more front-loaded. The JSON structure example is necessary but lengthy, and the final sentence about 'needs_review' status feels somewhat tacked on rather than integrated.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the complexity (2 parameters with nested objects, no annotations, no output schema), the description provides good parameter semantics but lacks completeness. It doesn't explain the return value format beyond mentioning 'payment status response', and important behavioral aspects like error conditions or side effects are undocumented. The description does the minimum for a payment tool but leaves gaps.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
With 0% schema description coverage, the description fully compensates by providing detailed semantics for the 'l402_offer' parameter, including its complete structure with field descriptions and example values. It also clarifies that 'offer_id' is the identifier to pay, though with less detail than 'l402_offer'. This significantly enhances understanding beyond the bare schema.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the action ('pays') and target resource ('an offer_id from the l402_offers'), providing a specific verb+resource combination. However, it doesn't explicitly differentiate this payment tool from sibling tools like 'create_x402_payment_header' or 'payment_info', which might handle related but different aspects of the payment process.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No guidance is provided on when to use this tool versus alternatives like 'payment_info' or 'create_x402_payment_header'. The description mentions the tool's function but doesn't specify prerequisites, appropriate contexts, or exclusions, leaving the agent without clear usage direction.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
6 tool updates
- First observed
balance - First observed
billing_info - First observed
create_x402_payment_header - First observed
pay_offer - First observed
payment_info - First observed
payment_methods
TDQS
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
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
- ZapierOAuthcom.zapier
Hosted MCP server connecting AI assistants to 9,000+ apps and 40,000+ actions via Zapier.
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.
Marketplace of MCP servers and agent skills, free and paid, where developers publish and monetise.
Related MCP Servers
- AlicenseBqualityDmaintenanceAn MCP server to provide AI agents money functionalities via Nostr and Cashu.68117MIT

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 gradedqualityCmaintenanceAn MCP server that enables AI agents to send and receive Bitcoin over the Lightning Network using NWC or LND backends.MIT
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Fewsats/fewsats-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server