Follow Discord
Sweep 30 Oct 2026 · 21:36Z Build v2.1.315 533 read Stable v2.1.308 Latest v2.1.314 Next v2.1.315 Feeds RSS JSON llms.txt llms-full.txt Unofficial
HomeDocsSearch
Search the documentation

1,594 pages for form.

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

Subscriptions Model Context Protocol · in the page specification/2026-07-28/basic/patterns/subscriptions …d delivers notifications until the client cancels it. It replaces the former `resources/subscribe` RPC and the HTTP GET endpoint. ## Opening a Stream The client sends a `subscriptions/listen` reques… Overview Model Context Protocol · in the page specification/2026-07-28/basic/transports/index …e to support custom transports **MUST** preserve the JSON-RPC message format, the [message patterns](https://modelcontextprotocol.io/specification/2026-07-28/basic/patterns.md), and the per-request me… stdio Model Context Protocol · in the page specification/2026-07-28/basic/transports/stdio …rite UTF-8 strings to `stderr` for any logging purposes including informational, debug, and error messages. * The client **MAY** capture, forward, or ignore the server's `stderr` output and **SHOU… Streamable HTTP Model Context Protocol · in the page specification/2026-07-28/basic/transports/streamable-http …data; clients must ignore such > lines and must not treat them as malformed input. Resumable SSE streams via `Last-Event-ID` are not supported. [notifications-progress]: https://modelcontextprotoco… Key Changes Model Context Protocol · in the page specification/2026-07-28/changelog …whose `inputRequests` field carries the requests for the additional information needed to process the request. Clients respond with `inputResponses` on a retry of the original request providing the re… Elicitation Model Context Protocol · in the page specification/2026-07-28/client/elicitation …(MCP) provides a standardized way for servers to request additional information from users through the client during interactions. This flow allows clients to maintain control over user interactions a… Roots Model Context Protocol · in the page specification/2026-07-28/client/roots …ized way for clients to expose filesystem "roots" to servers. Roots inform servers about the directories and files the client considers relevant, so that servers can focus their operations accordingly… Sampling Model Context Protocol · in the page specification/2026-07-28/client/sampling …xt Inclusion The `includeContext` parameter specifies what context information the client is expected to include in its response: * `"none"`: No additional context. * `"thisServer"`: Include context… Specification Model Context Protocol · in the page specification/2026-07-28/index …rovides a standardized way for applications to: * Share contextual information with language models * Expose tools and capabilities to AI systems * Build composable integrations and workflows The pr… Schema Reference Model Context Protocol · in the page specification/2026-07-28/schema …ional annotations for the client. The client can use annotations to inform how objects are used or displayed</p> </div> <section class="tsd-panel tsd-member"> <div class="tsd-anchor-link" id="annotati… Discovery Model Context Protocol · in the page specification/2026-07-28/server/discover …server/discover` is useful in two scenarios: * **Presenting server information.** While a client doesn't need to call `server/discover` to use the server, it's a convenient way to retrieve the se… Overview Model Context Protocol · in the page specification/2026-07-28/server/index …o the model * **Tools**: Executable functions that allow models to perform actions or retrieve information Each primitive can be summarized in the following control hierarchy: | Primitive | Contro… Prompts Model Context Protocol · in the page specification/2026-07-28/server/prompts …AZwI3/specification/2026-07-28/server/slash-command.png?fit=max\&auto=format\&n=UAHvrCg8SwnAZwI3\&q=85\&s=7ed7762fc5e3b4b32cba2a71ede48000) However, implementors are free to expose prompts through an… Resources Model Context Protocol · in the page specification/2026-07-28/server/resources …ge models, such as files, database schemas, or application-specific information. Each resource is uniquely identified by a [URI](https://datatracker.ietf.org/doc/html/rfc3986). > [!NOTE] > > For brev… Tools Model Context Protocol · in the page specification/2026-07-28/server/tools …ith external systems, such as querying databases, calling APIs, or performing computations. Each tool is uniquely identified by a name and includes metadata describing its schema. > [!NOTE] > > For b… Completion Model Context Protocol · in the page specification/2026-07-28/server/utilities/completion …Control access to sensitive suggestions * Prevent completion-based information disclosure Logging Model Context Protocol · in the page specification/2026-07-28/server/utilities/logging …ion | Example Use Case | | - | - | - | | debug | Detailed debugging information | Function entry/exit points | | info | General informational messages | Operation progress updates | | notice | Normal… Pagination Model Context Protocol · in the page specification/2026-07-28/server/utilities/pagination …over the internet, but also useful for local integrations to avoid performance issues with large data sets. > [!NOTE] > > For brevity, the request examples on this page omit the `_meta` request > met… Architecture Model Context Protocol · in the page specification/draft/architecture/index …sign Principles MCP is built on several key design principles that inform its architecture and implementation: 1. **Servers should be extremely easy to build** * Host applications handle complex… Authorization Server Discovery Model Context Protocol · in the page specification/draft/basic/authorization/authorization-server-discovery …owing discovery mechanisms to provide authorization server location information to MCP clients: 1. **WWW-Authenticate Header**: Include the resource metadata URL in the `WWW-Authenticate` HTTP header… Client Registration Model Context Protocol · in the page specification/draft/basic/authorization/client-registration …D** use the following priority order: 1. Use pre-registered client information for the server if the client has it available 2. Use Client ID Metadata Documents if the Authorization Server indicates… Authorization Model Context Protocol · in the page specification/draft/basic/authorization/index …orted: * Implementations using an HTTP-based transport **SHOULD** conform to this specification. * Implementations using an STDIO transport **SHOULD NOT** follow this specification, and instead ret… Authorization Security Considerations Model Context Protocol · in the page specification/draft/basic/authorization/security-considerations …ection URI. If the URI is not trusted, the authorization server MAY inform the user and rely on the user to make the correct decision. ## Client ID Metadata Document Security When implementing [Clie… Overview Model Context Protocol · in the page specification/draft/basic/index …of `"input_required"` indicates the request is incomplete and more information is needed to process the request. The result contains an [`InputRequiredResult`](https://modelcontextprotocol.io/specifi… Cancellation Model Context Protocol · in the page specification/draft/basic/patterns/cancellation …be ignored: * Unknown request IDs * Already completed requests * Malformed notifications This maintains the "fire and forget" nature of notifications while allowing for race conditions in asynchron… Multi Round-Trip Requests Model Context Protocol · in the page specification/draft/basic/patterns/mrtr …otocol (MCP) defines several ways for servers to request additional information from users during the processing of client requests (such as `roots/list`, `sampling/createMessage`, or `elicitation/cre… Progress Model Context Protocol · in the page specification/draft/basic/patterns/progress …`message` field **SHOULD** provide relevant human readable progress information. ## Behavior Requirements 1. Progress notifications **MUST** only reference tokens that: * Were provided in an acti… Subscriptions Model Context Protocol · in the page specification/draft/basic/patterns/subscriptions …d delivers notifications until the client cancels it. It replaces the former `resources/subscribe` RPC and the HTTP GET endpoint. ## Opening a Stream The client sends a `subscriptions/listen` reques… Overview Model Context Protocol · in the page specification/draft/basic/transports/index …e to support custom transports **MUST** preserve the JSON-RPC message format, the [message patterns](https://modelcontextprotocol.io/specification/draft/basic/patterns.md), and the per-request metadat… stdio Model Context Protocol · in the page specification/draft/basic/transports/stdio …rite UTF-8 strings to `stderr` for any logging purposes including informational, debug, and error messages. * The client **MAY** capture, forward, or ignore the server's `stderr` output and **SHOU… Streamable HTTP Model Context Protocol · in the page specification/draft/basic/transports/streamable-http …data; clients must ignore such > lines and must not treat them as malformed input. Resumable SSE streams via `Last-Event-ID` are not supported. [notifications-progress]: https://modelcontextprotoco… Elicitation Model Context Protocol · in the page specification/draft/client/elicitation …(MCP) provides a standardized way for servers to request additional information from users through the client during interactions. This flow allows clients to maintain control over user interactions a… Roots Model Context Protocol · in the page specification/draft/client/roots …ized way for clients to expose filesystem "roots" to servers. Roots inform servers about the directories and files the client considers relevant, so that servers can focus their operations accordingly… Sampling Model Context Protocol · in the page specification/draft/client/sampling …xt Inclusion The `includeContext` parameter specifies what context information the client is expected to include in its response: * `"none"`: No additional context. * `"thisServer"`: Include context… Specification Model Context Protocol · in the page specification/draft/index …rovides a standardized way for applications to: * Share contextual information with language models * Expose tools and capabilities to AI systems * Build composable integrations and workflows The pr… Schema Reference Model Context Protocol · in the page specification/draft/schema …ional annotations for the client. The client can use annotations to inform how objects are used or displayed</p> </div> <section class="tsd-panel tsd-member"> <div class="tsd-anchor-link" id="annotati… Discovery Model Context Protocol · in the page specification/draft/server/discover …server/discover` is useful in two scenarios: * **Presenting server information.** While a client doesn't need to call `server/discover` to use the server, it's a convenient way to retrieve the se… Overview Model Context Protocol · in the page specification/draft/server/index …o the model * **Tools**: Executable functions that allow models to perform actions or retrieve information Each primitive can be summarized in the following control hierarchy: | Primitive | Contro… Prompts Model Context Protocol · in the page specification/draft/server/prompts …rDkEaJvXpn/specification/draft/server/slash-command.png?fit=max\&auto=format\&n=4ZXF1PrDkEaJvXpn\&q=85\&s=02e1902c84120c10cfa83d0234a0040d) However, implementors are free to expose prompts through an… Resources Model Context Protocol · in the page specification/draft/server/resources …ge models, such as files, database schemas, or application-specific information. Each resource is uniquely identified by a [URI](https://datatracker.ietf.org/doc/html/rfc3986). > [!NOTE] > > For brev… Tools Model Context Protocol · in the page specification/draft/server/tools …ith external systems, such as querying databases, calling APIs, or performing computations. Each tool is uniquely identified by a name and includes metadata describing its schema. > [!NOTE] > > For b… Completion Model Context Protocol · in the page specification/draft/server/utilities/completion …Control access to sensitive suggestions * Prevent completion-based information disclosure Logging Model Context Protocol · in the page specification/draft/server/utilities/logging …ion | Example Use Case | | - | - | - | | debug | Detailed debugging information | Function entry/exit points | | info | General informational messages | Operation progress updates | | notice | Normal… Pagination Model Context Protocol · in the page specification/draft/server/utilities/pagination …over the internet, but also useful for local integrations to avoid performance issues with large data sets. > [!NOTE] > > For brevity, the request examples on this page omit the `_meta` request > met…
Feedback