@fundtracer/mcp 1.0.7 → 1.0.8
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 +1 -1
- package/package.json +1 -1
package/fundtracer-mcp.js
CHANGED
|
@@ -260,11 +260,11 @@ function api() {
|
|
|
260
260
|
const key = _mcpCtx?.apiKey || process.env.FUNDTRACER_MCP_API_KEY || "";
|
|
261
261
|
const headers = {
|
|
262
262
|
Authorization: `Bearer ${key}`,
|
|
263
|
-
"x-auth-token": key,
|
|
264
263
|
"Content-Type": "application/json"
|
|
265
264
|
};
|
|
266
265
|
if (_mcpCtx?.userId) {
|
|
267
266
|
headers["X-MCP-UserId"] = _mcpCtx.userId;
|
|
267
|
+
headers["x-auth-token"] = `${key}:${_mcpCtx.userId}`;
|
|
268
268
|
}
|
|
269
269
|
return axios.create({
|
|
270
270
|
baseURL: API_BASE,
|
package/package.json
CHANGED