Skip to content

Conversation

@twishabansal
Copy link
Contributor

@twishabansal twishabansal commented Sep 11, 2025

Add support for auth related features such as Authorized Invocations and Authenticated Parameters.

@twishabansal twishabansal marked this pull request as ready for review September 23, 2025 16:28
@twishabansal twishabansal requested a review from a team as a code owner September 23, 2025 16:28
@twishabansal twishabansal added the do not merge Indicates a pull request not ready for merge, due to either quality or timing. label Sep 23, 2025
@twishabansal twishabansal removed the do not merge Indicates a pull request not ready for merge, due to either quality or timing. label Oct 4, 2025
@twishabansal twishabansal requested a review from kurtisvg October 14, 2025 16:42
@twishabansal twishabansal changed the base branch from mcp-transport-implement to feat-mcp December 9, 2025 19:14
@twishabansal twishabansal merged commit c646094 into feat-mcp Dec 9, 2025
16 checks passed
@twishabansal twishabansal deleted the auth-param-support branch December 9, 2025 20:19
twishabansal added a commit that referenced this pull request Dec 10, 2025
* feat: Add mcp transport protocol (#345)

* add basic code

* fixes

* test fix

* new unit tests

* rename ToolboxTransport

* add py3.9 support

* fix langchain tool tests

* test fix

* lint

* fix tests

* move manage session into transport

* move warning to diff file

* avoid code duplication

* fix tests

* lint

* remove redundant tests

* make invoke method return str

* lint

* fix return type

* small refactor

* refactor: remove transport logic from client tests

* try

* version negotiation

* small changes

* lint

* fix endpoint

* add some todos

* lint

* initialise in init

* lint

* add support for 'Mcp-session-id'

* lint

* add todo

* add mcp protocol version to the latest protocol

* add test coverage

* small fix

* small fix

* small fix

* thread fixes

* try

* add tests

* lint

* change small

* nit

* small debugging

* add todos

* small bug fixes

* add todo

* remove id field from notifications

* refactor

* preprocess tools with empty params

* fix types

* fix bugs

* better error log

* small cleanup

* handle notifications

* fix unit tests

* lint

* decouple client from transport

* lint

* use toolbox protocol for e2e tests

* add e2e tests for mcp

* lint

* remove mcp as default protocol

* remove auth tests from mcp

* remove redundant lines

* remove redundant lines

* lint

* revert some changes

* initialise session in a better way

* small fix

* added more test cov

* lint

* rename private method

* Made methods private

* lint

* rename base url

* resolve comment

* better readability

* fix tests

* lint

* fix tests

* lint

* refactor mcp versions

* lint

* added test coverage

* refactor mcp

* lint

* improve cov

* lint

* removed process id

* Update class name

* remove mcp latest

* rename mcp.py

* have a single method for session init

* lint

* better type checks for v20241105

* Revert "better type checks for v20241105"

This reverts commit bc6da15.

* update type checking

* lint

* clean file

* refactor files

* refactor all versions

* fix mypy errors

* refactor properly

* lint

* run mcp e2e tests on all versions

* feat: Add support for auth related features (#363)

* test fix

* lint

* make invoke method return str

* lint

* try

* version negotiation

* small changes

* lint

* fix endpoint

* add some todos

* lint

* initialise in init

* lint

* add support for 'Mcp-session-id'

* lint

* add todo

* add mcp protocol version to the latest protocol

* small fix

* small fix

* small fix

* thread fixes

* try

* add tests

* lint

* change small

* small debugging

* add todos

* small bug fixes

* add todo

* remove id field from notifications

* refactor

* preprocess tools with empty params

* fix types

* fix bugs

* better error log

* small cleanup

* handle notifications

* fix unit tests

* lint

* decouple client from transport

* lint

* use toolbox protocol for e2e tests

* lint

* remove mcp as default protocol

* remove redundant lines

* remove redundant lines

* lint

* revert some changes

* initialise session in a better way

* small fix

* Made methods private

* lint

* rename base url

* resolve comment

* better readability

* add auth tests

* lint

* fix test

* rename authParam to authParams

* refactor mcp versions

* fix tests

* lint

* add auth param support code

* lint

* add unit test

* lint

* test fix

* lint

* fix test

* better error handling

* fix test

* add debug statement

* add debug statement

* add debug statement

* remove debug

* remove not needed files

* refactor mcp

* lint

* improve cov

* lint

* add feat files

* small fix

* small fix

* Update test_e2e_mcp.py

* add new tests

* add more test cases

* remove files

* remove rebase changes

* fix rebase issues

* lint

* fix rebase issues

* add test case

* fix test

* fix convert schema logic

* lint

* feat: Make mcp the default protocol (#364)

* add basic code

* fixes

* test fix

* new unit tests

* rename ToolboxTransport

* add py3.9 support

* fix langchain tool tests

* test fix

* lint

* fix tests

* move manage session into transport

* move warning to diff file

* avoid code duplication

* fix tests

* lint

* remove redundant tests

* make invoke method return str

* lint

* fix return type

* small refactor

* refactor: remove transport logic from client tests

* try

* version negotiation

* small changes

* lint

* fix endpoint

* add some todos

* lint

* initialise in init

* lint

* add support for 'Mcp-session-id'

* lint

* add todo

* add mcp protocol version to the latest protocol

* add test coverage

* small fix

* small fix

* small fix

* thread fixes

* try

* add tests

* lint

* change small

* nit

* small debugging

* add todos

* small bug fixes

* add todo

* remove id field from notifications

* refactor

* preprocess tools with empty params

* fix types

* fix bugs

* better error log

* small cleanup

* handle notifications

* fix unit tests

* lint

* decouple client from transport

* lint

* use toolbox protocol for e2e tests

* add e2e tests for mcp

* lint

* remove mcp as default protocol

* remove auth tests from mcp

* remove redundant lines

* remove redundant lines

* lint

* revert some changes

* initialise session in a better way

* small fix

* added more test cov

* lint

* rename private method

* Made methods private

* lint

* rename base url

* resolve comment

* better readability

* add auth tests

* lint

* fix test

* make mcp the default protocol

* lint

* rename authParam to authParams

* fix tests

* lint

* fix tests

* lint

* refactor mcp versions

* lint

* added test coverage

* add auth param support code

* lint

* add unit test

* lint

* lint

* test fix

* lint

* fix test

* better error handling

* fix test

* add debug statement

* add debug statement

* Update integration.cloudbuild.yaml

* add debug statement

* remove debug

* update server version

* Update test_sync_e2e.py

* Update test_e2e.py

* Update test_e2e.py

* refactor mcp

* lint

* improve cov

* lint

* removed process id

* remove not needed files

* add feat files

* small fix

* small fix

* Update test_e2e_mcp.py

* add new tests

* add more test cases

* fix tests

* remove unwanted files
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants