1,063 pages for prompt.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
stdio
Model Context Protocol · in the page
specification/draft/basic/transports/stdio
…inateprocess] or [Job Objects][job-objects]. Servers **SHOULD** exit promptly when their standard input is closed or reads return end-of-file. This is the primary graceful-shutdown signal and the onl…
Streamable HTTP
Model Context Protocol · in the page
specification/draft/basic/transports/streamable-http
…e` | `params.name` or `params.uri` | `tools/call`, `resources/read`, `prompts/get` requests | These headers are **REQUIRED** for compliance. If the `Mcp-Name` source value cannot be safely represent…
Elicitation
Model Context Protocol · in the page
specification/draft/client/elicitation
…line (e.g., offer alternatives) * **Cancel**: Handle dismissal (e.g., prompt again later) ## Implementation Considerations ### Statefulness Elicitations do not require that the server maintain stat…
Roots
Model Context Protocol · in the page
specification/draft/client/roots
…ided roots ## Implementation Guidelines 1. Clients **SHOULD**: * Prompt users for consent before exposing roots to servers * Provide clear user interfaces for root management * Validate roo…
Sampling
Model Context Protocol · in the page
specification/draft/client/sampling
…interactions and optionally include context from MCP servers in their prompts. ## User Interaction Model Sampling in MCP allows servers to implement agentic behaviors, by enabling LLM calls to occur…
Specification
Model Context Protocol · in the page
specification/draft/index
…esources**: Context and data, for the user or the AI model to use * **Prompts**: Templated messages and workflows for users * **Tools**: Functions for the AI model to execute Clients may offer the fo…
Schema Reference
Model Context Protocol · in the page
specification/draft/schema
…strong>: Unknown tool name or invalid tool arguments</li> <li><strong>Prompts</strong>: Unknown prompt name or missing required arguments</li> <li><strong>Pagination</strong>: Invalid or expired curso…
Discovery
Model Context Protocol · in the page
specification/draft/server/discover
…/discover` response instead of probing with separate `tools/list`, `prompts/list`, and `resources/list` requests. * **stdio backward-compatibility probe.** On stdio, there is no per-request HTTP s…
Overview
Model Context Protocol · in the page
specification/draft/server/index
…rich interactions between clients, servers, and language models: * **Prompts**: Pre-defined templates or instructions that guide language model interactions * **Resources**: Structured data or cont…
Tools
Model Context Protocol · in the page
specification/draft/server/tools
…ls automatically based on its contextual understanding and the user's prompts. However, implementations are free to expose tools through any interface pattern that suits their needs—the protocol itse…
Caching
Model Context Protocol · in the page
specification/draft/server/utilities/caching
…d by the following operations: * `server/discover` * `tools/list` * `prompts/list` * `resources/list` * `resources/templates/list` * `resources/read` Interim results with `resultType: "input_require…
Completion
Model Context Protocol · in the page
specification/draft/server/utilities/completion
…for servers to offer autocompletion suggestions for the arguments of prompts and resource templates. When users are filling in argument values for a specific prompt (identified by name) or resource t…
Pagination
Model Context Protocol · in the page
specification/draft/server/utilities/pagination
…e resources * `resources/templates/list` - List resource templates * `prompts/list` - List available prompts * `tools/list` - List available tools ## Implementation Guidelines 1. Servers **SHOULD**:…