@fundtracer/mcp 1.0.10 → 1.0.11
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/fundtracer-mcp.js +2 -3
- package/package.json +1 -1
package/fundtracer-mcp.js
CHANGED
|
@@ -543,13 +543,12 @@ async function validateWithFirestore(rawKey) {
|
|
|
543
543
|
async function validateViaHttp(rawKey) {
|
|
544
544
|
const API_URL = process.env.FUNDTRACER_API_URL || "https://api.fundtracer.xyz";
|
|
545
545
|
const { default: fetch } = await import("node-fetch");
|
|
546
|
-
const res = await fetch(`${API_URL}/api/
|
|
546
|
+
const res = await fetch(`${API_URL}/api/mcp/validate`, {
|
|
547
547
|
method: "POST",
|
|
548
548
|
headers: {
|
|
549
549
|
"Content-Type": "application/json",
|
|
550
550
|
"Authorization": `Bearer ${rawKey}`
|
|
551
|
-
}
|
|
552
|
-
body: JSON.stringify({ key: rawKey })
|
|
551
|
+
}
|
|
553
552
|
});
|
|
554
553
|
if (!res.ok) {
|
|
555
554
|
const body = await res.text();
|
package/package.json
CHANGED