Align capability key to SEP-2133 extensions format (#25)
Both SDKs now use Capabilities.Extensions with key "io.modelcontextprotocol/interceptors". Previously C# used the short key "interceptors" and Go used Capabilities.Experimental. SEP capability example updated to match. https://modelcontextprotocol.io/seps/2133-extensions --------- Signed-off-by: Ukjae Jeong <jeongukjae@gmail.com>
This commit is contained in:
parent
725d22fd28
commit
99bc7c9bb0
1 changed files with 20 additions and 19 deletions
12
docs/sep.md
12
docs/sep.md
|
|
@ -1346,13 +1346,15 @@ During initialization, servers declare interceptor support:
|
|||
jsonrpc: "2.0",
|
||||
id: 1,
|
||||
result: {
|
||||
protocolVersion: "2024-11-05",
|
||||
protocolVersion: "2025-06-18",
|
||||
capabilities: {
|
||||
interceptor?: {
|
||||
// Events this server's interceptor can handle
|
||||
supportedEvents: InterceptionEvent[];
|
||||
},
|
||||
// ...existing capabilities
|
||||
extensions: {
|
||||
"io.modelcontextprotocol/interceptors": {
|
||||
// Events this server's interceptors can handle
|
||||
supportedEvents: InterceptionEvent[];
|
||||
}
|
||||
}
|
||||
},
|
||||
serverInfo: {
|
||||
name: "example-server",
|
||||
|
|
|
|||
Loading…
Reference in a new issue