Skip to content

New Google ADK Tooling Extension#156

Open
JesuTerraz wants to merge 25 commits intomainfrom
users/jterrazas/google-adk-support
Open

New Google ADK Tooling Extension#156
JesuTerraz wants to merge 25 commits intomainfrom
users/jterrazas/google-adk-support

Conversation

@JesuTerraz
Copy link
Contributor

No description provided.

@JesuTerraz JesuTerraz marked this pull request as ready for review February 3, 2026 21:44
@JesuTerraz JesuTerraz requested review from a team as code owners February 3, 2026 21:44
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request adds a new Google ADK (Agent Development Kit) tooling extension to the Agent365 Python SDK. The extension provides MCP (Model Context Protocol) tool registration capabilities for Google ADK-based agents, allowing them to dynamically discover and integrate MCP tool servers.

Changes:

  • Added new microsoft-agents-a365-tooling-extensions-google library package with MCP tool registration service
  • Implemented comprehensive unit tests covering initialization, tool server registration, error handling, and cleanup
  • Updated workspace configuration to include the new Google extension package

Reviewed changes

Copilot reviewed 12 out of 12 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
libraries/microsoft-agents-a365-tooling-extensions-google/microsoft_agents_a365/tooling/extensions/google/services/mcp_tool_registration_service.py Core service implementation for registering MCP tool servers with Google ADK agents
libraries/microsoft-agents-a365-tooling-extensions-google/microsoft_agents_a365/tooling/extensions/google/services/__init__.py Service module exports
libraries/microsoft-agents-a365-tooling-extensions-google/microsoft_agents_a365/tooling/extensions/google/__init__.py Package initialization and public API exports
libraries/microsoft-agents-a365-tooling-extensions-google/setup.py Package build configuration with dynamic versioning
libraries/microsoft-agents-a365-tooling-extensions-google/pyproject.toml Package metadata, dependencies, and tool configurations
libraries/microsoft-agents-a365-tooling-extensions-google/README.md Package overview and documentation links
libraries/microsoft-agents-a365-tooling-extensions-google/docs/design.md Architectural documentation and usage examples
tests/tooling/extensions/google/test_mcp_tool_registration_service.py Comprehensive unit tests for the registration service
tests/tooling/extensions/google/__init__.py Test package initialization
pyproject.toml Added Google extension to workspace members and dependency constraints
tests/RUNNING_TESTS.md Updated test installation instructions to include Google extension
libraries/LICENSE.md MIT license file for the libraries directory

@JesuTerraz
Copy link
Contributor Author

@copilot open a new pull request to apply changes based on the comments in this thread

Copy link
Contributor

Copilot AI commented Feb 3, 2026

@JesuTerraz I've opened a new pull request, #157, to work on those changes. Once the pull request is ready, I'll request review from you.

* Initial plan

* Fix design.md and add ruff copyright config per review comments

Co-authored-by: JesuTerraz <96103167+JesuTerraz@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: JesuTerraz <96103167+JesuTerraz@users.noreply.github.com>
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 12 out of 12 changed files in this pull request and generated 2 comments.

@JesuTerraz
Copy link
Contributor Author

@copilot open a new pull request to apply changes based on the comments in this thread

Copy link
Contributor

Copilot AI commented Feb 3, 2026

@JesuTerraz I've opened a new pull request, #158, to work on those changes. Once the pull request is ready, I'll request review from you.

* Initial plan

* Fix setup.py consistency and add @pytest.mark.unit decorators

Co-authored-by: JesuTerraz <96103167+JesuTerraz@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: JesuTerraz <96103167+JesuTerraz@users.noreply.github.com>
rahuldevikar761
rahuldevikar761 previously approved these changes Feb 5, 2026
Copy link
Collaborator

@rahuldevikar761 rahuldevikar761 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Create a workitem to validate if new package is being created and deployed. I don't recall on top of my head that we have a dynamic packaging blocked due to security reason.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 11 out of 11 changed files in this pull request and generated 1 comment.

pontemonti
pontemonti previously approved these changes Feb 6, 2026
@JesuTerraz
Copy link
Contributor Author

@copilot open a new pull request to apply changes based on the comments in this thread. Please be sure to find all google references that should be changed to googleadk

Copy link
Contributor

Copilot AI commented Feb 6, 2026

@JesuTerraz I've opened a new pull request, #166, to work on those changes. Once the pull request is ready, I'll request review from you.

* Initial plan

* Fix file structure path from google/ to googleadk/ in design.md

Co-authored-by: JesuTerraz <96103167+JesuTerraz@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: JesuTerraz <96103167+JesuTerraz@users.noreply.github.com>
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 11 out of 11 changed files in this pull request and generated 4 comments.

Copilot AI review requested due to automatic review settings February 6, 2026 18:55
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 11 out of 11 changed files in this pull request and generated 2 comments.

Copilot AI review requested due to automatic review settings February 6, 2026 19:17
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 11 out of 12 changed files in this pull request and generated 1 comment.

Comment on lines +122 to +131
# Combine existing tools with new MCP servers
all_tools = list(agent.tools) + mcp_servers_info

self._logger.info(
f"Successfully configured agent with {len(mcp_servers_info)} MCP tool servers "
f"(total tools: {len(all_tools)})"
)

agent.tools = all_tools

Copy link

Copilot AI Feb 6, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add_tool_servers_to_agent() always appends toolsets for every server config without checking whether the agent already has a toolset for that server. If this method is called more than once for the same agent/context, it can create duplicate tools and duplicate entries in _connected_servers (and then attempt to close them multiple times during cleanup). Consider de-duping by server URL (or an explicit server identifier) before appending to agent.tools and _connected_servers.

Copilot uses AI. Check for mistakes.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@copilot open a new pull request to apply changes based on this feedback

Copy link
Contributor

Copilot AI commented Feb 6, 2026

@JesuTerraz I've opened a new pull request, #168, to work on those changes. Once the pull request is ready, I'll request review from you.

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