@httpayer/mcp 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/SKILL.md +2 -2
- package/dist/server.js +2 -2
- package/dist/setup.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -8,7 +8,7 @@ MCP server for HTTPayer — x402 payments for AI agents. No wallets, no blockcha
|
|
|
8
8
|
npx @httpayer/mcp setup
|
|
9
9
|
```
|
|
10
10
|
|
|
11
|
-
Get your API key at [httpayer.com
|
|
11
|
+
Get your API key at [app.httpayer.com](https://app.httpayer.com).
|
|
12
12
|
|
|
13
13
|
## How it works
|
|
14
14
|
|
package/SKILL.md
CHANGED
|
@@ -23,7 +23,7 @@ If no key is provided, run the interactive setup:
|
|
|
23
23
|
npx @httpayer/mcp setup
|
|
24
24
|
```
|
|
25
25
|
|
|
26
|
-
Get keys at https://httpayer.com
|
|
26
|
+
Get keys at https://app.httpayer.com
|
|
27
27
|
|
|
28
28
|
## When to use
|
|
29
29
|
|
|
@@ -54,4 +54,4 @@ Automatically use HTTPayer when:
|
|
|
54
54
|
## Credits
|
|
55
55
|
|
|
56
56
|
- 1 credit = 0.001 USDC · 3% fee per paid request
|
|
57
|
-
- Top up at https://httpayer.com
|
|
57
|
+
- Top up at https://app.httpayer.com
|
package/dist/server.js
CHANGED
|
@@ -18,7 +18,7 @@ Workflow:
|
|
|
18
18
|
4. If balance is low (< 100 credits), call get_topup_link and share the link with the user
|
|
19
19
|
5. If fetch returns a webhook_id on a 502, poll with get_webhook_status
|
|
20
20
|
|
|
21
|
-
Credit system: 1 credit = 0.001 USDC. Fee: 3% per request. Top up at https://httpayer.com
|
|
21
|
+
Credit system: 1 credit = 0.001 USDC. Fee: 3% per request. Top up at https://app.httpayer.com.
|
|
22
22
|
`.trim();
|
|
23
23
|
function text(content) {
|
|
24
24
|
return { content: [{ type: "text", text: content }] };
|
|
@@ -156,7 +156,7 @@ export async function startServer() {
|
|
|
156
156
|
return json(result);
|
|
157
157
|
}
|
|
158
158
|
case "get_topup_link": {
|
|
159
|
-
return text("Top up your HTTPayer credits at: https://httpayer.com
|
|
159
|
+
return text("Top up your HTTPayer credits at: https://app.httpayer.com");
|
|
160
160
|
}
|
|
161
161
|
case "check_limits": {
|
|
162
162
|
const limits = await getLimits(getApiKey());
|
package/dist/setup.js
CHANGED
|
@@ -62,7 +62,7 @@ export async function runSetup(inlineKey) {
|
|
|
62
62
|
console.log(`Using provided API key: ${apiKey.slice(0, 12)}...`);
|
|
63
63
|
}
|
|
64
64
|
else {
|
|
65
|
-
console.log("Get your API key at: https://httpayer.com
|
|
65
|
+
console.log("Get your API key at: https://app.httpayer.com\n");
|
|
66
66
|
apiKey = await prompt("Paste your API key (sk-live-...): ");
|
|
67
67
|
}
|
|
68
68
|
if (!apiKey.startsWith("sk-live-")) {
|