Replies: 1 comment
-
Opened a discussion in the specification repo : modelcontextprotocol/modelcontextprotocol#266 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Pre-submission Checklist
Your Idea
Problem
Today, MCP Clients have to keep a connection open with an MCP server to facilitate communication between them. However, for asynchronous workloads where tools can take a long time to complete a task, maintaining the HTTP connection between client and server is often unnecessary and resource-intensive. With support for session management, this is mitigated to a great extent – clients can disconnect and poll the server intermittently to get the status. However, this polling approach still leads to inefficient resource utilization and can increase the network load (especially for MCP Clients & Servers running at scale using HTTP transport layer). This problem is further exacerbated in a multi-tenant MCP server.
Idea
Instead of clients having to pro-actively poll the server for updates or maintain an open connection with a server, the MCP protocol should (optionally) support messaging from server to client through callbacks on the HTTP transport
There are several benefits of introducing callbacks:
Scope
Beta Was this translation helpful? Give feedback.
All reactions