@fewsats/fewsats-mcp
v0.6.13
Published
MCP server for interacting with Fewsats
Downloads
60
Readme
Fewsats MCP Server
MCP Server for the Fewsats API, enabling Claude (or another client) to interact with Fewsats functionalities.
Tools
The MCP exposes the following tools from the Fewsats SDK.
fewsats_pay_offer- Pay for an offer using the Fewsats API.
- Required inputs:
offer_id(string): The offer identifier.l402_offers(object): L402 offers details.
- Returns: Payment response with status and additional payment details.
fewsats_get_payment_info- Retrieve payment information using the Fewsats API.
- Required inputs:
pid(string): The payment identifier.
- Returns: Payment details including status and timestamps.
Setup
- Create a Fewsats account here
- Generate a new API Key
- Set the environment variable
FEWSATS_API_KEYwith your Fewsats API key.
Usage with Claude
To integrate with Claude Desktop, add the following configuration to your claude_desktop_config.json:
npx
{
"mcpServers": {
"fewsats": {
"command": "npx",
"args": ["fewsats/fewsats-mcp"],
"env": {
"FEWSATS_API_KEY": "your-fewsats-api-key"
}
}
}
}docker
{
"mcpServers": {
"fewsats": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e", "FEWSATS_API_KEY",
"mcp/fewsats"
],
"env": {
"FEWSATS_API_KEY": "your-fewsats-api-key"
}
}
}
}Build
Build the project with:
docker build -t mcp/fewsats -f Dockerfile .License
This MCP server is licensed under the MIT License. You are free to use, modify, and distribute the software under the terms of the MIT License.
