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
I have verified that this discussion would not be more appropriate as an issue in a specific repository
I have searched existing discussions to avoid duplicates
Discussion Topic
The stdio and HTTP transport are well abstracted in the library, but the local mcp servers are treated as a special case.
In the old times we had COM and Remoting which provided the "transparency" concept as opposed to the SOA architecture.
What I am asking is the ability to activate an MCP server regardless it is in-process or over stdio/HTTP. The protocol decision should be just a matter of configuration settings.
I already implemented the required code on my own, which consists on:
A class holding the two Pipes needed to communicate with the inproc MCP server
A proxy class that, based on the configuration, creates the appropriate transport to communicate with the MCP server and creates the corresponding MCP Client instance. For inproc MCP servers, I decided to create a single MCP Client.
Three JSON converters to create the transports (stdio, HTTP and inproc) based on the JSON de-facto standard configuration used by VSCode, ClaudeAI and others. The inproc converter is optional and used only when the user want to manually load an external dll containing MCP servers.
Beyond the choices I made for my own scenarios, I believe that supporting the transparency concept could be really helpful for application developers.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Pre-submission Checklist
Discussion Topic
The stdio and HTTP transport are well abstracted in the library, but the local mcp servers are treated as a special case.
In the old times we had COM and Remoting which provided the "transparency" concept as opposed to the SOA architecture.
What I am asking is the ability to activate an MCP server regardless it is in-process or over stdio/HTTP. The protocol decision should be just a matter of configuration settings.
I already implemented the required code on my own, which consists on:
Pipesneeded to communicate with the inproc MCP serverBeyond the choices I made for my own scenarios, I believe that supporting the transparency concept could be really helpful for application developers.
Any thoughts?
Beta Was this translation helpful? Give feedback.
All reactions