feat: add support for protocol negotiation fallback with custom arrays#402
Open
anubhav756 wants to merge 5 commits into
Open
feat: add support for protocol negotiation fallback with custom arrays#402anubhav756 wants to merge 5 commits into
anubhav756 wants to merge 5 commits into
Conversation
anubhav756
changed the base branch from
anubhav-mcp-latest
to
anubhav-draft-negotiation
July 2, 2026 07:06
anubhav756
marked this pull request as ready for review
July 2, 2026 07:06
anubhav756
requested review from
Yuan325,
averikitsch,
dishaprakash and
twishabansal
July 2, 2026 07:06
anubhav756
force-pushed
the
anubhav-draft-negotiation
branch
from
July 3, 2026 08:20
d92afc5 to
b213139
Compare
anubhav756
force-pushed
the
anubhav-custom-protocols
branch
from
July 3, 2026 08:27
9226eb8 to
0d70304
Compare
anubhav756
force-pushed
the
anubhav-draft-negotiation
branch
from
July 3, 2026 12:23
b213139 to
01fd05c
Compare
anubhav756
force-pushed
the
anubhav-custom-protocols
branch
from
July 3, 2026 12:23
0d70304 to
9f3a6f9
Compare
anubhav756
force-pushed
the
anubhav-draft-negotiation
branch
from
July 3, 2026 22:39
01fd05c to
a0c429f
Compare
anubhav756
force-pushed
the
anubhav-custom-protocols
branch
2 times, most recently
from
July 3, 2026 22:46
9a5928f to
c648adc
Compare
Contributor
|
Waiting on design approval |
anubhav756
force-pushed
the
anubhav-draft-negotiation
branch
from
July 17, 2026 05:51
a0c429f to
bf46850
Compare
anubhav756
force-pushed
the
anubhav-custom-protocols
branch
from
July 17, 2026 05:51
76a9afb to
8b7fa0e
Compare
anubhav756
changed the base branch from
anubhav-draft-negotiation
to
anubhav-mcp-latest
July 17, 2026 06:01
anubhav756
force-pushed
the
anubhav-custom-protocols
branch
from
July 17, 2026 07:46
8b7fa0e to
f059d65
Compare
anubhav756
force-pushed
the
anubhav-mcp-latest
branch
from
July 17, 2026 07:46
702058c to
866ed6f
Compare
anubhav756
force-pushed
the
anubhav-custom-protocols
branch
from
July 17, 2026 08:15
f059d65 to
208831d
Compare
anubhav756
force-pushed
the
anubhav-custom-protocols
branch
2 times, most recently
from
July 17, 2026 12:26
cc19821 to
7b0b25b
Compare
anubhav756
force-pushed
the
anubhav-mcp-latest
branch
from
July 17, 2026 12:31
72d5e80 to
0b2434f
Compare
anubhav756
force-pushed
the
anubhav-custom-protocols
branch
from
July 17, 2026 12:33
7b0b25b to
96d231f
Compare
anubhav756
force-pushed
the
anubhav-mcp-latest
branch
from
July 17, 2026 12:47
0b2434f to
11225e2
Compare
anubhav756
force-pushed
the
anubhav-custom-protocols
branch
from
July 17, 2026 12:48
96d231f to
3066a37
Compare
anubhav756
force-pushed
the
anubhav-mcp-latest
branch
from
July 17, 2026 12:57
11225e2 to
2e70835
Compare
anubhav756
force-pushed
the
anubhav-custom-protocols
branch
from
July 17, 2026 12:58
3066a37 to
19f6b5f
Compare
anubhav756
force-pushed
the
anubhav-mcp-latest
branch
from
July 17, 2026 14:03
2e70835 to
98dead3
Compare
anubhav756
force-pushed
the
anubhav-custom-protocols
branch
from
July 17, 2026 14:04
19f6b5f to
ea2bae2
Compare
anubhav756
force-pushed
the
anubhav-mcp-latest
branch
from
July 17, 2026 14:06
98dead3 to
4812076
Compare
anubhav756
force-pushed
the
anubhav-custom-protocols
branch
from
July 17, 2026 14:06
ea2bae2 to
3e25000
Compare
anubhav756
force-pushed
the
anubhav-mcp-latest
branch
from
July 17, 2026 14:09
4812076 to
14cb551
Compare
anubhav756
force-pushed
the
anubhav-custom-protocols
branch
2 times, most recently
from
July 17, 2026 15:10
47cad86 to
e8f5afb
Compare
anubhav756
force-pushed
the
anubhav-mcp-latest
branch
2 times, most recently
from
July 17, 2026 15:54
0beedf6 to
5735f04
Compare
anubhav756
force-pushed
the
anubhav-custom-protocols
branch
from
July 17, 2026 15:55
e8f5afb to
361edd9
Compare
anubhav756
force-pushed
the
anubhav-mcp-latest
branch
from
July 17, 2026 16:14
5735f04 to
f021a1d
Compare
anubhav756
force-pushed
the
anubhav-custom-protocols
branch
from
July 17, 2026 16:17
361edd9 to
ccc2d98
Compare
anubhav756
force-pushed
the
anubhav-mcp-latest
branch
2 times, most recently
from
July 18, 2026 00:50
40bc0b8 to
a5c507b
Compare
… protocol branches
anubhav756
force-pushed
the
anubhav-custom-protocols
branch
from
July 18, 2026 00:58
ccc2d98 to
4c0f812
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
This PR adds support for specifying a custom array of supported MCP protocol versions during
ToolboxClientinitialization. This allows the client to gracefully handle protocol negotiation and fallbacks when interacting with different versions of the Toolbox server.Changes
Protocol.MCP_LATESTandProtocol.MCP_DRAFTaliases to theProtocolenum.TOOLBOX_SERVER_URL_STABLEandTOOLBOX_SERVER_URL_DRAFTconstants.Protocol.MCP_LATESTand testing the array fallback negotiation logic with[Protocol.MCP_LATEST, Protocol.MCP_DRAFT].README.mdto document the new protocol negotiation capabilities with proper code examples.