Import revised sep and update the sep number (#21)

Interceptor SEP has been moved from
https://github.com/modelcontextprotocol/modelcontextprotocol/issues/1763
to
https://github.com/modelcontextprotocol/modelcontextprotocol/issues/2624
.
This PR updates the SEP references over the codebase and import revised
SEP

Signed-off-by: Ukjae Jeong <jeongukjae@gmail.com>
This commit is contained in:
Ukjae Jeong 2026-06-16 05:16:21 +01:00 • committed by GitHub
commit 2b1d10093e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 216 additions and 188 deletions

View file

@ -1,7 +1,7 @@
# MCP Interceptors - C# SDK
## What this is
C# implementation of gateway-level interceptors from [SEP-1763](https://github.com/modelcontextprotocol/modelcontextprotocol/issues/1763). NuGet package additive to the official [C# MCP SDK](https://github.com/modelcontextprotocol/csharp-sdk) (v1.1.0). Focus is on the protocol-level extension (client → interceptor server → server), NOT in-process middleware.
C# implementation of gateway-level interceptors from [SEP-2624](https://github.com/modelcontextprotocol/modelcontextprotocol/issues/2624). NuGet package additive to the official [C# MCP SDK](https://github.com/modelcontextprotocol/csharp-sdk) (v1.1.0). Focus is on the protocol-level extension (client → interceptor server → server), NOT in-process middleware.
## Build & test
```
@ -19,7 +19,7 @@ dotnet test # 66 tests across the interceptor test project
**`InterceptingMcpClient` is composition**: `McpClient` has an internal constructor; subclassing is `[Experimental]`. We wrap it as a concrete class exposing `.Inner` for direct access.
## Chain execution order (SEP-1763)
## Chain execution order (SEP-2624)
- **Request phase (sending)**: Mutations (sequential by priority ↑) → Validations (parallel) → Sinks (fire-and-forget)
- **Response phase (receiving)**: Validations (parallel) → Sinks (fire-and-forget) → Mutations (sequential by priority ↑)
- Lower `PriorityHint` executes first; ties broken alphabetically by name

View file

@ -1,6 +1,6 @@
# ModelContextProtocol.Interceptors
C# implementation of the [MCP Interceptors Extension (SEP-1763)](https://github.com/modelcontextprotocol/modelcontextprotocol/issues/1763) — gateway-level interceptors for the Model Context Protocol.
C# implementation of the [MCP Interceptors Extension (SEP-2624)](https://github.com/modelcontextprotocol/modelcontextprotocol/issues/2624) — gateway-level interceptors for the Model Context Protocol.
Architecture work is tracked in [`docs/ARCHITECTURE_PHASES.md`](docs/ARCHITECTURE_PHASES.md).
SEP follow-up notes from the implementation are captured in [`docs/SEP_PROPOSAL_NOTES.md`](docs/SEP_PROPOSAL_NOTES.md).

View file

@ -5,7 +5,7 @@ namespace ModelContextProtocol.Interceptors.Protocol;
/// <summary>
/// Parameters for SDK-level chain execution (see
/// <see cref="Client.McpClientInterceptorExtensions.ExecuteChainAsync"/>). Per SEP-1763 the chain
/// <see cref="Client.McpClientInterceptorExtensions.ExecuteChainAsync"/>). Per SEP-2624 the chain
/// is orchestrated client-side via <c>interceptors/list</c> + <c>interceptor/invoke</c>; there is
/// no <c>interceptor/executeChain</c> wire method.
/// </summary>

View file

@ -1,7 +1,7 @@
namespace ModelContextProtocol.Interceptors.Protocol;
/// <summary>
/// String constants for the lifecycle events defined by SEP-1763 (Interception Events).
/// String constants for the lifecycle events defined by SEP-2624 (Interception Events).
/// </summary>
/// <remarks>
/// The SEP defines these as the <c>InterceptionEvent</c> type union; in C# the equivalent is