z-zero-mcp-server 1.3.5 → 1.4.0
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/dist/index.js +7 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -291,7 +291,11 @@ server.tool("get_merchant_hints", "Get merchant navigation flow for a domain or
|
|
|
291
291
|
try {
|
|
292
292
|
const resp = await fetch(`${ZZERO_API}/api/checkout-hints?domain=${encodeURIComponent(domain)}&fields=merchant`, {
|
|
293
293
|
headers: {
|
|
294
|
-
|
|
294
|
+
// Primary auth: Passport Key (same key as list_cards — hints are
|
|
295
|
+
// identity+rate-limit gated, not secret). Internal secret kept
|
|
296
|
+
// as fallback for self-hosted deployments that still use it.
|
|
297
|
+
"Authorization": `Bearer ${(0, key_store_js_1.getPassportKey)()}`,
|
|
298
|
+
...(INTERNAL_SECRET ? { "x-internal-secret": INTERNAL_SECRET } : {}),
|
|
295
299
|
"x-mcp-version": version_js_2.CURRENT_MCP_VERSION,
|
|
296
300
|
},
|
|
297
301
|
});
|
|
@@ -825,7 +829,8 @@ server.tool("report_checkout_fail", "Report a checkout URL that you could not co
|
|
|
825
829
|
method: "POST",
|
|
826
830
|
headers: {
|
|
827
831
|
"Content-Type": "application/json",
|
|
828
|
-
"
|
|
832
|
+
"Authorization": `Bearer ${(0, key_store_js_1.getPassportKey)()}`,
|
|
833
|
+
...(INTERNAL_SECRET ? { "x-internal-secret": INTERNAL_SECRET } : {}),
|
|
829
834
|
"x-mcp-version": version_js_2.CURRENT_MCP_VERSION,
|
|
830
835
|
},
|
|
831
836
|
body: JSON.stringify({ url, error_type, error_message, mcp_version: version_js_2.CURRENT_MCP_VERSION }),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "z-zero-mcp-server",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.4.0",
|
|
4
4
|
"description": "Z-ZERO MCP Server — Secure JIT Virtual Card Payment tools for AI Agents (Claude, Cursor, AutoGPT) — Real Single-Use Virtual Cards, settled in USDC on Base",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"bin": {
|