{
  "capability": "bonusFeatures.pooledSessions",
  "slug": "bonusFeatures-pooledSessions",
  "page": "https://canimcp.io/capabilities/bonusFeatures-pooledSessions",
  "lifecycle": null,
  "parent": null,
  "children": [],
  "clients": [
    {
      "id": "huggingface-chat-ui",
      "title": "Hugging Face Chat UI",
      "kind": "host",
      "page": "https://canimcp.io/clients/huggingface-chat-ui",
      "status": "partial",
      "notes": "Tool calls share pooled clients keyed by URL, OAuth connection, headers, conversation isolation and client name. A client idle more than 30 seconds is pinged before reuse, and one idle 10 minutes is closed. On a 2026-07-28 connection the SDK refuses ping locally, because that revision removed it, so the ping fails and the client is replaced with a new connection and a new server/discover. Reuse holds only within 30 seconds of the last use. A call that fails with a closed connection is retried up to twice on a fresh client.",
      "evidence": [
        {
          "tier": "read",
          "at": "2026-07-28",
          "source": "huggingface/chat-ui",
          "date": "2026-11-27",
          "commit": "7fc0f672",
          "path": "src/lib/server/mcp/clientPool.ts:getClient,keyOf,ensureSweeper"
        },
        {
          "tier": "read",
          "at": "2026-07-28",
          "source": "huggingface/chat-ui",
          "date": "2026-11-27",
          "commit": "7fc0f672",
          "path": "src/lib/server/mcp/httpClient.ts:callMcpTool,isConnectionClosedError"
        },
        {
          "tier": "read",
          "at": "2026-07-28",
          "source": "modelcontextprotocol/typescript-sdk",
          "url": "https://www.npmjs.com/package/@modelcontextprotocol/client/v/2.0.0",
          "date": "2026-11-27",
          "path": "dist/src-D_zzAWoS.mjs:Protocol._assertOutboundRequestInEra",
          "note": "@modelcontextprotocol/client 2.0.0. The 2026-07-28 request registry has no ping, and request() throws MethodNotSupportedByProtocolVersion before sending."
        }
      ],
      "research": [
        "huggingface-chat-ui-cannot-ping-a-modern-pooled-connection"
      ],
      "tiers": [
        "read"
      ],
      "disagreements": []
    },
    {
      "id": "langflow",
      "title": "Langflow",
      "kind": "host",
      "page": "https://canimcp.io/clients/langflow",
      "status": "full",
      "notes": "One MCPSessionManager in the component cache keeps up to 10 live sessions per server, keyed by command, args and env for stdio and by URL and headers for HTTP. Runs and chat sessions that reach the same server reuse a live session. Idle sessions are reaped after 400 s. A tool call that fails with a closed connection discards that session and retries once on a new one.",
      "evidence": [
        {
          "tier": "read",
          "at": "2025-11-25",
          "source": "langflow-ai/langflow",
          "date": "2026-11-27",
          "commit": "2b6faa1c",
          "path": "src/lfx/src/lfx/base/mcp/util.py:MCPSessionManager,MCPSessionManager._get_server_key,MCPSessionManager.get_session"
        },
        {
          "tier": "read",
          "at": "2025-11-25",
          "source": "langflow-ai/langflow",
          "date": "2026-11-27",
          "commit": "2b6faa1c",
          "path": "src/lfx/src/lfx/base/mcp/util.py:MCPStreamableHttpClient._run_tool"
        },
        {
          "tier": "read",
          "at": "2025-11-25",
          "source": "langflow-ai/langflow",
          "date": "2026-11-27",
          "commit": "2b6faa1c",
          "path": "src/lfx/src/lfx/services/settings/groups/mcp.py:McpSettings"
        }
      ],
      "research": [],
      "tiers": [
        "read"
      ],
      "disagreements": []
    }
  ],
  "notRecorded": [
    "goose",
    "openai-codex",
    "opencode",
    "cline",
    "fast-agent",
    "openclaw",
    "hermes-agent",
    "kilocode",
    "mastra",
    "fx",
    "libfx",
    "eve",
    "pi",
    "strands",
    "crewai",
    "deepagents",
    "adk-python",
    "agent-framework",
    "antigravity",
    "claude-code",
    "claude-ai",
    "chatgpt",
    "codex-desktop",
    "cursor",
    "vscode",
    "n8n",
    "mcp-use",
    "zed",
    "ts-sdk-client",
    "warp",
    "reachy-mini-conversation-app"
  ],
  "research": [],
  "byRevision": {
    "2025-11-25": [
      {
        "id": "huggingface-chat-ui",
        "title": "Hugging Face Chat UI",
        "kind": "host",
        "page": "https://canimcp.io/clients/huggingface-chat-ui",
        "status": "full",
        "notes": "The 30-second idle ping succeeds on a handshake-era connection, so a pooled client is reused until it has been idle for 10 minutes.",
        "evidence": [
          {
            "tier": "read",
            "at": "2025-11-25",
            "source": "huggingface/chat-ui",
            "date": "2026-11-27",
            "commit": "7fc0f672",
            "path": "src/lib/server/mcp/clientPool.ts:getClient,ensureSweeper"
          }
        ],
        "research": [],
        "revisionRecord": "2025-11-25",
        "tiers": [
          "read"
        ],
        "disagreements": []
      }
    ]
  }
}
