feat(core): protocol and wire transport support for secure parameters - #775
Open
anubhav756 wants to merge 1 commit into
Open
feat(core): protocol and wire transport support for secure parameters#775anubhav756 wants to merge 1 commit into
anubhav756 wants to merge 1 commit into
Conversation
com.google.cloud/toolbox.v1
anubhav756
force-pushed
the
anubhav-secure-params
branch
from
August 19, 2026 13:30
791a5ce to
f31f800
Compare
anubhav756
marked this pull request as ready for review
August 19, 2026 14:30
anubhav756
requested review from
averikitsch,
dishaprakash,
duwenxin99 and
twishabansal
August 19, 2026 14:30
anubhav756
force-pushed
the
anubhav-secure-params
branch
2 times, most recently
from
August 20, 2026 05:55
3a7f0a2 to
fb86f81
Compare
com.google.cloud/toolbox.v1
anubhav756
force-pushed
the
anubhav-secure-params
branch
from
August 20, 2026 06:25
fb86f81 to
b5cd3fd
Compare
twishabansal
approved these changes
Aug 20, 2026
Contributor
|
nit: Small description/code mismatch: the description says we advertise {"secure_parameters": True} but the code sends {}. |
Contributor
Author
Updated. Thanks for catching that! |
duwenxin99
approved these changes
Aug 21, 2026
anubhav756
force-pushed
the
anubhav-secure-params
branch
from
August 25, 2026 07:26
b5cd3fd to
f635811
Compare
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.
Description
Implements the protocol and wire transport layer for Secure Parameters (
com.google.cloud/toolbox.v1) in core package, per MCP SEP-2243.This change enables MCP client capabilities advertisement, discovery parsing of
secureInputSchema, and serialization ofsecureArgumentsduring tool execution in MCP protocolv2026-07-28.Changes
extensions["com.google.cloud/toolbox.v1"] = {}during MCP initialization.ToolSchemato parsesecureInputSchemaintosecure_parameters: list[ParameterSchema]duringtools/list.secure_arguments(serialization_alias="secureArguments") toCallToolRequestParams.ITransport.tool_invoke()to acceptsecure_arguments: Optional[Mapping[str, Any]] = None.NotImplementedErroracross legacy transports (v20241105,v20250326,v20250618,v20251125) if non-emptysecure_argumentsis passed.secureInputSchemadiscovery parsing, and wire-levelsecureArgumentsJSON payload formatting.test_v20241105.py,test_v20250326.py,test_v20250618.py, andtest_v20251125.pyassertingNotImplementedError.