Right now, requests to a single MCP session are serialized by our jsonrpc2 framework, allowing the server to observe requests in logical order.
For gopls, we support a jsonrpc2.Async(ctx) method, similar to t.Parallel(), which allows the request to be handled asynchronously to other requests.
Perhaps this is irrelevant in the context of stateless servers, which will automatically handle requests asynchronously on a separate handler. But it needs to be considered.
Right now, requests to a single MCP session are serialized by our jsonrpc2 framework, allowing the server to observe requests in logical order.
For gopls, we support a
jsonrpc2.Async(ctx)method, similar tot.Parallel(), which allows the request to be handled asynchronously to other requests.Perhaps this is irrelevant in the context of stateless servers, which will automatically handle requests asynchronously on a separate handler. But it needs to be considered.