agenticbtc-mcp 1.0.3 → 1.0.5
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/package.json +3 -2
- package/src/server.js +7 -6
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "agenticbtc-mcp",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.5",
|
|
4
4
|
"description": "Privacy-intelligent payments for AI agents — your privacy, your choice. Universal payment router with Lightning, Strike, Coinbase, PayPal, Venmo support.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"bitcoin",
|
|
@@ -44,6 +44,7 @@
|
|
|
44
44
|
},
|
|
45
45
|
"scripts": {
|
|
46
46
|
"start": "node src/server.js",
|
|
47
|
-
"test": "node bin/agenticbtc.js --help"
|
|
47
|
+
"test": "node bin/agenticbtc.js --help",
|
|
48
|
+
"prepublishOnly": "cp ../mcp_server/index.js src/server.js && echo '✅ Synced mcp_server/index.js → src/server.js'"
|
|
48
49
|
}
|
|
49
50
|
}
|
package/src/server.js
CHANGED
|
@@ -8,8 +8,8 @@ import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
|
|
|
8
8
|
import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
|
|
9
9
|
import { z } from "zod";
|
|
10
10
|
|
|
11
|
-
const API_URL = process.env.AGENTBTC_API_URL || "http://localhost:8000";
|
|
12
|
-
const API_KEY = process.env.AGENTBTC_API_KEY || "";
|
|
11
|
+
const API_URL = process.env.AGENTICBTC_API_URL || process.env.AGENTBTC_API_URL || "http://localhost:8000";
|
|
12
|
+
const API_KEY = process.env.AGENTICBTC_API_KEY || process.env.AGENTBTC_API_KEY || "";
|
|
13
13
|
const LND_HOST = process.env.AGENTBTC_LND_HOST || "";
|
|
14
14
|
const LND_MACAROON = process.env.AGENTBTC_LND_MACAROON || "";
|
|
15
15
|
|
|
@@ -953,7 +953,7 @@ server.tool(
|
|
|
953
953
|
} else if (!status.lightning_reachable) {
|
|
954
954
|
status.recommended_next_step = "Lightning node configured but unreachable. Use setup_diagnose_issues for details.";
|
|
955
955
|
} else if (!status.has_agent_wallets) {
|
|
956
|
-
status.recommended_next_step = "
|
|
956
|
+
status.recommended_next_step = "Everything is configured. Visit your dashboard to create agent wallets: https://agenticbtc.app/dashboard";
|
|
957
957
|
} else {
|
|
958
958
|
status.recommended_next_step = "Everything looks good! Use setup_test_payment_capabilities to verify end-to-end payments.";
|
|
959
959
|
}
|
|
@@ -1219,9 +1219,10 @@ Guide the user through these steps in a friendly, conversational way:
|
|
|
1219
1219
|
STEP 1: Check current status — Call setup_check_status to see what's already configured.
|
|
1220
1220
|
STEP 2: API Key — If no API key, ask them to sign up at https://agenticbtc.app/dashboard
|
|
1221
1221
|
STEP 3: Lightning Node (optional) — Ask if they have one. If yes, use setup_configure_lightning. If no, recommend Voltage (voltage.cloud).
|
|
1222
|
-
STEP 4:
|
|
1223
|
-
STEP 5:
|
|
1224
|
-
|
|
1222
|
+
STEP 4: Test Everything — Call setup_test_payment_capabilities
|
|
1223
|
+
STEP 5: Complete — Call setup_complete_onboarding
|
|
1224
|
+
|
|
1225
|
+
IMPORTANT: Do NOT create wallets for the user. Wallet creation is always a deliberate owner action done through the dashboard. Your job is to get them connected and verified — not to create anything on their behalf.
|
|
1225
1226
|
|
|
1226
1227
|
Be patient, explain everything in plain language, celebrate small wins.`,
|
|
1227
1228
|
}, null, 2),
|