Implement SEP-1319: Decouple Request Payload from RPC Methods#617
Merged
alexhancock merged 6 commits intomodelcontextprotocol:mainfrom Jan 16, 2026
Merged
Implement SEP-1319: Decouple Request Payload from RPC Methods#617alexhancock merged 6 commits intomodelcontextprotocol:mainfrom
alexhancock merged 6 commits intomodelcontextprotocol:mainfrom
Conversation
71593bc to
662e802
Compare
dc1f667 to
e0c91c4
Compare
alexhancock
approved these changes
Jan 16, 2026
Merged
takumi-earth
pushed a commit
to earthlings-dev/rmcp
that referenced
this pull request
Jan 27, 2026
…ontextprotocol#617) * feat: implement SEP-1319 Decouple Request Payload from RPC Methods * test: update tests * fix: update handler trait methods to use new types * fix: update examples * fix: correct deprecation version * fix: update wrapper macros to use new *Params type names
Merged
9 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Fixes #523
Implments SEP-1319 to comply with the 2025-11-25 MCP spec.
Motivation and Context
To decouple request payloads from RPC method. For more details, see modelcontextprotocol/modelcontextprotocol#1319.
*RequestParamto*RequestParams(plural) to match the updated schema reference_meta(containingprogressToken) from the JSON-RPC envelope into the params struct itselfRequestParamsMetaandTaskAugmentedRequestParamsMetatraits to model the spec's interface inheritanceUsed modelcontextprotocol/typescript-sdk#1086 as a reference implementation.
How Has This Been Tested?
_metafield serializes correctly with#[serde(rename = "_meta")]Breaking Changes
The existing code will compile with warnings with the migration path:
meta: Option<Meta>field added to all param structs (defaults toNone)There is a compile-time breaking change, even when using the deprecated alias. When constructing structs directly (not via deserialization), users must now add
meta: None:Types of changes
Checklist
Additional context