gadgethumans-mcp 1.2.0 → 1.2.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.
Files changed (2) hide show
  1. package/index.js +4 -0
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -17,6 +17,7 @@ import {
17
17
  ListToolsRequestSchema,
18
18
  } from "@modelcontextprotocol/sdk/types.js";
19
19
 
20
+ const VERSION = require("./package.json").version;
20
21
  const ENDPOINT = process.env.MCP_ENDPOINT || "https://api.gadgethumans.com/mcp";
21
22
  const API_KEY =
22
23
  process.env.GADGETHUMANS_API_KEY || process.env.GADGETHUMANS_CREDITS_KEY || "";
@@ -48,6 +49,9 @@ function rpcHeaders() {
48
49
  const h = {
49
50
  "Content-Type": "application/json",
50
51
  Accept: "application/json, text/event-stream",
52
+ // Identify the channel: without a UA every install lands in our "other" bucket and gets no
53
+ // trial, which is exactly how 1,597 installs/week produced zero calls.
54
+ "User-Agent": "gadgethumans-mcp/" + VERSION + " (agent-runtime; mcp-host; node)",
51
55
  };
52
56
  if (API_KEY) h["x-api-key"] = API_KEY;
53
57
  return h;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gadgethumans-mcp",
3
- "version": "1.2.0",
3
+ "version": "1.2.1",
4
4
  "description": "MCP server for the GadgetHumans API: 226 tools in one install (ocr, ens, token safety, translate, sentiment, whois, hash, geocode, dns, weather, vat, timezone, ip, search, and a free x402 catalogue search ranked by measured 30-day call volume). Prepaid credits key or x402 USDC on Base.",
5
5
  "mcpName": "com.gadgethumans/gadgethumans-mcp",
6
6
  "type": "module",