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.
29 lines
641 B
JSON
29 lines
641 B
JSON
{
|
|
"serverInfo": {
|
|
"name": "config-driven-interceptor-proxy",
|
|
"version": "1.0.0"
|
|
},
|
|
"backend": {
|
|
"transport": "http",
|
|
"name": "EverythingServer",
|
|
"endpoint": "http://localhost:3001/mcp"
|
|
},
|
|
"staticInterceptors": [
|
|
{
|
|
"transport": "http",
|
|
"name": "SecurityInterceptorServer",
|
|
"endpoint": "http://localhost:3002/mcp"
|
|
}
|
|
],
|
|
"dynamicInterceptors": {
|
|
"alice": [
|
|
{
|
|
"connectionId": "alice-sink",
|
|
"transport": "http",
|
|
"name": "AliceInterceptorServer",
|
|
"endpoint": "http://localhost:3003/mcp"
|
|
}
|
|
]
|
|
},
|
|
"interceptedEvents": ["tools/call"]
|
|
}
|