Open
Conversation
- Introduced a new sample project `TransparentProxySample` demonstrating the use of a transparent MCP proxy that connects to both a backend MCP server and an interceptor server. - Implemented `McpInterceptorGateway` to handle requests through interceptor chains before forwarding to the backend server. - Added `InterceptorChainRunner` to manage the execution of interceptor phases. - Enhanced `McpInterceptorGateway` with configuration options for backend and interceptor clients. - Created unit tests for the `McpInterceptorGateway` to validate capabilities, interceptor invocation, and payload mutation. - Updated project references and dependencies in the test project.
…ication forwarding
…s once per session
…and add tests for mutation failures
…proved payload handling and synchronization for notification registrations
…new proxy capabilities and improved error handling
…or advanced mode and update documentation
…ng in McpInterceptorGateway
… Proxy Configurator - Added `GatewayInterceptorProtocolBridge` to manage capabilities and passthrough filters for interceptors. - Implemented `GatewayProxyConfigurator` to configure server options based on backend capabilities. - Centralized extension capability key in `InterceptorProtocolConstants`. - Updated `McpServerInterceptorBuilderExtensions` to use the new centralized key. - Enhanced tests for gateway components to validate new functionality and configurations.
…rceptor gateway and implement connection forwarding logic
… interceptor server connections and update related documentation
…tised in server options
…nce gateway configuration options
…on and program logic
…ble HTTP transport and enhance JSON configuration
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Re-implementation of C# interceptors SDK with clearer focus on server-side / gateway interceptors.
Fixes a lot of issues with the existing implementation.
Still more boilerplate than I'm happy with, but this is better than what was there. Will refine further in later PRs.