{
  "capability": "sampling.context",
  "slug": "sampling-context",
  "page": "https://canimcp.io/capabilities/sampling-context",
  "lifecycle": {
    "kind": "client-feature",
    "introducedIn": "2024-11-05",
    "deprecatedIn": "2025-11-25",
    "earliestRemoval": "Follows Sampling (SEP-2577)",
    "sep": "SEP-2596",
    "notes": "includeContext parameter (none | thisServer | allServers).",
    "migration": "Omit the field or use \"none\".",
    "changes": {
      "2025-11-25": "thisServer/allServers soft-deprecated",
      "2026-07-28": "thisServer/allServers reclassified Deprecated under the feature lifecycle policy; deprecation still dates from 2025-11-25 (SEP-2596)"
    }
  },
  "parent": "sampling",
  "children": [],
  "clients": [
    {
      "id": "fast-agent",
      "title": "fast-agent",
      "kind": "framework",
      "page": "https://canimcp.io/clients/fast-agent",
      "status": "unsupported",
      "notes": "includeContext is not read anywhere; the sampling converter ignores it.",
      "evidence": [
        {
          "tier": "read",
          "at": "2026-07-28",
          "source": "evalstate/fast-agent",
          "date": "2026-11-27",
          "commit": "16f8bb65",
          "path": "src/fast_agent/llm/sampling_converter.py"
        }
      ],
      "research": [],
      "tiers": [
        "read"
      ],
      "disagreements": []
    },
    {
      "id": "mastra",
      "title": "Mastra",
      "kind": "framework",
      "page": "https://canimcp.io/clients/mastra",
      "status": "unsupported",
      "notes": "Sampling is not implemented.",
      "evidence": [
        {
          "tier": "read",
          "at": "2026-07-28",
          "source": "mastra-ai/mastra",
          "date": "2026-11-27",
          "commit": "0a31d4d0",
          "path": "packages/mcp/src/client/types.ts:MCPClientCapabilities"
        }
      ],
      "research": [],
      "tiers": [
        "read"
      ],
      "disagreements": []
    },
    {
      "id": "eve",
      "title": "eve",
      "kind": "framework",
      "page": "https://canimcp.io/clients/eve",
      "status": "unsupported",
      "notes": "Sampling is not implemented.",
      "evidence": [
        {
          "tier": "read",
          "at": "2026-07-28",
          "source": "@ai-sdk/mcp",
          "url": "https://www.npmjs.com/package/@ai-sdk/mcp/v/2.0.99",
          "date": "2026-11-16",
          "path": "dist/index.js",
          "note": "@ai-sdk/mcp 2.0.99, the npm artifact before eve applies its build patches. onRequestMessage answers ping, handles elicitation/create when a handler is registered, and returns -32601 for every other server request."
        }
      ],
      "research": [],
      "tiers": [
        "read"
      ],
      "disagreements": []
    },
    {
      "id": "crewai",
      "title": "crewAI",
      "kind": "framework",
      "page": "https://canimcp.io/clients/crewai",
      "status": "unsupported",
      "notes": "Follows from sampling.",
      "evidence": [],
      "research": [],
      "inheritsFrom": "sampling",
      "tiers": [
        "read"
      ],
      "disagreements": []
    },
    {
      "id": "deepagents",
      "title": "deepagents",
      "kind": "framework",
      "page": "https://canimcp.io/clients/deepagents",
      "status": "unsupported",
      "notes": "No sampling handler reads includeContext.",
      "evidence": [
        {
          "tier": "read",
          "at": "2025-11-25",
          "source": "langchain-ai/deepagents",
          "date": "2026-11-27",
          "commit": "c84eb7f1",
          "path": "libs/code/deepagents_code/mcp_tools.py:_mount_backends",
          "note": "Each connected client is wrapped with create_proxy and mounted on a FastMCP router. The tools call through FastMCPClient(router), built with no handlers."
        }
      ],
      "research": [],
      "tiers": [
        "read"
      ],
      "disagreements": []
    },
    {
      "id": "agent-framework",
      "title": "Microsoft Agent Framework",
      "kind": "framework",
      "page": "https://canimcp.io/clients/agent-framework",
      "status": "unsupported",
      "notes": "sampling_callback does not read includeContext or modelPreferences.",
      "evidence": [
        {
          "tier": "read",
          "at": "2026-07-28",
          "source": "microsoft/agent-framework",
          "date": "2026-11-27",
          "commit": "f8ade3e9",
          "path": "python/packages/core/agent_framework/_mcp.py:MCPTool.sampling_callback"
        }
      ],
      "research": [],
      "tiers": [
        "read"
      ],
      "disagreements": []
    },
    {
      "id": "vscode",
      "title": "Visual Studio Code",
      "kind": "host",
      "page": "https://canimcp.io/clients/vscode",
      "status": "unsupported",
      "notes": "includeContext is not read.",
      "evidence": [],
      "research": [],
      "inheritsFrom": "sampling",
      "tiers": [
        "read",
        "declared"
      ],
      "disagreements": []
    },
    {
      "id": "langflow",
      "title": "Langflow",
      "kind": "host",
      "page": "https://canimcp.io/clients/langflow",
      "status": "unsupported",
      "notes": "Follows from sampling.",
      "evidence": [],
      "research": [],
      "inheritsFrom": "sampling",
      "tiers": [
        "read"
      ],
      "disagreements": []
    },
    {
      "id": "ts-sdk-client",
      "title": "TypeScript SDK Client",
      "kind": "sdk",
      "page": "https://canimcp.io/clients/ts-sdk-client",
      "status": "opt-in",
      "notes": "includeContext reaches the application handler unchanged. Honouring it is the handler's job.",
      "evidence": [],
      "research": [],
      "inheritsFrom": "sampling",
      "tiers": [
        "read"
      ],
      "disagreements": []
    }
  ],
  "notRecorded": [
    "goose",
    "openai-codex",
    "opencode",
    "cline",
    "openclaw",
    "hermes-agent",
    "kilocode",
    "fx",
    "libfx",
    "pi",
    "strands",
    "adk-python",
    "antigravity",
    "claude-code",
    "claude-ai",
    "chatgpt",
    "codex-desktop",
    "huggingface-chat-ui",
    "cursor",
    "n8n",
    "mcp-use",
    "zed",
    "warp",
    "reachy-mini-conversation-app"
  ],
  "research": [
    "adk-python-declares-no-client-capabilities-by-default",
    "agent-framework-declares-sampling-it-declines-by-default",
    "agent-framework-python-and-dotnet-are-two-mcp-clients",
    "cline-declares-no-client-capabilities",
    "deepagents-code-declares-capabilities-it-cannot-serve",
    "fast-agent-declares-capabilities-per-server",
    "hermes-runs-one-mcp-client-for-every-surface",
    "huggingface-chat-ui-parks-modern-elicitations-in-its-database",
    "langflow-speaks-mcp-through-its-own-sdk-wrapper",
    "mastra-declares-only-mcp-apps-and-dropped-roots-and-sampling",
    "openclaw-declares-nothing-unless-mcp-apps-is-on",
    "opencode-declares-only-roots",
    "warp-declares-no-client-capabilities",
    "zed-hand-writes-its-mcp-client-and-answers-no-server-requests"
  ],
  "byRevision": {}
}
