Is your feature request related to a problem? Please describe.
Remote servers hosting thousands of concurrent users will need to have the base64 content of all resources, and any file content returned from tool calls in memory in order to return the JSON data from MCP servers.
Describe the solution you'd like
We need an official way to be able to stream data to clients (ideally as binary), and not use JSON RPC as a wrapper, so we can control RAM usage.
I am genuinely concerned that if GitHub provides a hosted remote server and it proves to be popular at the same time as more host applications support Resources etc. we are going to end up with ridiculous RAM requirements, which are avoidable by offering a way to stream responses.
An alternative could be providing download URLs, and then not using MCP server itself as a file streaming server.
Is your feature request related to a problem? Please describe.
Remote servers hosting thousands of concurrent users will need to have the base64 content of all resources, and any file content returned from tool calls in memory in order to return the JSON data from MCP servers.
Describe the solution you'd like
We need an official way to be able to stream data to clients (ideally as binary), and not use JSON RPC as a wrapper, so we can control RAM usage.
I am genuinely concerned that if GitHub provides a hosted remote server and it proves to be popular at the same time as more host applications support Resources etc. we are going to end up with ridiculous RAM requirements, which are avoidable by offering a way to stream responses.
An alternative could be providing download URLs, and then not using MCP server itself as a file streaming server.