mcp-aiven 1.4.0 → 1.6.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.
@@ -0,0 +1,5 @@
1
+ /** Strip `::ffff:` prefix from IPv4-mapped IPv6 (Node dual-stack sockets emit this form). */
2
+ export declare function normalizePeerIp(ip: string | undefined): string | undefined;
3
+ /** True iff `ip` is a valid IP inside Cloudflare's published edge ranges. */
4
+ export declare function isCloudflareAddress(ip: string | undefined): boolean;
5
+ //# sourceMappingURL=cloudflare-ips.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cloudflare-ips.d.ts","sourceRoot":"","sources":["../src/cloudflare-ips.ts"],"names":[],"mappings":"AA8CA,6FAA6F;AAC7F,wBAAgB,eAAe,CAAC,EAAE,EAAE,MAAM,GAAG,SAAS,GAAG,MAAM,GAAG,SAAS,CAO1E;AAED,6EAA6E;AAC7E,wBAAgB,mBAAmB,CAAC,EAAE,EAAE,MAAM,GAAG,SAAS,GAAG,OAAO,CAKnE"}
@@ -0,0 +1,63 @@
1
+ import { BlockList, isIP } from 'node:net';
2
+ const CLOUDFLARE_IPV4_CIDRS = [
3
+ '173.245.48.0/20',
4
+ '103.21.244.0/22',
5
+ '103.22.200.0/22',
6
+ '103.31.4.0/22',
7
+ '141.101.64.0/18',
8
+ '108.162.192.0/18',
9
+ '190.93.240.0/20',
10
+ '188.114.96.0/20',
11
+ '197.234.240.0/22',
12
+ '198.41.128.0/17',
13
+ '162.158.0.0/15',
14
+ '104.16.0.0/13',
15
+ '104.24.0.0/14',
16
+ '172.64.0.0/13',
17
+ '131.0.72.0/22',
18
+ ];
19
+ const CLOUDFLARE_IPV6_CIDRS = [
20
+ '2400:cb00::/32',
21
+ '2606:4700::/32',
22
+ '2803:f800::/32',
23
+ '2405:b500::/32',
24
+ '2405:8100::/32',
25
+ '2a06:98c0::/29',
26
+ '2c0f:f248::/32',
27
+ ];
28
+ function addCidr(list, cidr, family) {
29
+ const slash = cidr.indexOf('/');
30
+ const addr = cidr.slice(0, slash);
31
+ const bits = parseInt(cidr.slice(slash + 1), 10);
32
+ list.addSubnet(addr, bits, family);
33
+ }
34
+ const cloudflareBlockList = (() => {
35
+ const list = new BlockList();
36
+ for (const cidr of CLOUDFLARE_IPV4_CIDRS)
37
+ addCidr(list, cidr, 'ipv4');
38
+ for (const cidr of CLOUDFLARE_IPV6_CIDRS)
39
+ addCidr(list, cidr, 'ipv6');
40
+ return list;
41
+ })();
42
+ const IPV4_MAPPED_IPV6_PREFIX = '::ffff:';
43
+ /** Strip `::ffff:` prefix from IPv4-mapped IPv6 (Node dual-stack sockets emit this form). */
44
+ export function normalizePeerIp(ip) {
45
+ if (ip === undefined)
46
+ return undefined;
47
+ if (ip.toLowerCase().startsWith(IPV4_MAPPED_IPV6_PREFIX)) {
48
+ const v4 = ip.slice(IPV4_MAPPED_IPV6_PREFIX.length);
49
+ if (isIP(v4) === 4)
50
+ return v4;
51
+ }
52
+ return ip;
53
+ }
54
+ /** True iff `ip` is a valid IP inside Cloudflare's published edge ranges. */
55
+ export function isCloudflareAddress(ip) {
56
+ if (ip === undefined)
57
+ return false;
58
+ const family = isIP(ip);
59
+ if (family === 0)
60
+ return false;
61
+ return cloudflareBlockList.check(ip, family === 4 ? 'ipv4' : 'ipv6');
62
+ }
63
+ //# sourceMappingURL=cloudflare-ips.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cloudflare-ips.js","sourceRoot":"","sources":["../src/cloudflare-ips.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,MAAM,UAAU,CAAC;AAE3C,MAAM,qBAAqB,GAAsB;IAC/C,iBAAiB;IACjB,iBAAiB;IACjB,iBAAiB;IACjB,eAAe;IACf,iBAAiB;IACjB,kBAAkB;IAClB,iBAAiB;IACjB,iBAAiB;IACjB,kBAAkB;IAClB,iBAAiB;IACjB,gBAAgB;IAChB,eAAe;IACf,eAAe;IACf,eAAe;IACf,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AE,CAAC,KAAK,CAAC;YAAE,OAAO,EAAE,CAAC;IAChC,CAAC;IACD,OAAO,EAAE,CAAC;AACZ,CAAC;AAED,6EAA6E;AAC7E,MAAM,UAAU,mBAAmB,CAAC,EAAsB;IACxD,IAAI,EAAE,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IACnC,MAAM,MAAM,GAAG,IAAI,CAAC,EAAE,CAAC,CAAC;IACxB,IAAI,MAAM,KAAK,CAAC;QAAE,OAAO,KAAK,CAAC;IAC/B,OAAO,mBAAmB,CAAC,KAAK,CAAC,EAAE,EAAE,MAAM,KAAK,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC;AACvE,CAAC"}
package/dist/config.d.ts CHANGED
@@ -10,8 +10,6 @@ export interface HttpMcpRateLimitConfig {
10
10
  limit: number;
11
11
  }
12
12
  export declare function loadHttpMcpRateLimit(): HttpMcpRateLimitConfig;
13
- /** When true, Express honors X-Forwarded-For for req.ip (use behind a reverse proxy). */
14
- export declare function httpTrustProxyEnabled(): boolean;
15
13
  export declare const VALID_SCOPES: readonly string[];
16
14
  export declare function parseScopes(raw: string | undefined): {
17
15
  categories: ReadonlySet<ServiceCategory> | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../src/config.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAC9C,OAAO,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAI7C,eAAO,MAAM,OAAO,QAAc,CAAC;AACnC,eAAO,MAAM,UAAU,QAA4D,CAAC;AACpF,eAAO,MAAM,YAAY,QAAqB,CAAC;AAC/C,eAAO,MAAM,IAAI,QAAsD,CAAC;AAExE,6EAA6E;AAC7E,MAAM,WAAW,sBAAsB;IACrC,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;CACf;AASD,wBAAgB,oBAAoB,IAAI,s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ED
@@ -19,11 +19,6 @@ export function loadHttpMcpRateLimit() {
19
19
  limit: parsePositiveIntEnv('MCP_HTTP_RATE_LIMIT_MAX', 100),
20
20
  };
21
21
  }
22
- /** When true, Express honors X-Forwarded-For for req.ip (use behind a reverse proxy). */
23
- export function httpTrustProxyEnabled() {
24
- const v = process.env['MCP_TRUST_PROXY'];
25
- return v === '1' || v === 'true';
26
- }
27
22
  /**
28
23
  * User-selectable scope names. Maps to ServiceCategory; `core` is always implicitly included
29
24
  * because every other category depends on `aiven_project_list` / `aiven_service_get` etc.
@@ -1 +1 @@
1
- {"version":3,"file":"config.js","sourceRoot":"","sources":["../src/config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAE5C,OAAO,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAE7C,MAAM,OAAO,GAAG,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAC/C,MAAM,GAAG,GAAG,OAAO,CAAC,iBAAiB,CAAwB,CAAC;AAC9D,MAAM,CAAC,MAAM,OAAO,GAAG,GAAG,CAAC,OAAO,CAAC;AACnC,MAAM,CAAC,MAAM,UAAU,GAAG,OAAO,CAAC,GAAG,CAAC,kBAAkB,CAAC,IAAI,sBAAsB,CAAC;AACpF,MAAM,CAAC,MAAM,YAAY,GAAG,GAAG,UAAU,KAAK,CAAC;AAC/C,MAAM,CAAC,MAAM,IAAI,GAAG,OAAO,CAAC,GAAG,CAAC,UAAU,CAAC,IAAI,wBAAwB,CAAC;AAQxE,SAAS,mBAAmB,CAAC,IAAY,EAAE,YAAoB;IAC7D,MAAM,GAAG,GAAG,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;IAC9B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,EAAE;QAAE,OAAO,YAAY,CAAC;IACzD,MAAM,CAAC,GAAG,QAAQ,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC;IAC5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AC;AAED,MAAM,UAAU,UAAU,CAAC,YAA8B,OAAO;IAC9D,MAAM,KAAK,GAAG,OAAO,CAAC,GAAG,CAAC,aAAa,CAAC,CAAC;IAEzC,IAAI,CAAC,KAAK,IAAI,SAAS,KAAK,MAAM,EAAE,CAAC;QACnC,MAAM,IAAI,KAAK,CACb,iDAAiD;YAC/C,4DAA4D,CAC/D,CAAC;IACJ,CAAC;IAED,MAAM,QAAQ,GAAG,OAAO,CAAC,GAAG,CAAC,iBAAiB,CAAC,KAAK,MAAM,CAAC;IAE3D,MAAM,MAAM,GAAG,WAAW,CAAC,OAAO,CAAC,GAAG,CAAC,sBAAsB,CAAC,CAAC,CAAC;IAChE,IAAI,OAAO,IAAI,MAAM,EAAE,CAAC;QACtB,MAAM,IAAI,KAAK,CAAC,yBAAyB,MAAM,CAAC,KAAK,EAAE,CAAC,CAAC;IAC3D,CAAC;IAED,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,CAAC,UAAU,EAAE,CAAC;AACvE,CAAC"}
@@ -5848,7 +5848,11 @@ export interface paths {
5848
5848
  };
5849
5849
  get?: never;
5850
5850
  put?: never;
5851
- /** Accept all invites for a single account */
5851
+ /**
5852
+ * Accept all invites for a single account
5853
+ * @deprecated
5854
+ * @description <p>Use the organization invitations API instead.</p>
5855
+ */
5852
5856
  post: operations["UserAccountInvitesAccept"];
5853
5857
  delete?: never;
5854
5858
  options?: never;
@@ -5863,7 +5867,11 @@ export interface paths {
5863
5867
  path?: never;
5864
5868
  cookie?: never;
5865
5869
  };
5866
- /** List pending account invites */
5870
+ /**
5871
+ * List pending account invites
5872
+ * @deprecated
5873
+ * @description <p>Use the organization invitations API instead.</p>
5874
+ */
5867
5875
  get: operations["UserAccountInvitesList"];
5868
5876
  put?: never;
5869
5877
  post?: never;
@@ -6199,7 +6207,7 @@ export interface components {
6199
6207
  * @enum {string}
6200
6208
  */
6201
6209
  authentication_method_type: "internal" | "saml";
6202
- /** @description Automatically add users to a team, when user signs up using this authentication method */
6210
+ /** @description Deprecated; always null. Teams are being sunset, so this value is ignored on writes and always returned as null. */
6203
6211
  auto_join_team_id?: string;
6204
6212
  /** @description Automatically add users to a group, when user signs up using this authentication method */
6205
6213
  auto_join_user_group_id?: string;
@@ -6308,7 +6316,7 @@ export interface components {
6308
6316
  * @enum {string}
6309
6317
  */
6310
6318
  authentication_method_type: "internal" | "saml";
6311
- /** @description Automatically add users to a team, when user signs up using this authentication method */
6319
+ /** @description Deprecated; always null. Teams are being sunset, so this value is ignored on writes and always returned as null. */
6312
6320
  auto_join_team_id: string;
6313
6321
  /** @description Automatically add users to a group, when user signs up using this authentication method */
6314
6322
  auto_join_user_group_id: string;
@@ -6447,7 +6455,7 @@ export interface components {
6447
6455
  * @enum {string}
6448
6456
  */
6449
6457
  authentication_method_type: "internal" | "saml";
6450
- /** @description Automatically add users to a team, when user signs up using this authentication method */
6458
+ /** @description Deprecated; always null. Teams are being sunset, so this value is ignored on writes and always returned as null. */
6451
6459
  auto_join_team_id: string;
6452
6460
  /** @description Automatically add users to a group, when user signs up using this authentication method */
6453
6461
  auto_join_user_group_id: string;
@@ -6569,7 +6577,7 @@ export interface components {
6569
6577
  authentication_method_enabled?: boolean;
6570
6578
  /** @description Authentication Method Name */
6571
6579
  authentication_method_name?: string;
6572
- /** @description Automatically add users to a team, when user signs up using this authentication method */
6580
+ /** @description Deprecated; always null. Teams are being sunset, so this value is ignored on writes and always returned as null. */
6573
6581
  auto_join_team_id?: string;
6574
6582
  /** @description Automatically add users to a group, when user signs up using this authentication method */
6575
6583
  auto_join_user_group_id?: string;
@@ -6664,7 +6672,7 @@ export interface components {
6664
6672
  * @enum {string}
6665
6673
  */
6666
6674
  authentication_method_type: "internal" | "saml";
6667
- /** @description Automatically add users to a team, when user signs up using this authentication method */
6675
+ /** @description Deprecated; always null. Teams are being sunset, so this value is ignored on writes and always returned as null. */
6668
6676
  auto_join_team_id: string;
6669
6677
  /** @description Automatically add users to a group, when user signs up using this authentication method */
6670
6678
  auto_join_user_group_id: string;
@@ -6798,7 +6806,7 @@ export interface components {
6798
6806
  * @enum {string}
6799
6807
  */
6800
6808
  authentication_method_type: "internal" | "saml";
6801
- /** @description Automatically add users to a team, when user signs up using this authentication method */
6809
+ /** @description Deprecated; always null. Teams are being sunset, so this value is ignored on writes and always returned as null. */
6802
6810
  auto_join_team_id: string;
6803
6811
  /** @description Automatically add users to a group, when user signs up using this authentication method */
6804
6812
  auto_join_user_group_id: string;
@@ -8966,7 +8974,7 @@ export interface components {
8966
8974
  OrganizationAddressCreateResponse: {
8967
8975
  /** @description Address ID */
8968
8976
  address_id: string;
8969
- /** @description Address Lines */
8977
+ /** @description Address lines */
8970
8978
  address_lines?: string[];
8971
8979
  /** @description City */
8972
8980
  city?: string;
@@ -8974,7 +8982,7 @@ export interface components {
8974
8982
  country_code: string;
8975
8983
  /** @description Create Time */
8976
8984
  create_time: string;
8977
- /** @description Name of a company */
8985
+ /** @description Name */
8978
8986
  name: string;
8979
8987
  /** @description Organization ID */
8980
8988
  organization_id: string;
@@ -9003,7 +9011,7 @@ export interface components {
9003
9011
  OrganizationAddressGetResponse: {
9004
9012
  /** @description Address ID */
9005
9013
  address_id: string;
9006
- /** @description Address Lines */
9014
+ /** @description Address lines */
9007
9015
  address_lines?: string[];
9008
9016
  /** @description City */
9009
9017
  city?: string;
@@ -9011,7 +9019,7 @@ export interface components {
9011
9019
  country_code: string;
9012
9020
  /** @description Create Time */
9013
9021
  create_time: string;
9014
- /** @description Name of a company */
9022
+ /** @description Name */
9015
9023
  name: string;
9016
9024
  /** @description Organization ID */
9017
9025
  organization_id: string;
@@ -9028,7 +9036,7 @@ export interface components {
9028
9036
  addresses: {
9029
9037
  /** @description Address ID */
9030
9038
  address_id: string;
9031
- /** @description Address Lines */
9039
+ /** @description Address lines */
9032
9040
  address_lines?: string[];
9033
9041
  /** @description City */
9034
9042
  city?: string;
@@ -9036,7 +9044,7 @@ export interface components {
9036
9044
  country_code: string;
9037
9045
  /** @description Create Time */
9038
9046
  create_time: string;
9039
- /** @description Name of a company */
9047
+ /** @description Name */
9040
9048
  name: string;
9041
9049
  /** @description Organization ID */
9042
9050
  organization_id: string;
@@ -9050,7 +9058,7 @@ export interface components {
9050
9058
  };
9051
9059
  /** @description OrganizationAddressUpdateRequestBody */
9052
9060
  OrganizationAddressUpdateRequestBody: {
9053
- /** @description Address Lines */
9061
+ /** @description Address lines */
9054
9062
  address_lines?: string[];
9055
9063
  /** @description City */
9056
9064
  city?: string;
@@ -9067,7 +9075,7 @@ export interface components {
9067
9075
  OrganizationAddressUpdateResponse: {
9068
9076
  /** @description Address ID */
9069
9077
  address_id: string;
9070
- /** @description Address Lines */
9078
+ /** @description Address lines */
9071
9079
  address_lines?: string[];
9072
9080
  /** @description City */
9073
9081
  city?: string;
@@ -9075,7 +9083,7 @@ export interface components {
9075
9083
  country_code: string;
9076
9084
  /** @description Create Time */
9077
9085
  create_time: string;
9078
- /** @description Name of a company */
9086
+ /** @description Name */
9079
9087
  name: string;
9080
9088
  /** @description Organization ID */
9081
9089
  organization_id: string;
@@ -34046,7 +34054,8 @@ export interface operations {
34046
34054
  /**
34047
34055
  * @example {
34048
34056
  * "address_lines": [
34049
- * "Main Street 1"
34057
+ * "Street 1",
34058
+ * "Street 2"
34050
34059
  * ],
34051
34060
  * "city": "Helsinki",
34052
34061
  * "country_code": "FI",