-
Notifications
You must be signed in to change notification settings - Fork 665
Description
Expected Behavior
User can specify a file to dump information about all requests being sent between MCP server and the client
Current Behavior
I don't think there is a way to do it currently.
Context
We created a (LoggingServletTransportProvider)[https://github.com/scalameta/metals/blob/4980076be9436bb13797f553586d9504c46473d9/metals/src/main/scala/scala/meta/internal/metals/mcp/LoggingServletTransportProvider.scala#L23] which does that, but with the new changes that no longer compiles since there is no public constructor. Using the builder and then composing is also not possible because the methods are protected.
We could upstream the LoggingServletTransportProvider or something along these lines if it makes sense.
This is very useful for debugging potential issues with MCP servers especially when users turn on automatic accept.