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:
parent
d01a626b76
commit
2b1d10093e
4 changed files with 216 additions and 188 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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).
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue