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

1,265 pages for -p.

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

Transports Model Context Protocol · in the page specification/2025-06-18/basic/transports …ol Version Header If using HTTP, the client **MUST** include the `MCP-Protocol-Version: <protocol-version>` HTTP header on all subsequent requests to the MCP server, allowing the MCP server to respon… Cancellation Model Context Protocol · in the page specification/2025-06-18/basic/utilities/cancellation …The Model Context Protocol (MCP) supports optional cancellation of in-progress requests through notification messages. Either side can send a cancellation notification to indicate that a previously-i… Progress Model Context Protocol · in the page specification/2025-06-18/basic/utilities/progress …* Were provided in an active request * Are associated with an in-progress operation 2. Receivers of progress requests **MAY**: * Choose not to send any progress notifications * Send notif… Key Changes Model Context Protocol · in the page specification/2025-06-18/changelog …on/2025-06-18/basic/transports.md#protocol-version-header) via `MCP-Protocol-Version` header in subsequent requests when using HTTP (PR [#548](https://github.com/modelcontextprotocol/modelcontextpr… Sampling Model Context Protocol · in the page specification/2025-06-18/client/sampling …ude models but has Gemini, it might map the sonnet hint to `gemini-1.5-pro` based on similar capabilities. ## Error Handling Clients **SHOULD** return errors for common failure cases: Example error… Specification Model Context Protocol · in the page specification/2025-06-18/index …ons and external data sources and tools. Whether you're building an AI-powered IDE, enhancing a chat interface, or creating custom AI workflows, MCP provides a standardized way to connect LLMs with th… Schema Reference Model Context Protocol · in the page specification/2025-06-18/schema …<span class="tsd-signature-symbol">\{</span><br /> <a class="tsd-kind-property" href="#jsonrpcerror-jsonrpc">jsonrpc</a><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"2… Prompts Model Context Protocol · in the page specification/2025-06-18/server/prompts …ed": true } ] } ], "nextCursor": "next-page-cursor" } } ``` ### Getting a Prompt To retrieve a specific prompt, clients send a `prompts/get` request. Arguments may… Resources Model Context Protocol · in the page specification/2025-06-18/server/resources …tcdn.com/mcp/4ZXF1PrDkEaJvXpn/specification/2025-06-18/server/resource-picker.png?fit=max\&auto=format\&n=4ZXF1PrDkEaJvXpn\&q=85\&s=133fa885ef6e9c2e20049da5c33f4386) However, implementations are free… Tools Model Context Protocol · in the page specification/2025-06-18/server/tools …quired": ["location"] } } ], "nextCursor": "next-page-cursor" } } ``` ### Calling Tools To invoke a tool, clients send a `tools/call` request: **Request:** ```json theme={n… Pagination Model Context Protocol · in the page specification/2025-06-18/server/utilities/pagination …`nextCursor` as the end of results * Support both paginated and non-paginated flows 3. Clients **MUST** treat cursors as opaque tokens: * Don't make assumptions about cursor format * Don't a… Authorization Model Context Protocol · in the page specification/2025-11-25/basic/authorization …lic/mcp` could host metadata at `https://example.com/.well-known/oauth-protected-resource/public/mcp` * At the root: `https://example.com/.well-known/oauth-protected-resource` MCP clients **MUST**… Overview Model Context Protocol · in the page specification/2025-11-25/basic/index …s minimizes the risk of exposing data or tracking information to third-parties. * Exercise caution when fetching and rendering icons as the payload **MAY** contain executable content (e.g., SVG with [… Lifecycle Model Context Protocol · in the page specification/2025-11-25/basic/lifecycle …ct. > [!NOTE] > > If using HTTP, the client **MUST** include the `MCP-Protocol-Version: <protocol-version>` HTTP header on all subsequent requests to the MCP > server. > For details, see [the Protoco… Transports Model Context Protocol · in the page specification/2025-11-25/basic/transports …ol Version Header If using HTTP, the client **MUST** include the `MCP-Protocol-Version: <protocol-version>` HTTP header on all subsequent requests to the MCP server, allowing the MCP server to respon… Cancellation Model Context Protocol · in the page specification/2025-11-25/basic/utilities/cancellation …The Model Context Protocol (MCP) supports optional cancellation of in-progress requests through notification messages. Either side can send a cancellation notification to indicate that a previously-i… Progress Model Context Protocol · in the page specification/2025-11-25/basic/utilities/progress …* Were provided in an active request * Are associated with an in-progress operation 2. Receivers of progress requests **MAY**: * Choose not to send any progress notifications * Send notif… Tasks Model Context Protocol · in the page specification/2025-11-25/basic/utilities/tasks …col Messages ### Creating Tasks Task-augmented requests follow a two-phase response pattern that differs from normal requests: * **Normal requests**: The server processes the request and returns th… Elicitation Model Context Protocol · in the page specification/2025-11-25/client/elicitation …ide sensible starting points. Clients that support defaults SHOULD pre-populate form fields with these values. Note that complex nested structures, arrays of objects (beyond enums), and other advance… Sampling Model Context Protocol · in the page specification/2025-11-25/client/sampling …ude models but has Gemini, it might map the sonnet hint to `gemini-1.5-pro` based on similar capabilities. ## Error Handling Clients **SHOULD** return errors for common failure cases: * User reject… Specification Model Context Protocol · in the page specification/2025-11-25/index …ons and external data sources and tools. Whether you're building an AI-powered IDE, enhancing a chat interface, or creating custom AI workflows, MCP provides a standardized way to connect LLMs with th… Schema Reference Model Context Protocol · in the page specification/2025-11-25/schema …<span class="tsd-signature-symbol">\{</span><br /> <a class="tsd-kind-property" href="#jsonrpcerrorresponse-jsonrpc">jsonrpc</a><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-… Prompts Model Context Protocol · in the page specification/2025-11-25/server/prompts …: ["any"] } ] } ], "nextCursor": "next-page-cursor" } } ``` ### Getting a Prompt To retrieve a specific prompt, clients send a `prompts/get` request. Arguments may… Resources Model Context Protocol · in the page specification/2025-11-25/server/resources …tcdn.com/mcp/uzELntid9uQ-QMAr/specification/2025-11-25/server/resource-picker.png?fit=max\&auto=format\&n=uzELntid9uQ-QMAr\&q=85\&s=bc7bc3db17d447a69809689e5888a3ab) However, implementations are free… Tools Model Context Protocol · in the page specification/2025-11-25/server/tools …kSupport": "optional" } } ], "nextCursor": "next-page-cursor" } } ``` ### Calling Tools To invoke a tool, clients send a `tools/call` request: **Request:** ```json theme={n… Pagination Model Context Protocol · in the page specification/2025-11-25/server/utilities/pagination …`nextCursor` as the end of results * Support both paginated and non-paginated flows 3. Clients **MUST** treat cursors as opaque tokens: * Don't make assumptions about cursor format * Don't a… Authorization Server Discovery Model Context Protocol · in the page specification/2026-07-28/basic/authorization/authorization-server-discovery …lic/mcp` could host metadata at `https://example.com/.well-known/oauth-protected-resource/public/mcp` * At the root: `https://example.com/.well-known/oauth-protected-resource` MCP clients **MUST**… Authorization Model Context Protocol · in the page specification/2026-07-28/basic/authorization/index …e: Bearer resource_metadata="https://mcp.example.com/.well-known/oauth-protected-resource", scope="files:read" ``` When implementing authorization flows, MCP clients **SHOULD… Authorization Security Considerations Model Context Protocol · in the page specification/2026-07-28/basic/authorization/security-considerations …lementation](/specification/2026-07-28/basic/authorization.md#resource-parameter-implementation) section * MCP servers **MUST** validate that tokens presented to them were specifically issued for thei… Overview Model Context Protocol · in the page specification/2026-07-28/basic/index …al `_meta` keys under the `io.modelcontextprotocol/` prefix, and third-party extensions use their own vendor prefix. In both cases the keys are specified in the extension's documentation. **Per-reque… Cancellation Model Context Protocol · in the page specification/2026-07-28/basic/patterns/cancellation …The Model Context Protocol (MCP) supports optional cancellation of in-progress requests through notification messages. A client **SHOULD** send a cancellation notification to indicate that a request… Multi Round-Trip Requests Model Context Protocol · in the page specification/2026-07-28/basic/patterns/mrtr …"maxTokens": 100 } } }, "requestState": "AEAD-protected blob" } } ``` ### Supported Requests Servers **MAY** send `InputRequiredResult` responses on the following client r… Progress Model Context Protocol · in the page specification/2026-07-28/basic/patterns/progress …* Were provided in an active request * Are associated with an in-progress operation 2. Servers receiving a request with a progress token **MAY**: * Choose not to send any progress notificati… stdio Model Context Protocol · in the page specification/2026-07-28/basic/transports/stdio …s]: https://learn.microsoft.com/windows/win32/api/processthreadsapi/nf-processthreadsapi-terminateprocess [job-objects]: https://learn.microsoft.com/windows/win32/procthread/job-objects ## Backward… Streamable HTTP Model Context Protocol · in the page specification/2026-07-28/basic/transports/streamable-http …tifications* — for example, [`notifications/progress`][notifications-progress] or [`notifications/message`][notifications-message] — before the final response. These notifications **MUST** relat… Versioning and Compatibility Model Context Protocol · in the page specification/2026-07-28/basic/versioning …28/basic/index#meta) field. On HTTP, this is also carried in the [`MCP-Protocol-Version` header](/specification/2026-07-28/basic/transports/streamable-http#protocol-version-header). If the server doe… Key Changes Model Context Protocol · in the page specification/2026-07-28/changelog …/mrtr.md) interim results. Clients **MUST** treat results from earlier-protocol servers that omit the field as `"complete"` ([SEP-2322](https://github.com/modelcontextprotocol/modelcontextprotocol/pul… Elicitation Model Context Protocol · in the page specification/2026-07-28/client/elicitation …ide sensible starting points. Clients that support defaults SHOULD pre-populate form fields with these values. Note that complex nested structures, arrays of objects (beyond enums), and other advance… Sampling Model Context Protocol · in the page specification/2026-07-28/client/sampling …ude models but has Gemini, it might map the sonnet hint to `gemini-1.5-pro` based on similar capabilities. ### System Prompt The optional `systemPrompt` field allows servers to request a specific sy… Specification Model Context Protocol · in the page specification/2026-07-28/index …ons and external data sources and tools. Whether you're building an AI-powered IDE, enhancing a chat interface, or creating custom AI workflows, MCP provides a standardized way to connect LLMs with th… Schema Reference Model Context Protocol · in the page specification/2026-07-28/schema …<span class="tsd-signature-symbol">\{</span><br /> <a class="tsd-kind-property" href="#jsonrpcerrorresponse-jsonrpc">jsonrpc</a><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-… Prompts Model Context Protocol · in the page specification/2026-07-28/server/prompts …: ["any"] } ] } ], "nextCursor": "next-page-cursor", "ttlMs": 600000, "cacheScope": "public" } } ``` ### Getting a Prompt To retrieve a specific prompt, cli… Resources Model Context Protocol · in the page specification/2026-07-28/server/resources …tcdn.com/mcp/UAHvrCg8SwnAZwI3/specification/2026-07-28/server/resource-picker.png?fit=max\&auto=format\&n=UAHvrCg8SwnAZwI3\&q=85\&s=e2aa63c0e97d97eff5da87bdd3c2260e) However, implementations are free… Tools Model Context Protocol · in the page specification/2026-07-28/server/tools …["48x48"] } ] } ], "nextCursor": "next-page-cursor", "ttlMs": 300000, "cacheScope": "public" } } ``` ### Calling Tools To invoke a tool, clients send a `too… Caching Model Context Protocol · in the page specification/2026-07-28/server/utilities/caching …that vary per user. ## Interaction with Notifications TTL and server-push notifications are complementary: * A server **MAY** provide `ttlMs` without advertising `listChanged: true` in its capabi… Pagination Model Context Protocol · in the page specification/2026-07-28/server/utilities/pagination …`nextCursor` as the end of results * Support both paginated and non-paginated flows 3. Clients **MUST** treat cursors as opaque tokens: * Don't make assumptions about cursor format * Don't a… Authorization Server Discovery Model Context Protocol · in the page specification/draft/basic/authorization/authorization-server-discovery …lic/mcp` could host metadata at `https://example.com/.well-known/oauth-protected-resource/public/mcp` * At the root: `https://example.com/.well-known/oauth-protected-resource` MCP clients **MUST**… Authorization Model Context Protocol · in the page specification/draft/basic/authorization/index …e: Bearer resource_metadata="https://mcp.example.com/.well-known/oauth-protected-resource", scope="files:read" ``` When implementing authorization flows, MCP clients **SHOULD… Authorization Security Considerations Model Context Protocol · in the page specification/draft/basic/authorization/security-considerations …r Implementation](/specification/draft/basic/authorization.md#resource-parameter-implementation) section * MCP servers **MUST** validate that tokens presented to them were specifically issued for thei… Overview Model Context Protocol · in the page specification/draft/basic/index …al `_meta` keys under the `io.modelcontextprotocol/` prefix, and third-party extensions use their own vendor prefix. In both cases the keys are specified in the extension's documentation. **Per-reque…
Feedback