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

155 pages for mermaid.

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

Architecture Model Context Protocol · in the page specification/2025-11-25/architecture/index …ing coordination between clients and servers. ## Core Components ```mermaid theme={null} graph LR subgraph "Application Host Process" H[Host] C1[Client 1] C2[Client 2]… Authorization Model Context Protocol · in the page specification/2025-11-25/basic/authorization …Sequence Diagram The following diagram outlines an example flow: ```mermaid theme={null} sequenceDiagram participant C as Client participant M as MCP Server (Resource Server) participant… Lifecycle Model Context Protocol · in the page specification/2025-11-25/basic/lifecycle …unication 3. **Shutdown**: Graceful termination of the connection ```mermaid theme={null} sequenceDiagram participant Client participant Server Note over Client,Server: Initialization Ph… Transports Model Context Protocol · in the page specification/2025-11-25/basic/transports …ything to the server's `stdin` that is not a valid MCP message. ```mermaid theme={null} sequenceDiagram participant Client participant Server Process Client->>+Server Process: Launch s… Cancellation Model Context Protocol · in the page specification/2025-11-25/basic/utilities/cancellation …. Both parties **MUST** handle these race conditions gracefully: ```mermaid theme={null} sequenceDiagram participant Client participant Server Client->>Server: Request (ID: 123) Note ov… Ping Model Context Protocol · in the page specification/2025-11-25/basic/utilities/ping …onnection * Attempt reconnection procedures ## Usage Patterns ```mermaid theme={null} sequenceDiagram participant Sender participant Receiver Sender->>Receiver: ping request Rece… Progress Model Context Protocol · in the page specification/2025-11-25/basic/utilities/progress …reaches a terminal status (`completed`, `failed`, or `cancelled`) ```mermaid theme={null} sequenceDiagram participant Sender participant Receiver Note over Sender,Receiver: Request with… Tasks Model Context Protocol · in the page specification/2025-11-25/basic/utilities/tasks …** transition to any other status **Task Status State Diagram:** ```mermaid theme={null} stateDiagram-v2 [*] --> working working --> input_required working --> terminal input_requi… Elicitation Model Context Protocol · in the page specification/2025-11-25/client/elicitation …} ] } } } ``` ## Message Flow ### Form Mode Flow ```mermaid theme={null} sequenceDiagram participant User participant Client participant Server Note over Server: Ser… Roots Model Context Protocol · in the page specification/2025-11-25/client/roots …ethod": "notifications/roots/list_changed" } ``` ## Message Flow ```mermaid theme={null} sequenceDiagram participant Server participant Client Note over Server,Client: Discovery Ser… Sampling Model Context Protocol · in the page specification/2025-11-25/client/sampling …flow of sampling with tools, including the multi-turn tool loop: ```mermaid theme={null} sequenceDiagram participant Server participant Client participant User participant LLM N… Prompts Model Context Protocol · in the page specification/2025-11-25/server/prompts …hod": "notifications/prompts/list_changed" } ``` ## Message Flow ```mermaid theme={null} sequenceDiagram participant Client participant Server Note over Client,Server: Discovery Cli… Resources Model Context Protocol · in the page specification/2025-11-25/server/resources …"uri": "file:///project/src/main.rs" } } ``` ## Message Flow ```mermaid theme={null} sequenceDiagram participant Client participant Server Note over Client,Server: Resource Discover… Tools Model Context Protocol · in the page specification/2025-11-25/server/tools …ethod": "notifications/tools/list_changed" } ``` ## Message Flow ```mermaid theme={null} sequenceDiagram participant LLM participant Client participant Server Note over Client,Serve… Completion Model Context Protocol · in the page specification/2025-11-25/server/utilities/completion …* Boolean indicating if additional results exist ## Message Flow ```mermaid theme={null} sequenceDiagram participant Client participant Server Note over Client: User types argument… Logging Model Context Protocol · in the page specification/2025-11-25/server/utilities/logging …t", "port": 5432 } } } } ``` ## Message Flow ```mermaid theme={null} sequenceDiagram participant Client participant Server Note over Client,Server: Configure Logging… Pagination Model Context Protocol · in the page specification/2025-11-25/server/utilities/pagination …{ "cursor": "eyJwYWdlIjogMn0=" } } ``` ## Pagination Flow ```mermaid theme={null} sequenceDiagram participant Client participant Server Client->>Server: List Request (no cursor)… Architecture Model Context Protocol · in the page specification/2026-07-28/architecture/index …ing coordination between clients and servers. ## Core Components ```mermaid theme={null} graph LR subgraph "Application Host Process" H[Host] C1[Client 1] C2[Client 2]… Authorization Server Discovery Model Context Protocol · in the page specification/2026-07-28/basic/authorization/authorization-server-discovery …Sequence Diagram The following diagram outlines an example flow: ```mermaid theme={null} sequenceDiagram participant C as Client participant M as MCP Server (Resource Server) participant… Client Registration Model Context Protocol · in the page specification/2026-07-28/basic/authorization/client-registration …trates the complete flow when using Client ID Metadata Documents: ```mermaid theme={null} sequenceDiagram participant User participant Client as MCP Client participant Server as Authoriza… Authorization Model Context Protocol · in the page specification/2026-07-28/basic/authorization/index …ration.md). The complete Authorization flow proceeds as follows: ```mermaid theme={null} sequenceDiagram participant B as User-Agent (Browser) participant C as Client participant M as MC… Cancellation Model Context Protocol · in the page specification/2026-07-28/basic/patterns/cancellation …. Both parties **MUST** handle these race conditions gracefully: ```mermaid theme={null} sequenceDiagram participant Client participant Server Client->>Server: Request (ID: 123) Note ov… Overview Model Context Protocol · in the page specification/2026-07-28/basic/patterns/index …ns/message`](/specification/2026-07-28/server/utilities/logging). ```mermaid theme={null} sequenceDiagram participant Client participant Server Client->>Server: request Server-->>Cli… Multi Round-Trip Requests Model Context Protocol · in the page specification/2026-07-28/basic/patterns/mrtr …on to complete the operation, and responds with the final result. ```mermaid theme={null} sequenceDiagram participant C as Client participant S as Server C->>S: client request (id: 1, req… Progress Model Context Protocol · in the page specification/2026-07-28/basic/patterns/progress …quency they deem appropriate * Omit the total value if unknown ```mermaid theme={null} sequenceDiagram participant Client participant Server Note over Client,Server: Request with prog… Streamable HTTP Model Context Protocol · in the page specification/2026-07-28/basic/transports/streamable-http …st whether to respond with a single JSON object or an SSE stream: ```mermaid theme={null} sequenceDiagram participant Client participant Server note over Client,Server: Simple response… Versioning and Compatibility Model Context Protocol · in the page specification/2026-07-28/basic/versioning …on, and the server accepts or rejects each request independently: ```mermaid theme={null} sequenceDiagram participant Client participant Server Client->>Server: request (with `_meta`)… Elicitation Model Context Protocol · in the page specification/2026-07-28/client/elicitation …nteracting with the client). ## Message Flow ### Form Mode Flow ```mermaid theme={null} sequenceDiagram participant User participant Client participant Server Client->>Server: tool… Roots Model Context Protocol · in the page specification/2026-07-28/client/roots …ect", "name": "My Project" } ] } ``` ## Message Flow ```mermaid theme={null} sequenceDiagram participant Server participant Client Note over Server,Client: Initial Request… Sampling Model Context Protocol · in the page specification/2026-07-28/client/sampling …flow of sampling with tools, including the multi-turn tool loop: ```mermaid theme={null} sequenceDiagram participant Server participant Client participant User participant LLM C… Prompts Model Context Protocol · in the page specification/2026-07-28/server/prompts …hod": "notifications/prompts/list_changed" } ``` ## Message Flow ```mermaid theme={null} sequenceDiagram participant Client participant Server Note over Client,Server: Discovery Cli… Resources Model Context Protocol · in the page specification/2026-07-28/server/resources …ation/2026-07-28/basic/patterns/subscriptions.md ## Message Flow ```mermaid theme={null} sequenceDiagram participant Client participant Server Note over Client,Server: Resource Discover… Tools Model Context Protocol · in the page specification/2026-07-28/server/tools …ethod": "notifications/tools/list_changed" } ``` ## Message Flow ```mermaid theme={null} sequenceDiagram participant LLM participant Client participant Server Note over Client,Serve… Caching Model Context Protocol · in the page specification/2026-07-28/server/utilities/caching …he cached response and it should be considered immediately stale. ```mermaid theme={null} sequenceDiagram participant Client participant Server Client->>Server: tools/list Server-->>… Completion Model Context Protocol · in the page specification/2026-07-28/server/utilities/completion …* Boolean indicating if additional results exist ## Message Flow ```mermaid theme={null} sequenceDiagram participant Client participant Server Note over Client: User types argument… Pagination Model Context Protocol · in the page specification/2026-07-28/server/utilities/pagination …{ "cursor": "eyJwYWdlIjogMn0=" } } ``` ## Pagination Flow ```mermaid theme={null} sequenceDiagram participant Client participant Server Client->>Server: List Request (no cursor)… Architecture Model Context Protocol · in the page specification/draft/architecture/index …ing coordination between clients and servers. ## Core Components ```mermaid theme={null} graph LR subgraph "Application Host Process" H[Host] C1[Client 1] C2[Client 2]… Authorization Server Discovery Model Context Protocol · in the page specification/draft/basic/authorization/authorization-server-discovery …Sequence Diagram The following diagram outlines an example flow: ```mermaid theme={null} sequenceDiagram participant C as Client participant M as MCP Server (Resource Server) participant… Client Registration Model Context Protocol · in the page specification/draft/basic/authorization/client-registration …trates the complete flow when using Client ID Metadata Documents: ```mermaid theme={null} sequenceDiagram participant User participant Client as MCP Client participant Server as Authoriza… Authorization Model Context Protocol · in the page specification/draft/basic/authorization/index …ration.md). The complete Authorization flow proceeds as follows: ```mermaid theme={null} sequenceDiagram participant B as User-Agent (Browser) participant C as Client participant M as MC… Cancellation Model Context Protocol · in the page specification/draft/basic/patterns/cancellation …. Both parties **MUST** handle these race conditions gracefully: ```mermaid theme={null} sequenceDiagram participant Client participant Server Client->>Server: Request (ID: 123) Note ov… Overview Model Context Protocol · in the page specification/draft/basic/patterns/index …cations/message`](/specification/draft/server/utilities/logging). ```mermaid theme={null} sequenceDiagram participant Client participant Server Client->>Server: request Server-->>Cli… Multi Round-Trip Requests Model Context Protocol · in the page specification/draft/basic/patterns/mrtr …on to complete the operation, and responds with the final result. ```mermaid theme={null} sequenceDiagram participant C as Client participant S as Server C->>S: client request (id: 1, req… Progress Model Context Protocol · in the page specification/draft/basic/patterns/progress …quency they deem appropriate * Omit the total value if unknown ```mermaid theme={null} sequenceDiagram participant Client participant Server Note over Client,Server: Request with prog… Streamable HTTP Model Context Protocol · in the page specification/draft/basic/transports/streamable-http …st whether to respond with a single JSON object or an SSE stream: ```mermaid theme={null} sequenceDiagram participant Client participant Server note over Client,Server: Simple response… Versioning and Compatibility Model Context Protocol · in the page specification/draft/basic/versioning …on, and the server accepts or rejects each request independently: ```mermaid theme={null} sequenceDiagram participant Client participant Server Client->>Server: request (with `_meta`)… Elicitation Model Context Protocol · in the page specification/draft/client/elicitation …nteracting with the client). ## Message Flow ### Form Mode Flow ```mermaid theme={null} sequenceDiagram participant User participant Client participant Server Client->>Server: tool… Roots Model Context Protocol · in the page specification/draft/client/roots …ect", "name": "My Project" } ] } ``` ## Message Flow ```mermaid theme={null} sequenceDiagram participant Server participant Client Note over Server,Client: Initial Request… Sampling Model Context Protocol · in the page specification/draft/client/sampling …flow of sampling with tools, including the multi-turn tool loop: ```mermaid theme={null} sequenceDiagram participant Server participant Client participant User participant LLM C… Prompts Model Context Protocol · in the page specification/draft/server/prompts …hod": "notifications/prompts/list_changed" } ``` ## Message Flow ```mermaid theme={null} sequenceDiagram participant Client participant Server Note over Client,Server: Discovery Cli…
Feedback