Follow Discord
Sweep 22 Oct 2026 · 21:04Z Build v2.1.309 528 read Stable v2.1.308 Latest v2.1.309 Next v2.1.309 Feeds RSS JSON llms.txt llms-full.txt Unofficial
HomeDocsSearch
Search the documentation

757 pages for task.

Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.

Architecture overview Model Context Protocol · in the page docs/2025-11-25/learn/architecture …tting utility primitives that augment how requests are executed: * **Tasks (Experimental)**: Durable execution wrappers that enable deferred result retrieval and status tracking for MCP requests (e.g… Understanding MCP clients Model Context Protocol · in the page docs/2025-11-25/learn/client-concepts …rol. #### Overview Sampling enables servers to perform AI-dependent tasks without directly integrating with or paying for AI models. Instead, servers can request that the client—which already has AI… Understanding MCP servers Model Context Protocol · in the page docs/2025-11-25/learn/server-concepts …treamlined Workflows Prompts provide structured templates for common tasks. In the travel planning context: **"Plan a vacation" prompt:** ```json theme={null} { "name": "plan-vacation", "title"… Understanding Authorization in MCP Model Context Protocol · in the page docs/2025-11-25/tutorials/security/authorization …iteLine($"Token validated for: {name} ({email})"); return Task.CompletedTask; }, OnAuthenticationFailed = context => { Console.WriteLine($"Authenticatio… Build an MCP server Model Context Protocol · in the page docs/2026-07-28/develop/build-server …prompts)**: Pre-written templates that help users accomplish specific tasks This tutorial will primarily focus on tools. **Python** Let's get started with building our weather server! [You can find… Build with Agent Skills Model Context Protocol · in the page docs/2026-07-28/develop/build-with-agent-skills …nstruction sets that give AI coding assistants domain knowledge for a task. For MCP development, they encode the design decisions (deployment model, tool patterns, auth) so your agent can interrogate… Client Best Practices Model Context Protocol · in the page docs/2026-07-28/develop/clients/client-best-practices …le progressive discovery uses \~2,000 tokens by loading only what the task requires.](https://mintcdn.com/mcp/JXfd5cBmEUh_qPUI/images/progressive-discovery.svg?fit=max\&auto=format\&n=JXfd5cBmEUh_qPUI… Connect to remote MCP Servers Model Context Protocol · in the page docs/2026-07-28/develop/connect-remote-servers …y expose tools, prompts, and resources that Claude can use to perform tasks on your behalf. These servers can integrate with various services such as project management tools, documentation systems, c… What is the Model Context Protocol (MCP)? Model Context Protocol · in the page docs/2026-07-28/getting-started/intro …cialized prompts)—enabling them to access key information and perform tasks. Think of MCP like a USB-C port for AI applications. Just as USB-C provides a standardized way to connect electronic device… Architecture overview Model Context Protocol · in the page docs/2026-07-28/learn/architecture …sions/overview.md) that build on the core protocol. For example, the [Tasks extension](/extensions/tasks/overview.md) lets servers return a durable handle for long-running requests, so clients can pol… Understanding MCP clients Model Context Protocol · in the page docs/2026-07-28/learn/client-concepts …rol. #### Overview Sampling enables servers to perform AI-dependent tasks without directly integrating with or paying for AI models. Instead, servers can request that the client—which already has AI… Understanding MCP servers Model Context Protocol · in the page docs/2026-07-28/learn/server-concepts …treamlined Workflows Prompts provide structured templates for common tasks. In the travel planning context: **"Plan a vacation" prompt:** ```json theme={null} { "name": "plan-vacation", "title"… CLI client Model Context Protocol · in the page docs/2026-07-28/tools/inspector/cli …commands against the same server, or a flow that spans one > session (tasks, subscriptions, elicitation)? The [mcpdo connection > client](/docs/2026-07-28/tools/inspector/mcpdo.md) connects once and k… mcpdo connection client Model Context Protocol · in the page docs/2026-07-28/tools/inspector/mcpdo …xploring a server, agent tool use, multi-step flows over one session (tasks, subscriptions, elicitation) | Connections are held by a local background daemon, `mcpdod`, which `mcpdo` starts on demand… Protocol eras Model Context Protocol · in the page docs/2026-07-28/tools/inspector/protocol-eras …eam-status badge that a legacy subscription has no need for. *** ## Tasks Tasks change the most between protocol eras, including *how the Inspector UI tab is gated*. **Legacy** The **Tasks** tab… Recipes Model Context Protocol · in the page docs/2026-07-28/tools/inspector/recipes …sh theme={null} mcpdo connect my-server mcpdo @my-server tools/call --task start_job size:=large # task-augmented; blocks until the task finishes mcpdo @my-server tools/call get_job_report mcpdo @my… TUI client Model Context Protocol · in the page docs/2026-07-28/tools/inspector/tui …ls** | `t` | View tools and execute them with form-like inputs. | | **Tasks** | `s` | List tasks, fetch their results, cancel them, and clear finished ones (servers that support Tasks). | | **Protocol… Web client Model Context Protocol · in the page docs/2026-07-28/tools/inspector/web …EP-2640), in either era | Browse and fetch the server's skills. | | **Tasks** | `capabilities.tasks` (legacy era) or the tasks extension (modern era) | Track long-running tool calls. | | **Logs** | `l… Understanding Authorization in MCP Model Context Protocol · in the page docs/2026-07-28/tutorials/security/authorization …iteLine($"Token validated for: {name} ({email})"); return Task.CompletedTask; }, OnAuthenticationFailed = context => { Console.WriteLine($"Authenticatio… Build an MCP server Model Context Protocol · in the page docs/draft/develop/build-server …prompts)**: Pre-written templates that help users accomplish specific tasks This tutorial will primarily focus on tools. **Python** Let's get started with building our weather server! [You can find… Build with Agent Skills Model Context Protocol · in the page docs/draft/develop/build-with-agent-skills …nstruction sets that give AI coding assistants domain knowledge for a task. For MCP development, they encode the design decisions (deployment model, tool patterns, auth) so your agent can interrogate… Client Best Practices Model Context Protocol · in the page docs/draft/develop/clients/client-best-practices …le progressive discovery uses \~2,000 tokens by loading only what the task requires.](https://mintcdn.com/mcp/JXfd5cBmEUh_qPUI/images/progressive-discovery.svg?fit=max\&auto=format\&n=JXfd5cBmEUh_qPUI… Connect to remote MCP Servers Model Context Protocol · in the page docs/draft/develop/connect-remote-servers …y expose tools, prompts, and resources that Claude can use to perform tasks on your behalf. These servers can integrate with various services such as project management tools, documentation systems, c… What is the Model Context Protocol (MCP)? Model Context Protocol · in the page docs/draft/getting-started/intro …cialized prompts)—enabling them to access key information and perform tasks. Think of MCP like a USB-C port for AI applications. Just as USB-C provides a standardized way to connect electronic device… Architecture overview Model Context Protocol · in the page docs/draft/learn/architecture …sions/overview.md) that build on the core protocol. For example, the [Tasks extension](/extensions/tasks/overview.md) lets servers return a durable handle for long-running requests, so clients can pol… Understanding MCP clients Model Context Protocol · in the page docs/draft/learn/client-concepts …rol. #### Overview Sampling enables servers to perform AI-dependent tasks without directly integrating with or paying for AI models. Instead, servers can request that the client—which already has AI… Understanding MCP servers Model Context Protocol · in the page docs/draft/learn/server-concepts …treamlined Workflows Prompts provide structured templates for common tasks. In the travel planning context: **"Plan a vacation" prompt:** ```json theme={null} { "name": "plan-vacation", "title"… CLI client Model Context Protocol · in the page docs/draft/tools/inspector/cli …commands against the same server, or a flow that spans one > session (tasks, subscriptions, elicitation)? The [mcpdo connection > client](/docs/draft/tools/inspector/mcpdo.md) connects once and keeps… mcpdo connection client Model Context Protocol · in the page docs/draft/tools/inspector/mcpdo …xploring a server, agent tool use, multi-step flows over one session (tasks, subscriptions, elicitation) | Connections are held by a local background daemon, `mcpdod`, which `mcpdo` starts on demand… Protocol eras Model Context Protocol · in the page docs/draft/tools/inspector/protocol-eras …eam-status badge that a legacy subscription has no need for. *** ## Tasks Tasks change the most between protocol eras, including *how the Inspector UI tab is gated*. **Legacy** The **Tasks** tab… Recipes Model Context Protocol · in the page docs/draft/tools/inspector/recipes …sh theme={null} mcpdo connect my-server mcpdo @my-server tools/call --task start_job size:=large # task-augmented; blocks until the task finishes mcpdo @my-server tools/call get_job_report mcpdo @my… TUI client Model Context Protocol · in the page docs/draft/tools/inspector/tui …ls** | `t` | View tools and execute them with form-like inputs. | | **Tasks** | `s` | List tasks, fetch their results, cancel them, and clear finished ones (servers that support Tasks). | | **Protocol… Web client Model Context Protocol · in the page docs/draft/tools/inspector/web …EP-2640), in either era | Browse and fetch the server's skills. | | **Tasks** | `capabilities.tasks` (legacy era) or the tasks extension (modern era) | Track long-running tool calls. | | **Logs** | `l… Understanding Authorization in MCP Model Context Protocol · in the page docs/draft/tutorials/security/authorization …iteLine($"Token validated for: {name} ({email})"); return Task.CompletedTask; }, OnAuthenticationFailed = context => { Console.WriteLine($"Authenticatio… Build an MCP App Model Context Protocol · in the page extensions/apps/build …ent loads when relevant. They teach the AI how to perform specialized tasks like creating MCP Apps. The `create-mcp-app` skill includes architecture guidance, best practices, and working examples tha… Extensions Overview Model Context Protocol · in the page extensions/overview …ions.modelcontextprotocol.io/api/documents/Quickstart.html). ### MCP Tasks | Extension | Description | | - | - | | [MCP Tasks](/extensions/tasks/overview.md) | Asynchronous task execution for long-r… SEP-1303: Input Validation Errors as Tool Execution Errors Model Context Protocol · in the page seps/1303-input-validation-errors-as-tool-execution-errors …ntext window, allowing them to self-correct and successfully complete tasks without human intervention, significantly improving task completion rate. ## Motivation Language models can learn from too… SEP-2260: Require Server requests to be associated with a Client request. Model Context Protocol · in the page seps/2260-Require-Server-requests-to-be-associated-with-Client-requests …me={null} # ❌ PROHIBITED: Standalone server push async def background_task(): while True: await asyncio.sleep(60) # Try to initiate sampling without any client request context… SEP-2322: Multi Round-Trip Requests Model Context Protocol · in the page seps/2322-MRTR …hemeral tools and persistent tools, the latter of which will leverage Tasks. However, both workflows will use the same data structures. ### Schema Changes First, we introduce the notion of `InputReq… SEP-2549: TTL for List Results Model Context Protocol · in the page seps/2549-TTL-for-list-results …nds over seconds as we want one unit for ttl across the MCP protocol. Tasks has uses cases for sub-second TTLs, and using milliseconds allows for a consistent representation across all TTLs in MCP. M… SEP-2575: Make MCP Stateless Model Context Protocol · in the page seps/2575-stateless-mcp …res. Workloads that need durability or resumability **MUST** use the tasks primitive instead, which provides explicit mechanisms for fetching results after a connection drop. #### Missing Required C… SEP-2577: Deprecate Roots, Sampling, and Logging Model Context Protocol · in the page seps/2577-deprecate-roots-sampling-and-logging …ged`) * **Sampling** (`sampling/createMessage`, `ClientCapabilities.tasks.requests.sampling`) * **Logging** (`logging/setLevel`, `notifications/message`) These features are deprecated starting in t… SEP-994: Shared Communication Practices/Guidelines Model Context Protocol · in the page seps/994-shared-communication-practicesguidelines …uctured, longer-form discussions 3. **GitHub Issues**: For actionable tasks, bug reports, and feature requests Security-sensitive issues follow a separate process defined in SECURITY.md. ### Discord… Specification Enhancement Proposals (SEPs) Model Context Protocol · in the page seps/index …atus | Type | Created | | - | - | - | - | - | | [SEP-2663](/seps/2663-tasks-extension.md) | Tasks Extension | Final | Extensions Track | 2026-04-27 | | [SEP-2640](/seps/2640-skills-extension.md) | Ski… Lifecycle Model Context Protocol · in the page specification/2025-11-25/basic/lifecycle …elicitation": { "form": {}, "url": {} }, "tasks": { "requests": { "elicitation": { "create": {} }, "sampling": {… Cancellation Model Context Protocol · in the page specification/2025-11-25/basic/utilities/cancellation …The `initialize` request **MUST NOT** be cancelled by clients 3. For [task-augmented requests](/specification/2025-11-25/basic/utilities/tasks.md), the `tasks/cancel` request **MUST** be used instead… Progress Model Context Protocol · in the page specification/2025-11-25/basic/utilities/progress …y they deem appropriate * Omit the total value if unknown 3. For [task-augmented requests](/specification/2025-11-25/basic/utilities/tasks.md), the `progressToken` provided in the original request… Key Changes Model Context Protocol · in the page specification/2025-11-25/changelog …col/modelcontextprotocol/pull/1296)) 9. Add experimental support for [tasks](/specification/2025-11-25/basic/utilities/tasks.md) to enable tracking durable requests with polling and deferred result re… Schema Reference Model Context Protocol · in the page specification/2025-11-25/schema …n><br /> <a class="tsd-kind-property" href="#elicitrequestformparams-task">task</a><span class="tsd-signature-symbol">?:</span> <a href="#taskmetadata" class="tsd-signature-type tsd-kind-interface">T… Tools Model Context Protocol · in the page specification/2025-11-25/server/tools …": ["48x48"] } ], "execution": { "taskSupport": "optional" } } ], "nextCursor": "next-page-cursor" } } ``` ### Calling Tools To invoke a t…
Feedback