Skip to content

C# Re-implementation#5

Open
PederHP wants to merge 22 commits intomainfrom
csharp_reimplementation
Open

C# Re-implementation#5
PederHP wants to merge 22 commits intomainfrom
csharp_reimplementation

Conversation

@PederHP
Copy link
Copy Markdown
Member

@PederHP PederHP commented Mar 14, 2026

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.

@PederHP PederHP marked this pull request as ready for review March 17, 2026 18:56
PederHP added 18 commits April 6, 2026 17:20
- 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.
…proved payload handling and synchronization for notification registrations
…new proxy capabilities and improved error handling
… 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
…ble HTTP transport and enhance JSON configuration
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant