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

593 pages for theme.

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

Cancellation Model Context Protocol · in the page specification/2026-07-28/basic/patterns/cancellation …* An optional reason string that can be logged or displayed ```json theme={null} { "jsonrpc": "2.0", "method": "notifications/cancelled", "params": { "requestId": "123", "reason": "Use… Overview Model Context Protocol · in the page specification/2026-07-28/basic/patterns/index …ge`](/specification/2026-07-28/server/utilities/logging). ```mermaid theme={null} sequenceDiagram participant Client participant Server Client->>Server: request Server-->>Client: not… Multi Round-Trip Requests Model Context Protocol · in the page specification/2026-07-28/basic/patterns/mrtr …mplete 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, request par… Progress Model Context Protocol · in the page specification/2026-07-28/basic/patterns/progress …means, but **MUST** be unique across all active requests. ```json theme={null} { "jsonrpc": "2.0", "id": 1, "method": "some_method", "params": { "_meta": { "progressToken": "abc1… Subscriptions Model Context Protocol · in the page specification/2026-07-28/basic/patterns/subscriptions …notification types the client has not explicitly requested. ```json theme={null} { "jsonrpc": "2.0", "id": 1, "method": "subscriptions/listen", "params": { "_meta": { "io.modelcont… Streamable HTTP Model Context Protocol · in the page specification/2026-07-28/basic/transports/streamable-http …er 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 Clien… Versioning and Compatibility Model Context Protocol · in the page specification/2026-07-28/basic/versioning …the server accepts or rejects each request independently: ```mermaid theme={null} sequenceDiagram participant Client participant Server Client->>Server: request (with `_meta`) alt se… Elicitation Model Context Protocol · in the page specification/2026-07-28/client/elicitation …io.modelcontextprotocol/clientCapabilities` on each request: ```json theme={null} { "_meta": { "io.modelcontextprotocol/clientCapabilities": { "elicitation": { "form": {},… Roots Model Context Protocol · in the page specification/2026-07-28/client/roots …io.modelcontextprotocol/clientCapabilities` on each request: ```json theme={null} { "_meta": { "io.modelcontextprotocol/clientCapabilities": { "roots": {} } } } ``` ## Protocol Mes… Sampling Model Context Protocol · in the page specification/2026-07-28/client/sampling …ol/clientCapabilities` on each request: **Basic sampling:** ```json theme={null} { "_meta": { "io.modelcontextprotocol/clientCapabilities": { "sampling": {} } } } ``` **With tool… Schema Reference Model Context Protocol · in the page specification/2026-07-28/schema …ture-symbol">;</span><br /> <a class="tsd-kind-property" href="#icon-theme">theme</a><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">"light"</span> <span class="tsd-sign… Discovery Model Context Protocol · in the page specification/2026-07-28/server/discover …uest carries no body parameters beyond the standard `_meta`: ```json theme={null} { "jsonrpc": "2.0", "id": "discover-1", "method": "server/discover", "params": { "_meta": { "io.mod… Prompts Model Context Protocol · in the page specification/2026-07-28/server/prompts …erResult`](/specification/2026-07-28/schema#discoverresult): ```json theme={null} { "capabilities": { "prompts": { "listChanged": true } } } ``` `listChanged` indicates whether the… Resources Model Context Protocol · in the page specification/2026-07-28/server/resources …pport resources **MUST** declare the `resources` capability: ```json theme={null} { "capabilities": { "resources": { "listChanged": true, "subscribe": true } } } ``` The capa… Tools Model Context Protocol · in the page specification/2026-07-28/server/tools …that support tools **MUST** declare the `tools` capability: ```json theme={null} { "capabilities": { "tools": { "listChanged": true } } } ``` `listChanged` indicates whether the s… Caching Model Context Protocol · in the page specification/2026-07-28/server/utilities/caching …d response and it should be considered immediately stale. ```mermaid theme={null} sequenceDiagram participant Client participant Server Client->>Server: tools/list Server-->>Client:… Completion Model Context Protocol · in the page specification/2026-07-28/server/utilities/completion …t completions **MUST** declare the `completions` capability: ```json theme={null} { "capabilities": { "completions": {} } } ``` ## Protocol Messages ### Requesting Completions To get compl… Logging Model Context Protocol · in the page specification/2026-07-28/server/utilities/logging …age notifications **MUST** declare the `logging` capability: ```json theme={null} { "capabilities": { "logging": {} } } ``` ## Log Levels The protocol follows the standard syslog severity l… Pagination Model Context Protocol · in the page specification/2026-07-28/server/utilities/pagination …sults * An optional `nextCursor` field if more results exist ```json theme={null} { "jsonrpc": "2.0", "id": "123", "result": { "resultType": "complete", "resources": [...], "nextCur… Architecture Model Context Protocol · in the page specification/draft/architecture/index …dination between clients and servers. ## Core Components ```mermaid theme={null} graph LR subgraph "Application Host Process" H[Host] C1[Client 1] C2[Client 2] C3… Authorization Server Discovery Model Context Protocol · in the page specification/draft/basic/authorization/authorization-server-discovery …Diagram The following diagram outlines an example flow: ```mermaid theme={null} sequenceDiagram participant C as Client participant M as MCP Server (Resource Server) participant A as Au… Client Registration Model Context Protocol · in the page specification/draft/basic/authorization/client-registration …d-metadata-document-security) ### Example Metadata Document ```json theme={null} { "client_id": "https://app.example.com/oauth/client-metadata.json", "client_name": "Example MCP Client", "clie… Authorization Model Context Protocol · in the page specification/draft/basic/authorization/index …copes_supported`. Example 401 response with scope guidance: ```http theme={null} HTTP/1.1 401 Unauthorized WWW-Authenticate: Bearer resource_metadata="https://mcp.example.com/.well-known/oauth-prote… Overview Model Context Protocol · in the page specification/draft/basic/index …om the client to the server, to initiate an operation. ```typescript theme={null} { jsonrpc: "2.0"; id: string | number; method: string; params?: { [key: string]: unknown; }; } ``` * R… Cancellation Model Context Protocol · in the page specification/draft/basic/patterns/cancellation …* An optional reason string that can be logged or displayed ```json theme={null} { "jsonrpc": "2.0", "method": "notifications/cancelled", "params": { "requestId": "123", "reason": "Use… Overview Model Context Protocol · in the page specification/draft/basic/patterns/index …message`](/specification/draft/server/utilities/logging). ```mermaid theme={null} sequenceDiagram participant Client participant Server Client->>Server: request Server-->>Client: not… Multi Round-Trip Requests Model Context Protocol · in the page specification/draft/basic/patterns/mrtr …mplete 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, request par… Progress Model Context Protocol · in the page specification/draft/basic/patterns/progress …means, but **MUST** be unique across all active requests. ```json theme={null} { "jsonrpc": "2.0", "id": 1, "method": "some_method", "params": { "_meta": { "progressToken": "abc1… Subscriptions Model Context Protocol · in the page specification/draft/basic/patterns/subscriptions …notification types the client has not explicitly requested. ```json theme={null} { "jsonrpc": "2.0", "id": 1, "method": "subscriptions/listen", "params": { "_meta": { "io.modelcont… Streamable HTTP Model Context Protocol · in the page specification/draft/basic/transports/streamable-http …er 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 Clien… Versioning and Compatibility Model Context Protocol · in the page specification/draft/basic/versioning …the server accepts or rejects each request independently: ```mermaid theme={null} sequenceDiagram participant Client participant Server Client->>Server: request (with `_meta`) alt se… Elicitation Model Context Protocol · in the page specification/draft/client/elicitation …io.modelcontextprotocol/clientCapabilities` on each request: ```json theme={null} { "_meta": { "io.modelcontextprotocol/clientCapabilities": { "elicitation": { "form": {},… Roots Model Context Protocol · in the page specification/draft/client/roots …io.modelcontextprotocol/clientCapabilities` on each request: ```json theme={null} { "_meta": { "io.modelcontextprotocol/clientCapabilities": { "roots": {} } } } ``` ## Protocol Mes… Sampling Model Context Protocol · in the page specification/draft/client/sampling …ol/clientCapabilities` on each request: **Basic sampling:** ```json theme={null} { "_meta": { "io.modelcontextprotocol/clientCapabilities": { "sampling": {} } } } ``` **With tool… Schema Reference Model Context Protocol · in the page specification/draft/schema …ture-symbol">;</span><br /> <a class="tsd-kind-property" href="#icon-theme">theme</a><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">"light"</span> <span class="tsd-sign… Discovery Model Context Protocol · in the page specification/draft/server/discover …uest carries no body parameters beyond the standard `_meta`: ```json theme={null} { "jsonrpc": "2.0", "id": "discover-1", "method": "server/discover", "params": { "_meta": { "io.mod… Prompts Model Context Protocol · in the page specification/draft/server/prompts …iscoverResult`](/specification/draft/schema#discoverresult): ```json theme={null} { "capabilities": { "prompts": { "listChanged": true } } } ``` `listChanged` indicates whether the… Resources Model Context Protocol · in the page specification/draft/server/resources …pport resources **MUST** declare the `resources` capability: ```json theme={null} { "capabilities": { "resources": { "listChanged": true, "subscribe": true } } } ``` The capa… Tools Model Context Protocol · in the page specification/draft/server/tools …that support tools **MUST** declare the `tools` capability: ```json theme={null} { "capabilities": { "tools": { "listChanged": true } } } ``` `listChanged` indicates whether the s… Caching Model Context Protocol · in the page specification/draft/server/utilities/caching …d response and it should be considered immediately stale. ```mermaid theme={null} sequenceDiagram participant Client participant Server Client->>Server: tools/list Server-->>Client:… Completion Model Context Protocol · in the page specification/draft/server/utilities/completion …t completions **MUST** declare the `completions` capability: ```json theme={null} { "capabilities": { "completions": {} } } ``` ## Protocol Messages ### Requesting Completions To get compl… Logging Model Context Protocol · in the page specification/draft/server/utilities/logging …age notifications **MUST** declare the `logging` capability: ```json theme={null} { "capabilities": { "logging": {} } } ``` ## Log Levels The protocol follows the standard syslog severity l… Pagination Model Context Protocol · in the page specification/draft/server/utilities/pagination …sults * An optional `nextCursor` field if more results exist ```json theme={null} { "jsonrpc": "2.0", "id": "123", "result": { "resultType": "complete", "resources": [...], "nextCur…
Feedback