Define types and architecture for a variant-aware MCP server (#2)
Defines the core types and API for server variants extension, laying groundwork for multi-variant server implementation. Server.Run() is not yet implemented but architecture is designed and documented. - Add Server type with variant registration - Implement default priority-based ranking - Define ServerVariant, VariantHints, and related types per SEP spec - Add comprehensive example demonstrating intended multi-variant usage - Document implementation plan for Server.Run() dispatch architecture Next PRs: - Unit Tests - Implementation for Server.Run - Conformance Testing Signed-off-by: Kurt Degiorgio <kdegiorgio@bloomberg.net>
This commit is contained in:
parent
4f98e0aab3
commit
dbf99bebf0
1 changed files with 576 additions and 7 deletions
|
|
@ -1,3 +1,13 @@
|
|||
module github.com/modelcontextprotocol/experimental-ext-variants/go/sdk
|
||||
|
||||
go 1.23.0
|
||||
go 1.23.0
|
||||
|
||||
toolchain go1.24.3
|
||||
|
||||
require github.com/modelcontextprotocol/go-sdk v1.2.0
|
||||
|
||||
require (
|
||||
github.com/google/jsonschema-go v0.3.0 // indirect
|
||||
github.com/yosida95/uritemplate/v3 v3.0.2 // indirect
|
||||
golang.org/x/oauth2 v0.30.0 // indirect
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in a new issue