Follow Discord
Sweep 10 Nov 2026 · 02:18Z Build v2.1.322 539 read Stable v2.1.311 Latest v2.1.322 Next v2.1.322 Feeds RSS JSON llms.txt llms-full.txt Unofficial
HomeDocsSearch
Search the documentation

692 pages for tail.

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

Understanding MCP servers Model Context Protocol · in the page docs/2026-07-28/learn/server-concepts …s | Array of prompt descriptors | | `prompts/get` | Retrieve prompt details | Full prompt definition with arguments | #### Example: Streamlined Workflows Prompts provide structured templates for com… SDKs Model Context Protocol · in the page docs/2026-07-28/sdk …System](https://modelcontextprotocol.io/community/sdk-tiers.md) for details on what each tier means. ## Getting Started Each SDK follows the idioms and best practices of its language. SDKs adopt new… Debugging Model Context Protocol · in the page docs/2026-07-28/tools/debugging …de\logs` * Linux: `~/.config/Claude/logs` ```bash macOS theme={null} tail -n 20 -F ~/Library/Logs/Claude/mcp*.log ``` ```bash Linux theme={null} tail -n 20 -F ~/.config/Claude/logs/mcp*.log ``` ```… CLI client Model Context Protocol · in the page docs/2026-07-28/tools/inspector/cli …ve` | `--server` | Same. | Stream- or session-only methods (`logging/tail`, for example) are rejected, since a process that exits can't hold a stream open. ### Passing arguments `--tool-arg` takes… Protocol eras Model Context Protocol · in the page docs/2026-07-28/tools/inspector/protocol-eras …on shows a **"Mirrored request headers (SEP-2243)"** section in its detail panel, for example `city -> Mcp-Param-City`. * A tool with an **invalid** annotation (say, a header name of `"Bad Header"`, w… Recipes Model Context Protocol · in the page docs/2026-07-28/tools/inspector/recipes …necting`, then `connected` or `error` (`data-error-message` has the detail) | | `[data-testid="connection-status"]` | `data-deeplink` | `parsed`, `rejected`, or `none` (`none` means no deep link was g… TUI client Model Context Protocol · in the page docs/2026-07-28/tools/inspector/tui …| `Tab` / `Shift+Tab` | Move focus: server list → tab bar → list → details | | `Left` / `Right` arrows (tab bar focused), or a tab's letter | Switch tabs | | `Up` / `Down` arrows | Select a server, m… Web client Model Context Protocol · in the page docs/2026-07-28/tools/inspector/web …onsole The three tabs show the same traffic at different levels of detail: * **Protocol**: the JSON-RPC transcript. Requests paired with responses, notifications inline, [MRTR](https://modelcontextp… Understanding Authorization in MCP Model Context Protocol · in the page docs/2026-07-28/tutorials/security/authorization …ver: > > ```bash theme={null} > python server.py > ``` > > For more details, see [Authorization](https://py.sdk.modelcontextprotocol.io/run/authorization/) in the Python SDK documentation. > [tab] C#… Security Best Practices Model Context Protocol · in the page docs/2026-07-28/tutorials/security/security_best_practices …oc/html/rfc9700). ## Attacks and Mitigations This section gives a detailed description of attacks on MCP implementations, along with potential countermeasures. ### Confused Deputy Problem Attacker… Build an MCP server Model Context Protocol · in the page docs/draft/develop/build-server …rl) > > if not forecast_data: > return "Unable to fetch detailed forecast." > > # Format the periods into a readable forecast > periods = forecast_data["properties"]["periods"] >… Client Best Practices Model Context Protocol · in the page docs/draft/develop/clients/client-best-practices …e-layer pattern below illustrates a custom search-based approach in detail, but the layered principle (catalog, inspect, execute) applies regardless of retrieval mechanism. ### Using Progressive Disc… Connect to local MCP servers Model Context Protocol · in the page docs/draft/develop/connect-local-servers …ows, it will only show recent logs): > > ```bash macOS theme={null} > tail -n 20 -f ~/Library/Logs/Claude/mcp*.log > ``` > > ```bash Linux theme={null} > tail -n 20 -f ~/.config/Claude/logs/mcp*.log >… Architecture overview Model Context Protocol · in the page docs/draft/learn/architecture …provide context to an AI application. For specific implementation details, please refer to the documentation for your [language-specific SDK](https://modelcontextprotocol.io/docs/draft/sdk.md). ##… Understanding MCP clients Model Context Protocol · in the page docs/draft/learn/client-concepts …form", message: "Please confirm your Barcelona vacation booking details:", requestedSchema: { type: "object", properties: { confirmBooking: { type: "boolean",… Understanding MCP servers Model Context Protocol · in the page docs/draft/learn/server-concepts …s | Array of prompt descriptors | | `prompts/get` | Retrieve prompt details | Full prompt definition with arguments | #### Example: Streamlined Workflows Prompts provide structured templates for com… SDKs Model Context Protocol · in the page docs/draft/sdk …System](https://modelcontextprotocol.io/community/sdk-tiers.md) for details on what each tier means. ## Getting Started Each SDK follows the idioms and best practices of its language. SDKs adopt new… Debugging Model Context Protocol · in the page docs/draft/tools/debugging …de\logs` * Linux: `~/.config/Claude/logs` ```bash macOS theme={null} tail -n 20 -F ~/Library/Logs/Claude/mcp*.log ``` ```bash Linux theme={null} tail -n 20 -F ~/.config/Claude/logs/mcp*.log ``` ```… CLI client Model Context Protocol · in the page docs/draft/tools/inspector/cli …ve` | `--server` | Same. | Stream- or session-only methods (`logging/tail`, for example) are rejected, since a process that exits can't hold a stream open. ### Passing arguments `--tool-arg` takes… Protocol eras Model Context Protocol · in the page docs/draft/tools/inspector/protocol-eras …on shows a **"Mirrored request headers (SEP-2243)"** section in its detail panel, for example `city -> Mcp-Param-City`. * A tool with an **invalid** annotation (say, a header name of `"Bad Header"`, w… Recipes Model Context Protocol · in the page docs/draft/tools/inspector/recipes …necting`, then `connected` or `error` (`data-error-message` has the detail) | | `[data-testid="connection-status"]` | `data-deeplink` | `parsed`, `rejected`, or `none` (`none` means no deep link was g… TUI client Model Context Protocol · in the page docs/draft/tools/inspector/tui …| `Tab` / `Shift+Tab` | Move focus: server list → tab bar → list → details | | `Left` / `Right` arrows (tab bar focused), or a tab's letter | Switch tabs | | `Up` / `Down` arrows | Select a server, m… Web client Model Context Protocol · in the page docs/draft/tools/inspector/web …onsole The three tabs show the same traffic at different levels of detail: * **Protocol**: the JSON-RPC transcript. Requests paired with responses, notifications inline, [MRTR](https://modelcontextp… Understanding Authorization in MCP Model Context Protocol · in the page docs/draft/tutorials/security/authorization …ver: > > ```bash theme={null} > python server.py > ``` > > For more details, see [Authorization](https://py.sdk.modelcontextprotocol.io/run/authorization/) in the Python SDK documentation. > [tab] C#… Security Best Practices Model Context Protocol · in the page docs/draft/tutorials/security/security_best_practices …oc/html/rfc9700). ## Attacks and Mitigations This section gives a detailed description of attacks on MCP implementations, along with potential countermeasures. ### Confused Deputy Problem Attacker… Build an MCP App Model Context Protocol · in the page extensions/apps/build …nsions.modelcontextprotocol.io/api/) > > Full SDK reference and API details > [card] [GitHub Repository](https://github.com/modelcontextprotocol/ext-apps) > > Source code, examples, and issue tracker… MCP Apps Model Context Protocol · in the page extensions/apps/overview …interactive map where users click regions to drill down, hover for details, and toggle between metrics, all without additional prompts. **Configuring with many options.** Setting up a deployment inv… Enterprise-Managed Authorization Model Context Protocol · in the page extensions/auth/enterprise-managed-authorization …y gaps: * Employees shouldn't need to understand the authorization details of every MCP server their organization uses * Security teams can't enforce consistent access policies if each user authorize… Extension Support Matrix Model Context Protocol · in the page extensions/client-matrix …s://modelcontextprotocol.io/extensions/overview.md#negotiation) for details on the capability negotiation mechanism. Extensions Overview Model Context Protocol · in the page extensions/overview …owed, who approves them, and what implementers can expect. For full details, see [SEP-3392: Extension Lifecycle](https://modelcontextprotocol.io/seps/3392-extension-lifecycle.md). | Stage | Protocol… Tasks Model Context Protocol · in the page extensions/tasks/overview …| A JSON-RPC error occurred during execution. The `error` field has details. | | `cancelled` | The operation was cancelled (not always honored). | `completed`, `failed`, and `cancelled` are terminal… The MCP Registry Model Context Protocol · in the page registry/about …namespace, providing trust and accountability in the ecosystem. For details on authentication methods, see the [Authentication guide](https://modelcontextprotocol.io/registry/authentication.md). ###… How to Authenticate When Publishing to the Official MCP Registry Model Context Protocol · in the page registry/authentication …record PUBLIC_KEY="$(openssl pkey -in key.pem -pubout -outform DER | tail -c 32 | base64)" echo "${MY_DOMAIN}. IN TXT \"v=MCPv1; k=ed25519; p=${PUBLIC_KEY}\"" ``` ```bash ECDSA P-384 theme={null} MY… Official MCP Registry Terms of Service Model Context Protocol · in the page registry/terms-of-service …d to provide certain information (such as identification or contact details) as part of a registration process or in connection with your access or use of the Registry or MCP servers therein. Any info… SEP-1302: Formalize Working Groups and Interest Groups in MCP Governance Model Context Protocol · in the page seps/1302-formalize-working-groups-and-interest-groups-in-mc …semantics of any new protocol feature. The specification should be detailed enough to allow competing, interoperable implementations. A PR with the changes to the specification should be provided.*… SEP-1577: Sampling With Tools Model Context Protocol · in the page seps/1577--sampling-with-tools …change / could be entirely done by the client as an implementation detail of their sampling support. The end user would allowlist tools from any other MCP server for use in a sampling request, witho… SEP-1686: Tasks Model Context Protocol · in the page seps/1686-tasks …github.com/modelcontextprotocol/modelcontextprotocol/pull/1732) for details. ### 3. Protocol Messages #### 3.1. Creating Tasks To create a task, requestors send a request with the `modelcontextprot… SEP-1730: SDKs Tiering System Model Context Protocol · in the page seps/1730-sdks-tiering-system …st undergo conformance testing using protocol trace validation: for details see [Conformance Testing RFC (forthcoming)](https://github.com/modelcontextprotocol/modelcontextprotocol/issues/1627). This… SEP-2127: MCP Server Cards - HTTP Server Discovery Model Context Protocol · in the page seps/2127-mcp-server-cards …r Card** extension and names its Working Group and maintainers. The detailed, normative wire format — the Server Card schema, field definitions, the discovery mechanics, and the full security analysis… SEP-2133: Extensions Model Context Protocol · in the page seps/2133-extensions …y to get some initial extension structure off the ground and defers detailed technical discussion around more complex/debatable aspects of extensions. ## Rationale This design for extensions uses th… SEP-2148: MCP Contributor Ladder Model Context Protocol · in the page seps/2148-contributor-ladder …ect-wide implications, or when explicitly required by process. The detailed escalation procedure for Working Group and Interest Group disputes — including the designation of a Core Maintainer without… SEP-2149: MCP Group Governance and Charter Template Model Context Protocol · in the page seps/2149-working-group-charter-template …n This template is adapted from Kubernetes governance structures and tailored for MCP's specific needs identified through community interviews. ## Backward Compatibility ### Transition for Existing… SEP-2322: Multi Round-Trip Requests Model Context Protocol · in the page seps/2322-MRTR …ending in parallel (e.g., a tool list or even another tool call). <details> <summary>Click to expand Example Flow for Ephemeral Tools</summary> **Example Flow for Ephemeral Tools** Note: This… SEP-2575: Make MCP Stateless Model Context Protocol · in the page seps/2575-stateless-mcp …equests. */ supportedVersions: string[]; /** * An object detailing the capabilities of the server. */ capabilities: ServerCapabilities; /** * Information about the server softwar… SEP-2663: Tasks Extension Model Context Protocol · in the page seps/2663-tasks-extension …atus * - Additional information for "failed" status (e.g., error details, what went wrong) * * This MAY be exposed to the end-user or model. */ statusMessage?: string; /** ISO 8601 ti… SEP-3398: Release Cycle Updates Model Context Protocol · in the page seps/3398-release-cycle-updates …e remaining specification proceeds on schedule. Security-sensitive details follow the existing [security reporting and disclosure process](https://modelcontextprotocol.io/community/security.md). Keep… Overview Model Context Protocol · in the page specification/2024-11-05/basic/index …t exactly the features they need. See the following pages for more details on the different components: > [card] [Lifecycle](https://modelcontextprotocol.io/specification/2024-11-05/basic/lifecycle.… Lifecycle Model Context Protocol · in the page specification/2024-11-05/basic/lifecycle …bility * Exchange and negotiate capabilities * Share implementation details The client **MUST** initiate this phase by sending an `initialize` request containing: * Protocol version supported * Clie… Specification Model Context Protocol · in the page specification/2024-11-05/index …al context and tools into the ecosystem of AI applications. ## Key Details ### Base Protocol * [JSON-RPC](https://www.jsonrpc.org/) message format * Stateful connections * Server and client capabil… Overview Model Context Protocol · in the page specification/2024-11-05/server/index …POST requests, file writing | Explore these key primitives in more detail below: > [card] [Prompts](https://modelcontextprotocol.io/specification/2024-11-05/server/prompts.md) > [card] [Resources](…
Feedback