integrate-sdk 0.8.64-dev.0 → 0.8.66-dev.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.
@@ -1892,7 +1892,24 @@ class MCPClientBase {
1892
1892
  }))
1893
1893
  });
1894
1894
  if (hasApiKey || !this.__useServerConfig) {
1895
- if (options?.includeToolMetadata) {
1895
+ if (options?.includeToolMetadata && hasApiKey) {
1896
+ await this.ensureConnected();
1897
+ const integrationsWithMetadata = localIntegrations.map((integration) => {
1898
+ const toolMetadata = integration.tools.map((toolName) => this.availableTools.get(toolName)).filter((tool) => !!tool);
1899
+ return {
1900
+ id: integration.id,
1901
+ name: integration.name || integration.id,
1902
+ logoUrl: integration.logoUrl,
1903
+ tools: integration.tools,
1904
+ hasOAuth: !!integration.oauth,
1905
+ scopes: integration.oauth?.scopes,
1906
+ provider: integration.oauth?.provider,
1907
+ toolMetadata
1908
+ };
1909
+ });
1910
+ return { integrations: integrationsWithMetadata };
1911
+ }
1912
+ if (options?.includeToolMetadata && !hasApiKey) {
1896
1913
  const { parallelWithLimit: parallelWithLimit2 } = await Promise.resolve().then(() => exports_concurrency);
1897
1914
  const integrationsWithMetadata = await parallelWithLimit2(localIntegrations, async (integration) => {
1898
1915
  try {
@@ -1938,9 +1955,7 @@ class MCPClientBase {
1938
1955
  };
1939
1956
  }
1940
1957
  }, 3);
1941
- return {
1942
- integrations: integrationsWithMetadata
1943
- };
1958
+ return { integrations: integrationsWithMetadata };
1944
1959
  }
1945
1960
  return formatLocalIntegrations(localIntegrations);
1946
1961
  }
@@ -2063,12 +2078,18 @@ class MCPClientBase {
2063
2078
  return response;
2064
2079
  }
2065
2080
  async discoverTools() {
2066
- const response = await this.transport.sendRequest("tools/list" /* TOOLS_LIST */);
2067
- for (const tool of response.tools) {
2068
- this.availableTools.set(tool.name, tool);
2069
- }
2070
- const enabledTools = response.tools.filter((tool) => this.enabledToolNames.has(tool.name));
2071
- logger5.debug(`Discovered ${response.tools.length} tools, ${enabledTools.length} enabled by integrations`);
2081
+ let cursor;
2082
+ let totalDiscovered = 0;
2083
+ do {
2084
+ const response = await this.transport.sendRequest("tools/list" /* TOOLS_LIST */, cursor ? { cursor } : undefined);
2085
+ for (const tool of response.tools) {
2086
+ this.availableTools.set(tool.name, tool);
2087
+ }
2088
+ totalDiscovered += response.tools.length;
2089
+ cursor = response.nextCursor;
2090
+ } while (cursor);
2091
+ const enabledCount = Array.from(this.availableTools.keys()).filter((name) => this.enabledToolNames.has(name)).length;
2092
+ logger5.debug(`Discovered ${totalDiscovered} tools, ${enabledCount} enabled by integrations`);
2072
2093
  }
2073
2094
  async _callToolByName(name, args, options) {
2074
2095
  return await this.callToolWithRetry(name, args, 0, options);
@@ -1892,7 +1892,24 @@ class MCPClientBase {
1892
1892
  }))
1893
1893
  });
1894
1894
  if (hasApiKey || !this.__useServerConfig) {
1895
- if (options?.includeToolMetadata) {
1895
+ if (options?.includeToolMetadata && hasApiKey) {
1896
+ await this.ensureConnected();
1897
+ const integrationsWithMetadata = localIntegrations.map((integration) => {
1898
+ const toolMetadata = integration.tools.map((toolName) => this.availableTools.get(toolName)).filter((tool) => !!tool);
1899
+ return {
1900
+ id: integration.id,
1901
+ name: integration.name || integration.id,
1902
+ logoUrl: integration.logoUrl,
1903
+ tools: integration.tools,
1904
+ hasOAuth: !!integration.oauth,
1905
+ scopes: integration.oauth?.scopes,
1906
+ provider: integration.oauth?.provider,
1907
+ toolMetadata
1908
+ };
1909
+ });
1910
+ return { integrations: integrationsWithMetadata };
1911
+ }
1912
+ if (options?.includeToolMetadata && !hasApiKey) {
1896
1913
  const { parallelWithLimit: parallelWithLimit2 } = await Promise.resolve().then(() => exports_concurrency);
1897
1914
  const integrationsWithMetadata = await parallelWithLimit2(localIntegrations, async (integration) => {
1898
1915
  try {
@@ -1938,9 +1955,7 @@ class MCPClientBase {
1938
1955
  };
1939
1956
  }
1940
1957
  }, 3);
1941
- return {
1942
- integrations: integrationsWithMetadata
1943
- };
1958
+ return { integrations: integrationsWithMetadata };
1944
1959
  }
1945
1960
  return formatLocalIntegrations(localIntegrations);
1946
1961
  }
@@ -2063,12 +2078,18 @@ class MCPClientBase {
2063
2078
  return response;
2064
2079
  }
2065
2080
  async discoverTools() {
2066
- const response = await this.transport.sendRequest("tools/list" /* TOOLS_LIST */);
2067
- for (const tool of response.tools) {
2068
- this.availableTools.set(tool.name, tool);
2069
- }
2070
- const enabledTools = response.tools.filter((tool) => this.enabledToolNames.has(tool.name));
2071
- logger5.debug(`Discovered ${response.tools.length} tools, ${enabledTools.length} enabled by integrations`);
2081
+ let cursor;
2082
+ let totalDiscovered = 0;
2083
+ do {
2084
+ const response = await this.transport.sendRequest("tools/list" /* TOOLS_LIST */, cursor ? { cursor } : undefined);
2085
+ for (const tool of response.tools) {
2086
+ this.availableTools.set(tool.name, tool);
2087
+ }
2088
+ totalDiscovered += response.tools.length;
2089
+ cursor = response.nextCursor;
2090
+ } while (cursor);
2091
+ const enabledCount = Array.from(this.availableTools.keys()).filter((name) => this.enabledToolNames.has(name)).length;
2092
+ logger5.debug(`Discovered ${totalDiscovered} tools, ${enabledCount} enabled by integrations`);
2072
2093
  }
2073
2094
  async _callToolByName(name, args, options) {
2074
2095
  return await this.callToolWithRetry(name, args, 0, options);
@@ -1892,7 +1892,24 @@ class MCPClientBase {
1892
1892
  }))
1893
1893
  });
1894
1894
  if (hasApiKey || !this.__useServerConfig) {
1895
- if (options?.includeToolMetadata) {
1895
+ if (options?.includeToolMetadata && hasApiKey) {
1896
+ await this.ensureConnected();
1897
+ const integrationsWithMetadata = localIntegrations.map((integration) => {
1898
+ const toolMetadata = integration.tools.map((toolName) => this.availableTools.get(toolName)).filter((tool) => !!tool);
1899
+ return {
1900
+ id: integration.id,
1901
+ name: integration.name || integration.id,
1902
+ logoUrl: integration.logoUrl,
1903
+ tools: integration.tools,
1904
+ hasOAuth: !!integration.oauth,
1905
+ scopes: integration.oauth?.scopes,
1906
+ provider: integration.oauth?.provider,
1907
+ toolMetadata
1908
+ };
1909
+ });
1910
+ return { integrations: integrationsWithMetadata };
1911
+ }
1912
+ if (options?.includeToolMetadata && !hasApiKey) {
1896
1913
  const { parallelWithLimit: parallelWithLimit2 } = await Promise.resolve().then(() => exports_concurrency);
1897
1914
  const integrationsWithMetadata = await parallelWithLimit2(localIntegrations, async (integration) => {
1898
1915
  try {
@@ -1938,9 +1955,7 @@ class MCPClientBase {
1938
1955
  };
1939
1956
  }
1940
1957
  }, 3);
1941
- return {
1942
- integrations: integrationsWithMetadata
1943
- };
1958
+ return { integrations: integrationsWithMetadata };
1944
1959
  }
1945
1960
  return formatLocalIntegrations(localIntegrations);
1946
1961
  }
@@ -2063,12 +2078,18 @@ class MCPClientBase {
2063
2078
  return response;
2064
2079
  }
2065
2080
  async discoverTools() {
2066
- const response = await this.transport.sendRequest("tools/list" /* TOOLS_LIST */);
2067
- for (const tool of response.tools) {
2068
- this.availableTools.set(tool.name, tool);
2069
- }
2070
- const enabledTools = response.tools.filter((tool) => this.enabledToolNames.has(tool.name));
2071
- logger5.debug(`Discovered ${response.tools.length} tools, ${enabledTools.length} enabled by integrations`);
2081
+ let cursor;
2082
+ let totalDiscovered = 0;
2083
+ do {
2084
+ const response = await this.transport.sendRequest("tools/list" /* TOOLS_LIST */, cursor ? { cursor } : undefined);
2085
+ for (const tool of response.tools) {
2086
+ this.availableTools.set(tool.name, tool);
2087
+ }
2088
+ totalDiscovered += response.tools.length;
2089
+ cursor = response.nextCursor;
2090
+ } while (cursor);
2091
+ const enabledCount = Array.from(this.availableTools.keys()).filter((name) => this.enabledToolNames.has(name)).length;
2092
+ logger5.debug(`Discovered ${totalDiscovered} tools, ${enabledCount} enabled by integrations`);
2072
2093
  }
2073
2094
  async _callToolByName(name, args, options) {
2074
2095
  return await this.callToolWithRetry(name, args, 0, options);
@@ -1892,7 +1892,24 @@ class MCPClientBase {
1892
1892
  }))
1893
1893
  });
1894
1894
  if (hasApiKey || !this.__useServerConfig) {
1895
- if (options?.includeToolMetadata) {
1895
+ if (options?.includeToolMetadata && hasApiKey) {
1896
+ await this.ensureConnected();
1897
+ const integrationsWithMetadata = localIntegrations.map((integration) => {
1898
+ const toolMetadata = integration.tools.map((toolName) => this.availableTools.get(toolName)).filter((tool) => !!tool);
1899
+ return {
1900
+ id: integration.id,
1901
+ name: integration.name || integration.id,
1902
+ logoUrl: integration.logoUrl,
1903
+ tools: integration.tools,
1904
+ hasOAuth: !!integration.oauth,
1905
+ scopes: integration.oauth?.scopes,
1906
+ provider: integration.oauth?.provider,
1907
+ toolMetadata
1908
+ };
1909
+ });
1910
+ return { integrations: integrationsWithMetadata };
1911
+ }
1912
+ if (options?.includeToolMetadata && !hasApiKey) {
1896
1913
  const { parallelWithLimit: parallelWithLimit2 } = await Promise.resolve().then(() => exports_concurrency);
1897
1914
  const integrationsWithMetadata = await parallelWithLimit2(localIntegrations, async (integration) => {
1898
1915
  try {
@@ -1938,9 +1955,7 @@ class MCPClientBase {
1938
1955
  };
1939
1956
  }
1940
1957
  }, 3);
1941
- return {
1942
- integrations: integrationsWithMetadata
1943
- };
1958
+ return { integrations: integrationsWithMetadata };
1944
1959
  }
1945
1960
  return formatLocalIntegrations(localIntegrations);
1946
1961
  }
@@ -2063,12 +2078,18 @@ class MCPClientBase {
2063
2078
  return response;
2064
2079
  }
2065
2080
  async discoverTools() {
2066
- const response = await this.transport.sendRequest("tools/list" /* TOOLS_LIST */);
2067
- for (const tool of response.tools) {
2068
- this.availableTools.set(tool.name, tool);
2069
- }
2070
- const enabledTools = response.tools.filter((tool) => this.enabledToolNames.has(tool.name));
2071
- logger5.debug(`Discovered ${response.tools.length} tools, ${enabledTools.length} enabled by integrations`);
2081
+ let cursor;
2082
+ let totalDiscovered = 0;
2083
+ do {
2084
+ const response = await this.transport.sendRequest("tools/list" /* TOOLS_LIST */, cursor ? { cursor } : undefined);
2085
+ for (const tool of response.tools) {
2086
+ this.availableTools.set(tool.name, tool);
2087
+ }
2088
+ totalDiscovered += response.tools.length;
2089
+ cursor = response.nextCursor;
2090
+ } while (cursor);
2091
+ const enabledCount = Array.from(this.availableTools.keys()).filter((name) => this.enabledToolNames.has(name)).length;
2092
+ logger5.debug(`Discovered ${totalDiscovered} tools, ${enabledCount} enabled by integrations`);
2072
2093
  }
2073
2094
  async _callToolByName(name, args, options) {
2074
2095
  return await this.callToolWithRetry(name, args, 0, options);
@@ -1892,7 +1892,24 @@ class MCPClientBase {
1892
1892
  }))
1893
1893
  });
1894
1894
  if (hasApiKey || !this.__useServerConfig) {
1895
- if (options?.includeToolMetadata) {
1895
+ if (options?.includeToolMetadata && hasApiKey) {
1896
+ await this.ensureConnected();
1897
+ const integrationsWithMetadata = localIntegrations.map((integration) => {
1898
+ const toolMetadata = integration.tools.map((toolName) => this.availableTools.get(toolName)).filter((tool) => !!tool);
1899
+ return {
1900
+ id: integration.id,
1901
+ name: integration.name || integration.id,
1902
+ logoUrl: integration.logoUrl,
1903
+ tools: integration.tools,
1904
+ hasOAuth: !!integration.oauth,
1905
+ scopes: integration.oauth?.scopes,
1906
+ provider: integration.oauth?.provider,
1907
+ toolMetadata
1908
+ };
1909
+ });
1910
+ return { integrations: integrationsWithMetadata };
1911
+ }
1912
+ if (options?.includeToolMetadata && !hasApiKey) {
1896
1913
  const { parallelWithLimit: parallelWithLimit2 } = await Promise.resolve().then(() => exports_concurrency);
1897
1914
  const integrationsWithMetadata = await parallelWithLimit2(localIntegrations, async (integration) => {
1898
1915
  try {
@@ -1938,9 +1955,7 @@ class MCPClientBase {
1938
1955
  };
1939
1956
  }
1940
1957
  }, 3);
1941
- return {
1942
- integrations: integrationsWithMetadata
1943
- };
1958
+ return { integrations: integrationsWithMetadata };
1944
1959
  }
1945
1960
  return formatLocalIntegrations(localIntegrations);
1946
1961
  }
@@ -2063,12 +2078,18 @@ class MCPClientBase {
2063
2078
  return response;
2064
2079
  }
2065
2080
  async discoverTools() {
2066
- const response = await this.transport.sendRequest("tools/list" /* TOOLS_LIST */);
2067
- for (const tool of response.tools) {
2068
- this.availableTools.set(tool.name, tool);
2069
- }
2070
- const enabledTools = response.tools.filter((tool) => this.enabledToolNames.has(tool.name));
2071
- logger5.debug(`Discovered ${response.tools.length} tools, ${enabledTools.length} enabled by integrations`);
2081
+ let cursor;
2082
+ let totalDiscovered = 0;
2083
+ do {
2084
+ const response = await this.transport.sendRequest("tools/list" /* TOOLS_LIST */, cursor ? { cursor } : undefined);
2085
+ for (const tool of response.tools) {
2086
+ this.availableTools.set(tool.name, tool);
2087
+ }
2088
+ totalDiscovered += response.tools.length;
2089
+ cursor = response.nextCursor;
2090
+ } while (cursor);
2091
+ const enabledCount = Array.from(this.availableTools.keys()).filter((name) => this.enabledToolNames.has(name)).length;
2092
+ logger5.debug(`Discovered ${totalDiscovered} tools, ${enabledCount} enabled by integrations`);
2072
2093
  }
2073
2094
  async _callToolByName(name, args, options) {
2074
2095
  return await this.callToolWithRetry(name, args, 0, options);
@@ -1892,7 +1892,24 @@ class MCPClientBase {
1892
1892
  }))
1893
1893
  });
1894
1894
  if (hasApiKey || !this.__useServerConfig) {
1895
- if (options?.includeToolMetadata) {
1895
+ if (options?.includeToolMetadata && hasApiKey) {
1896
+ await this.ensureConnected();
1897
+ const integrationsWithMetadata = localIntegrations.map((integration) => {
1898
+ const toolMetadata = integration.tools.map((toolName) => this.availableTools.get(toolName)).filter((tool) => !!tool);
1899
+ return {
1900
+ id: integration.id,
1901
+ name: integration.name || integration.id,
1902
+ logoUrl: integration.logoUrl,
1903
+ tools: integration.tools,
1904
+ hasOAuth: !!integration.oauth,
1905
+ scopes: integration.oauth?.scopes,
1906
+ provider: integration.oauth?.provider,
1907
+ toolMetadata
1908
+ };
1909
+ });
1910
+ return { integrations: integrationsWithMetadata };
1911
+ }
1912
+ if (options?.includeToolMetadata && !hasApiKey) {
1896
1913
  const { parallelWithLimit: parallelWithLimit2 } = await Promise.resolve().then(() => exports_concurrency);
1897
1914
  const integrationsWithMetadata = await parallelWithLimit2(localIntegrations, async (integration) => {
1898
1915
  try {
@@ -1938,9 +1955,7 @@ class MCPClientBase {
1938
1955
  };
1939
1956
  }
1940
1957
  }, 3);
1941
- return {
1942
- integrations: integrationsWithMetadata
1943
- };
1958
+ return { integrations: integrationsWithMetadata };
1944
1959
  }
1945
1960
  return formatLocalIntegrations(localIntegrations);
1946
1961
  }
@@ -2063,12 +2078,18 @@ class MCPClientBase {
2063
2078
  return response;
2064
2079
  }
2065
2080
  async discoverTools() {
2066
- const response = await this.transport.sendRequest("tools/list" /* TOOLS_LIST */);
2067
- for (const tool of response.tools) {
2068
- this.availableTools.set(tool.name, tool);
2069
- }
2070
- const enabledTools = response.tools.filter((tool) => this.enabledToolNames.has(tool.name));
2071
- logger5.debug(`Discovered ${response.tools.length} tools, ${enabledTools.length} enabled by integrations`);
2081
+ let cursor;
2082
+ let totalDiscovered = 0;
2083
+ do {
2084
+ const response = await this.transport.sendRequest("tools/list" /* TOOLS_LIST */, cursor ? { cursor } : undefined);
2085
+ for (const tool of response.tools) {
2086
+ this.availableTools.set(tool.name, tool);
2087
+ }
2088
+ totalDiscovered += response.tools.length;
2089
+ cursor = response.nextCursor;
2090
+ } while (cursor);
2091
+ const enabledCount = Array.from(this.availableTools.keys()).filter((name) => this.enabledToolNames.has(name)).length;
2092
+ logger5.debug(`Discovered ${totalDiscovered} tools, ${enabledCount} enabled by integrations`);
2072
2093
  }
2073
2094
  async _callToolByName(name, args, options) {
2074
2095
  return await this.callToolWithRetry(name, args, 0, options);
package/dist/index.js CHANGED
@@ -1920,7 +1920,24 @@ class MCPClientBase {
1920
1920
  }))
1921
1921
  });
1922
1922
  if (hasApiKey || !this.__useServerConfig) {
1923
- if (options?.includeToolMetadata) {
1923
+ if (options?.includeToolMetadata && hasApiKey) {
1924
+ await this.ensureConnected();
1925
+ const integrationsWithMetadata = localIntegrations.map((integration) => {
1926
+ const toolMetadata = integration.tools.map((toolName) => this.availableTools.get(toolName)).filter((tool) => !!tool);
1927
+ return {
1928
+ id: integration.id,
1929
+ name: integration.name || integration.id,
1930
+ logoUrl: integration.logoUrl,
1931
+ tools: integration.tools,
1932
+ hasOAuth: !!integration.oauth,
1933
+ scopes: integration.oauth?.scopes,
1934
+ provider: integration.oauth?.provider,
1935
+ toolMetadata
1936
+ };
1937
+ });
1938
+ return { integrations: integrationsWithMetadata };
1939
+ }
1940
+ if (options?.includeToolMetadata && !hasApiKey) {
1924
1941
  const { parallelWithLimit: parallelWithLimit2 } = await Promise.resolve().then(() => exports_concurrency);
1925
1942
  const integrationsWithMetadata = await parallelWithLimit2(localIntegrations, async (integration) => {
1926
1943
  try {
@@ -1966,9 +1983,7 @@ class MCPClientBase {
1966
1983
  };
1967
1984
  }
1968
1985
  }, 3);
1969
- return {
1970
- integrations: integrationsWithMetadata
1971
- };
1986
+ return { integrations: integrationsWithMetadata };
1972
1987
  }
1973
1988
  return formatLocalIntegrations(localIntegrations);
1974
1989
  }
@@ -2091,12 +2106,18 @@ class MCPClientBase {
2091
2106
  return response;
2092
2107
  }
2093
2108
  async discoverTools() {
2094
- const response = await this.transport.sendRequest("tools/list" /* TOOLS_LIST */);
2095
- for (const tool of response.tools) {
2096
- this.availableTools.set(tool.name, tool);
2097
- }
2098
- const enabledTools = response.tools.filter((tool) => this.enabledToolNames.has(tool.name));
2099
- logger5.debug(`Discovered ${response.tools.length} tools, ${enabledTools.length} enabled by integrations`);
2109
+ let cursor;
2110
+ let totalDiscovered = 0;
2111
+ do {
2112
+ const response = await this.transport.sendRequest("tools/list" /* TOOLS_LIST */, cursor ? { cursor } : undefined);
2113
+ for (const tool of response.tools) {
2114
+ this.availableTools.set(tool.name, tool);
2115
+ }
2116
+ totalDiscovered += response.tools.length;
2117
+ cursor = response.nextCursor;
2118
+ } while (cursor);
2119
+ const enabledCount = Array.from(this.availableTools.keys()).filter((name) => this.enabledToolNames.has(name)).length;
2120
+ logger5.debug(`Discovered ${totalDiscovered} tools, ${enabledCount} enabled by integrations`);
2100
2121
  }
2101
2122
  async _callToolByName(name, args, options) {
2102
2123
  return await this.callToolWithRetry(name, args, 0, options);
package/dist/oauth.js CHANGED
@@ -1892,7 +1892,24 @@ class MCPClientBase {
1892
1892
  }))
1893
1893
  });
1894
1894
  if (hasApiKey || !this.__useServerConfig) {
1895
- if (options?.includeToolMetadata) {
1895
+ if (options?.includeToolMetadata && hasApiKey) {
1896
+ await this.ensureConnected();
1897
+ const integrationsWithMetadata = localIntegrations.map((integration) => {
1898
+ const toolMetadata = integration.tools.map((toolName) => this.availableTools.get(toolName)).filter((tool) => !!tool);
1899
+ return {
1900
+ id: integration.id,
1901
+ name: integration.name || integration.id,
1902
+ logoUrl: integration.logoUrl,
1903
+ tools: integration.tools,
1904
+ hasOAuth: !!integration.oauth,
1905
+ scopes: integration.oauth?.scopes,
1906
+ provider: integration.oauth?.provider,
1907
+ toolMetadata
1908
+ };
1909
+ });
1910
+ return { integrations: integrationsWithMetadata };
1911
+ }
1912
+ if (options?.includeToolMetadata && !hasApiKey) {
1896
1913
  const { parallelWithLimit: parallelWithLimit2 } = await Promise.resolve().then(() => exports_concurrency);
1897
1914
  const integrationsWithMetadata = await parallelWithLimit2(localIntegrations, async (integration) => {
1898
1915
  try {
@@ -1938,9 +1955,7 @@ class MCPClientBase {
1938
1955
  };
1939
1956
  }
1940
1957
  }, 3);
1941
- return {
1942
- integrations: integrationsWithMetadata
1943
- };
1958
+ return { integrations: integrationsWithMetadata };
1944
1959
  }
1945
1960
  return formatLocalIntegrations(localIntegrations);
1946
1961
  }
@@ -2063,12 +2078,18 @@ class MCPClientBase {
2063
2078
  return response;
2064
2079
  }
2065
2080
  async discoverTools() {
2066
- const response = await this.transport.sendRequest("tools/list" /* TOOLS_LIST */);
2067
- for (const tool of response.tools) {
2068
- this.availableTools.set(tool.name, tool);
2069
- }
2070
- const enabledTools = response.tools.filter((tool) => this.enabledToolNames.has(tool.name));
2071
- logger5.debug(`Discovered ${response.tools.length} tools, ${enabledTools.length} enabled by integrations`);
2081
+ let cursor;
2082
+ let totalDiscovered = 0;
2083
+ do {
2084
+ const response = await this.transport.sendRequest("tools/list" /* TOOLS_LIST */, cursor ? { cursor } : undefined);
2085
+ for (const tool of response.tools) {
2086
+ this.availableTools.set(tool.name, tool);
2087
+ }
2088
+ totalDiscovered += response.tools.length;
2089
+ cursor = response.nextCursor;
2090
+ } while (cursor);
2091
+ const enabledCount = Array.from(this.availableTools.keys()).filter((name) => this.enabledToolNames.has(name)).length;
2092
+ logger5.debug(`Discovered ${totalDiscovered} tools, ${enabledCount} enabled by integrations`);
2072
2093
  }
2073
2094
  async _callToolByName(name, args, options) {
2074
2095
  return await this.callToolWithRetry(name, args, 0, options);
package/dist/server.js CHANGED
@@ -1892,7 +1892,24 @@ class MCPClientBase {
1892
1892
  }))
1893
1893
  });
1894
1894
  if (hasApiKey || !this.__useServerConfig) {
1895
- if (options?.includeToolMetadata) {
1895
+ if (options?.includeToolMetadata && hasApiKey) {
1896
+ await this.ensureConnected();
1897
+ const integrationsWithMetadata = localIntegrations.map((integration) => {
1898
+ const toolMetadata = integration.tools.map((toolName) => this.availableTools.get(toolName)).filter((tool) => !!tool);
1899
+ return {
1900
+ id: integration.id,
1901
+ name: integration.name || integration.id,
1902
+ logoUrl: integration.logoUrl,
1903
+ tools: integration.tools,
1904
+ hasOAuth: !!integration.oauth,
1905
+ scopes: integration.oauth?.scopes,
1906
+ provider: integration.oauth?.provider,
1907
+ toolMetadata
1908
+ };
1909
+ });
1910
+ return { integrations: integrationsWithMetadata };
1911
+ }
1912
+ if (options?.includeToolMetadata && !hasApiKey) {
1896
1913
  const { parallelWithLimit: parallelWithLimit2 } = await Promise.resolve().then(() => exports_concurrency);
1897
1914
  const integrationsWithMetadata = await parallelWithLimit2(localIntegrations, async (integration) => {
1898
1915
  try {
@@ -1938,9 +1955,7 @@ class MCPClientBase {
1938
1955
  };
1939
1956
  }
1940
1957
  }, 3);
1941
- return {
1942
- integrations: integrationsWithMetadata
1943
- };
1958
+ return { integrations: integrationsWithMetadata };
1944
1959
  }
1945
1960
  return formatLocalIntegrations(localIntegrations);
1946
1961
  }
@@ -2063,12 +2078,18 @@ class MCPClientBase {
2063
2078
  return response;
2064
2079
  }
2065
2080
  async discoverTools() {
2066
- const response = await this.transport.sendRequest("tools/list" /* TOOLS_LIST */);
2067
- for (const tool of response.tools) {
2068
- this.availableTools.set(tool.name, tool);
2069
- }
2070
- const enabledTools = response.tools.filter((tool) => this.enabledToolNames.has(tool.name));
2071
- logger5.debug(`Discovered ${response.tools.length} tools, ${enabledTools.length} enabled by integrations`);
2081
+ let cursor;
2082
+ let totalDiscovered = 0;
2083
+ do {
2084
+ const response = await this.transport.sendRequest("tools/list" /* TOOLS_LIST */, cursor ? { cursor } : undefined);
2085
+ for (const tool of response.tools) {
2086
+ this.availableTools.set(tool.name, tool);
2087
+ }
2088
+ totalDiscovered += response.tools.length;
2089
+ cursor = response.nextCursor;
2090
+ } while (cursor);
2091
+ const enabledCount = Array.from(this.availableTools.keys()).filter((name) => this.enabledToolNames.has(name)).length;
2092
+ logger5.debug(`Discovered ${totalDiscovered} tools, ${enabledCount} enabled by integrations`);
2072
2093
  }
2073
2094
  async _callToolByName(name, args, options) {
2074
2095
  return await this.callToolWithRetry(name, args, 0, options);
@@ -1 +1 @@
1
- {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../src/client.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,OAAO,KAAK,EACV,OAAO,EAEP,mBAAmB,EAGpB,MAAM,wBAAwB,CAAC;AAEhC,OAAO,KAAK,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAC3E,OAAO,KAAK,EAAE,eAAe,EAAiB,eAAe,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACrG,OAAO,EAGL,KAAK,mBAAmB,EACzB,MAAM,aAAa,CAAC;AAQrB,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,iCAAiC,CAAC;AAC/E,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,gCAAgC,C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;;;;;;;;;;;;;;;;;GAsCG;AACH,wBAAgB,eAAe,CAAC,aAAa,SAAS,SAAS,cAAc,EAAE,EAC7E,MAAM,EAAE,eAAe,CAAC,aAAa,CAAC,GACrC,SAAS,CAAC,aAAa,CAAC,CAsE1B;AAkFD;;;;;;;;;;;GAWG;AACH,wBAAsB,gBAAgB,IAAI,OAAO,CAAC,IAAI,CAAC,CAetD"}
@@ -73,6 +73,7 @@ export interface MCPTool {
73
73
  */
74
74
  export interface MCPToolsListResponse {
75
75
  tools: MCPTool[];
76
+ nextCursor?: string;
76
77
  }
77
78
  /**
78
79
  * MCP Tool Call Request Parameters
@@ -1 +1 @@
1
- {"version":3,"file":"messages.d.ts","sourceRoot":"","sources":["../../../src/protocol/messages.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;GAEG;AACH,MAAM,WAAW,cAAc;IAC7B,OAAO,EAAE,KAAK,CAAC;IACf,EAAE,EAAE,MAAM,GAAG,MAAM,CAAC;IACpB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,OAAO,EAAE,CAAC;CAC9C;AAED;;GAEG;AACH,MAAM,WAAW,sBAAsB,CAAC,CAAC,GAAG,OAAO;IACjD,OAAO,EAAE,KAAK,CAAC;IACf,EAAE,EAAE,MAAM,GAAG,MAAM,CAAC;IACpB,MAAM,EAAE,CAAC,CAAC;CACX;AAED;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC,OAAO,EAAE,KAAK,CAAC;IACf,EAAE,EAAE,MAAM,GAAG,MAAM,CAAC;IACpB,KAAK,EAAE;QACL,IAAI,EAAE,MAAM,CAAC;QACb,OAAO,EAAE,MAAM,CAAC;QAChB,IAAI,CAAC,EAAE,OAAO,CAAC;KAChB,CAAC;CACH;AAED;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAClC,OAAO,EAAE,KAAK,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,MA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Ae;IACzB,UAAU,eAAe;IACzB,UAAU,eAAe;IACzB,cAAc,mBAAmB;IACjC,cAAc,mBAAmB;IACjC,YAAY,iBAAiB;IAC7B,WAAW,gBAAgB;CAC5B;AAED;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAClC,eAAe,EAAE,MAAM,CAAC;IACxB,YAAY,EAAE;QACZ,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;QAChC,SAAS,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;QACpC,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;QAClC,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;KACxB,CAAC;IACF,UAAU,EAAE;QACV,IAAI,EAAE,MAAM,CAAC;QACb,OAAO,EAAE,MAAM,CAAC;KACjB,CAAC;CACH;AAED;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACpC,eAAe,EAAE,MAAM,CAAC;IACxB,YAAY,EAAE;QACZ,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;QAChC,SAAS,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;QACpC,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;QAClC,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;KACxB,CAAC;IACF,UAAU,EAAE;QACV,IAAI,EAAE,MAAM,CAAC;QACb,OAAO,EAAE,MAAM,CAAC;KACjB,CAAC;CACH"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "integrate-sdk",
3
- "version": "0.8.64-dev.0",
3
+ "version": "0.8.66-dev.0",
4
4
  "description": "Type-safe 3rd party integration SDK for the Integrate MCP server",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",