SEP-2053: Server Variants extension #2053
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
This PR introduces SEP-2053: Server Variants, which proposes a server-level variant mechanism enabling MCP servers to expose multiple variants simultaneously. Each variant includes a unique identifier, human-readable description, and key-value hints that intelligent clients can use to select an appropriate variant for their context.
The primary motivation is cross-agent tool reusability - enabling the same MCP tools to serve fundamentally different agent architectures (coding assistants, research agents, task automation agents, conversational agents, etc.) or models (claude, gpt, gemini etc) with optimized surface areas tailored to each use case.
Motivation and Context
Problem: Server capabilities in MCP are currently monolithic - a single capability definition must serve all clients equally, regardless of which LLM is interpreting them, the client's use case, capabilities, or context constraints.
Solution: Server variants allow servers to expose parallel configurations (e.g.,
claude-optimized,gpt-optimized,compact,coding-assistant,automation-agent) that clients can intelligently select based on their context.Why is this needed?
How Has This Been Tested?
This is a specification proposal (SEP) with:
Real-world validation will come from prototype implementations once the SEP is accepted.
Breaking Changes
None - This is fully backward compatible:
_metaon a per-request basisTypes of changes
Checklist
Additional context
Design Principles:
_meta(stateless)Packaging: Currently specified as an MCP extension to minimize core schema churn.
Related Issues:
SEP Status: Draft, seeking sponsor