You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/spec/resources.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,10 +13,10 @@ Resources enable servers to expose arbitrary data to clients in a structured way
13
13
Common usecases for resources include file and folder access, but can extend to any other form. See [list of common URI schemes](#list-of-common-uri-schemas) for more information. Here are examples of kinds of resources that an MCP server could expose:
14
14
15
15
### File Access
16
-
A common use case for resourecs is exposing a file as a binary stream. The server would prefix any file
17
-
with the `file://` schemeensure that the client is aware of the how to interpret the file by providing
18
-
a correct mime type. When the client issues a `resources/read` request, the server *must* ensure that it
19
-
returns the file in the correct encoding for the mime type (e.g.base64 encoded bytes).
16
+
A common use case for resources is to expose files. The server should prefix any file-like resource
17
+
with the `file://` scheme, and ensure that the client is aware of how to interpret the file by providing
18
+
a correct MIME type. When the client issues a `resources/read` request, the server *must* ensure that it
19
+
returns the file in the correct encoding for the mime type (e.g., text if possible, or base64 for any binary data).
0 commit comments