Follow Discord
Sweep 03 Dec 2026 · 19:13Z Build v2.1.336 553 read Stable v2.1.332 Latest v2.1.336 Next v2.1.336 Feeds RSS JSON llms.txt llms-full.txt Unofficial
HomeDocsSearch
Search the documentation

1,334 pages for file.

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

Completion Model Context Protocol · in the page specification/2025-11-25/server/utilities/completion …urce` | References a resource URI | `{"type": "ref/resource", "uri": "file:///{path}"}` | ### Completion Results Servers return an array of completion values ranked by relevance, with: * Maximum 10… Architecture Model Context Protocol · in the page specification/2026-07-28/architecture/index …H --> C3 end subgraph "Local machine" S1[Server 1<br>Files & Git] S2[Server 2<br>Database] R1[("Local<br>Resource A")] R2[("Local<br>Resource B")] C1… Authorization Model Context Protocol · in the page specification/2026-07-28/basic/authorization/index …well-known/oauth-protected-resource", scope="files:read" ``` When implementing authorization flows, MCP clients **SHOULD** follow the principle of least privilege by requesti… Overview Model Context Protocol · in the page specification/2026-07-28/basic/index …e (required). This can be: * An HTTP/HTTPS URL pointing to an image file * A data URI with base64-encoded image data * `mimeType`: Optional MIME type if the server's type is missing or generic * `… Subscriptions Model Context Protocol · in the page specification/2026-07-28/basic/patterns/subscriptions …": { "toolsListChanged": true, "resourceSubscriptions": ["file:///project/config.json"] } } } ``` ### Notification Filter | Field | Type | Description | | - | - | - | | `toolsListC… stdio Model Context Protocol · in the page specification/2026-07-28/basic/transports/stdio …t promptly when their standard input is closed or reads return end-of-file. This is the primary graceful-shutdown signal and the only portable one, so honoring it reduces the need for forced terminati… Streamable HTTP Model Context Protocol · in the page specification/2026-07-28/basic/transports/streamable-http …MCP-Protocol-Version: 2026-07-28 Mcp-Method: resources/read Mcp-Name: file:///projects/myapp/config.json { "jsonrpc": "2.0", "id": 2, "method": "resources/read", "params": { "uri": "file:… Versioning and Compatibility Model Context Protocol · in the page specification/2026-07-28/basic/versioning …"io.modelcontextprotocol/ui": { "mimeTypes": ["text/html;profile=mcp-app"] } } } } } ``` The following is an example of a server that advertises the [Tasks extension](ht… Key Changes Model Context Protocol · in the page specification/2026-07-28/changelog …ot add support for them. Suggested migrations: pass directories or files via tool parameters, resource URIs, or server configuration instead of Roots; integrate directly with LLM provider APIs… Elicitation Model Context Protocol · in the page specification/2026-07-28/client/elicitation …that grant access or > authorize transactions. General contact or profile information (such as a name, email address, > or username) is not categorically prohibited; whether to request such data via… Roots Model Context Protocol · in the page specification/2026-07-28/client/roots …isting implementations **SHOULD** migrate to passing directories > or files via tool parameters, resource URIs, or server configuration. See the > [deprecated features registry](https://modelcontextpr… Deprecated Features Model Context Protocol · in the page specification/2026-07-28/deprecated …/modelcontextprotocol/pull/2577) | `2026-07-28` | Pass directories or files via tool parameters, resource URIs, or server configuration | First revision released on or after 2027-07-28 | | [Sampling](… Schema Reference Model Context Protocol · in the page specification/2026-07-28/schema …1-12T15:00:58Z").</p> <p>Examples: last activity timestamp in an open file, timestamp when the resource was attached, etc.</p> </div></section> </div> <div class="type"> ### `Cursor` <div clas… Overview Model Context Protocol · in the page specification/2026-07-28/server/index …ion-controlled | Contextual data attached and managed by the client | File contents, git history | | Tools | Model-controlled | Functions exposed to the LLM to take actions | API POST requests, file w… Prompts Model Context Protocol · in the page specification/2026-07-28/server/prompts …client: ```json theme={null} { "type": "resource_link", "uri": "file:///project/src/main.rs", "name": "main.rs", "description": "Primary application entry point", "mimeType": "text/x-rust"… Resources Model Context Protocol · in the page specification/2026-07-28/server/resources …rvers to share data that provides context to language models, such as files, database schemas, or application-specific information. Each resource is uniquely identified by a [URI](https://datatracker.… Tools Model Context Protocol · in the page specification/2026-07-28/server/tools …client: ```json theme={null} { "type": "resource_link", "uri": "file:///project/src/main.rs", "name": "main.rs", "description": "Primary application entry point", "mimeType": "text/x-rust"… Completion Model Context Protocol · in the page specification/2026-07-28/server/utilities/completion …es a resource URI or URI template | `{"type": "ref/resource", "uri": "file:///{path}"}` | ### Completion Results Servers return an array of completion values ranked by relevance, with: * Maximum 10… Architecture Model Context Protocol · in the page specification/draft/architecture/index …H --> C3 end subgraph "Local machine" S1[Server 1<br>Files & Git] S2[Server 2<br>Database] R1[("Local<br>Resource A")] R2[("Local<br>Resource B")] C1… Authorization Model Context Protocol · in the page specification/draft/basic/authorization/index …well-known/oauth-protected-resource", scope="files:read" ``` When implementing authorization flows, MCP clients **SHOULD** follow the principle of least privilege by requesti… Overview Model Context Protocol · in the page specification/draft/basic/index …e (required). This can be: * An HTTP/HTTPS URL pointing to an image file * A data URI with base64-encoded image data * `mimeType`: Optional MIME type override if the source MIME type is missing or… Subscriptions Model Context Protocol · in the page specification/draft/basic/patterns/subscriptions …": { "toolsListChanged": true, "resourceSubscriptions": ["file:///project/config.json"] } } } ``` ### Notification Filter | Field | Type | Description | | - | - | - | | `toolsListC… stdio Model Context Protocol · in the page specification/draft/basic/transports/stdio …t promptly when their standard input is closed or reads return end-of-file. This is the primary graceful-shutdown signal and the only portable one, so honoring it reduces the need for forced terminati… Streamable HTTP Model Context Protocol · in the page specification/draft/basic/transports/streamable-http …MCP-Protocol-Version: 2026-07-28 Mcp-Method: resources/read Mcp-Name: file:///projects/myapp/config.json { "jsonrpc": "2.0", "id": 2, "method": "resources/read", "params": { "uri": "file:… Versioning and Compatibility Model Context Protocol · in the page specification/draft/basic/versioning …"io.modelcontextprotocol/ui": { "mimeTypes": ["text/html;profile=mcp-app"] } } } } } ``` The following is an example of a server that advertises the [Tasks extension](ht… Elicitation Model Context Protocol · in the page specification/draft/client/elicitation …that grant access or > authorize transactions. General contact or profile information (such as a name, email address, > or username) is not categorically prohibited; whether to request such data via… Roots Model Context Protocol · in the page specification/draft/client/roots …isting implementations **SHOULD** migrate to passing directories > or files via tool parameters, resource URIs, or server configuration. See the > [deprecated features registry](https://modelcontextpr… Deprecated Features Model Context Protocol · in the page specification/draft/deprecated …/modelcontextprotocol/pull/2577) | `2026-07-28` | Pass directories or files via tool parameters, resource URIs, or server configuration | First revision released on or after 2027-07-28 | | [Sampling](… Schema Reference Model Context Protocol · in the page specification/draft/schema …1-12T15:00:58Z").</p> <p>Examples: last activity timestamp in an open file, timestamp when the resource was attached, etc.</p> </div></section> </div> <div class="type"> ### `Cursor` <div clas… Overview Model Context Protocol · in the page specification/draft/server/index …ion-controlled | Contextual data attached and managed by the client | File contents, git history | | Tools | Model-controlled | Functions exposed to the LLM to take actions | API POST requests, file w… Prompts Model Context Protocol · in the page specification/draft/server/prompts …client: ```json theme={null} { "type": "resource_link", "uri": "file:///project/src/main.rs", "name": "main.rs", "description": "Primary application entry point", "mimeType": "text/x-rust"… Resources Model Context Protocol · in the page specification/draft/server/resources …rvers to share data that provides context to language models, such as files, database schemas, or application-specific information. Each resource is uniquely identified by a [URI](https://datatracker.… Tools Model Context Protocol · in the page specification/draft/server/tools …client: ```json theme={null} { "type": "resource_link", "uri": "file:///project/src/main.rs", "name": "main.rs", "description": "Primary application entry point", "mimeType": "text/x-rust"… Completion Model Context Protocol · in the page specification/draft/server/utilities/completion …es a resource URI or URI template | `{"type": "ref/resource", "uri": "file:///{path}"}` | ### Completion Results Servers return an array of completion values ranked by relevance, with: * Maximum 10…
Feedback