@datadive-tools/mcp 0.17.0 → 0.19.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/lib.d.ts CHANGED
@@ -50,6 +50,19 @@ interface Config {
50
50
  * Undefined (the stdio/api-key path) means no scope gating.
51
51
  */
52
52
  scopes?: readonly string[];
53
+ /**
54
+ * The end user's IP address, sent as `x-forwarded-for` so the DataDive API logs and rate-limits
55
+ * the person behind the call rather than the host making it. Set only by the hosted (remote)
56
+ * MCP server, which takes it from its own load balancer; the stdio path leaves it unset.
57
+ */
58
+ forwardedFor?: string;
59
+ /**
60
+ * Extra headers the hosted (remote) MCP server sends on every DataDive API call, e.g. the
61
+ * proxy secret that proves to the API the call came through that server. They can never
62
+ * replace the credential, `accept`, `content-type` or `user-agent` headers this package sets.
63
+ * The stdio path leaves it unset.
64
+ */
65
+ extraHeaders?: Readonly<Record<string, string>>;
53
66
  }
54
67
  declare function loadConfig(env?: NodeJS.ProcessEnv): Config;
55
68