@modelcontextprotocol/inspector 2.10.1 → 2.11.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.
@@ -5,6 +5,7 @@ import {
5
5
  CliExitCodeError,
6
6
  DAEMON_DIR_ENV,
7
7
  DAEMON_TOKEN_ENV,
8
+ DEFAULT_CONNECT_TIMEOUT_MS,
8
9
  DEFAULT_MAX_FETCH_REQUESTS,
9
10
  DEFAULT_TASK_TTL_MS,
10
11
  EXIT_CODES,
@@ -61,9 +62,10 @@ import {
61
62
  setSecretStorageWarningsQuiet,
62
63
  styleFromOpts,
63
64
  warnAboutSecretStorage,
65
+ withConnectTimeout,
64
66
  withDefaultCatalogPath,
65
67
  writePendingAuthMarker
66
- } from "./chunk-2E5EZYNU.js";
68
+ } from "./chunk-O6RN6WMD.js";
67
69
 
68
70
  // src/mcp-bin.ts
69
71
  import { realpathSync } from "fs";
@@ -684,25 +686,6 @@ function isSensitiveHeader(key) {
684
686
  return k.includes("auth") || k.includes("cookie") || k.includes("secret") || k.includes("token") || k.includes("password") || k.includes("api-key") || k.includes("apikey");
685
687
  }
686
688
 
687
- // ../../core/cli/handlers/connect-timeout.ts
688
- var DEFAULT_CONNECT_TIMEOUT_MS = 15e3;
689
- function withConnectTimeout(settings, connectionTimeout) {
690
- if (connectionTimeout === void 0) return settings;
691
- if (settings) return { ...settings, connectionTimeout };
692
- return {
693
- headers: [],
694
- metadata: {},
695
- env: [],
696
- connectionTimeout,
697
- requestTimeout: 0,
698
- taskTtl: DEFAULT_TASK_TTL_MS,
699
- maxFetchRequests: DEFAULT_MAX_FETCH_REQUESTS,
700
- autoRefreshOnListChanged: false,
701
- paginatedLists: false,
702
- roots: []
703
- };
704
- }
705
-
706
689
  // ../../core/cli/handlers/method-types.ts
707
690
  var CONNECTION_RPC_METHODS = [
708
691
  "tools/list",
@@ -3676,7 +3659,10 @@ function registerRpcCommands(program) {
3676
3659
  "Tool-specific metadata",
3677
3660
  parseKeyValue,
3678
3661
  {}
3679
- ).option("--task", "Task-augmented tool call (callToolStream)").option("--app-info", "Probe MCP App metadata only");
3662
+ ).option(
3663
+ "--task",
3664
+ "Request a task-augmented tool call (legacy servers; on modern the server decides)"
3665
+ ).option("--app-info", "Probe MCP App metadata only");
3680
3666
  cmd.action(
3681
3667
  async (toolNamePos, toolArgsPos, o) => {
3682
3668
  const { toolName, toolArg } = resolveToolCallArgs({
@@ -6,7 +6,7 @@ import {
6
6
  ensureDaemonDir,
7
7
  generateDaemonToken,
8
8
  getDaemonTokenFromEnv
9
- } from "./chunk-2E5EZYNU.js";
9
+ } from "./chunk-O6RN6WMD.js";
10
10
 
11
11
  // src/daemon/run.ts
12
12
  process.title = "mcpdod";