Skip to content

Conversation

@sellakumaran
Copy link
Contributor

Also get the platform scope from env similar to dotnet sdk.

Also get the platform scope from env similar to dotnet sdk.
Copilot AI review requested due to automatic review settings November 3, 2025 16:05
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 PR updates the tooling gateway URL structure and adds support for environment-based authentication scope configuration.

  • Simplified the tooling gateway URL path from /agentGateway/agentApplicationInstances/{agent_user_id}/mcpServers to /agents/{agent_user_id}/mcpServers
  • Added support for overriding the PPAPI token scope via the MCP_PLATFORM_AUTHENTICATION_SCOPE environment variable

joratz
joratz previously approved these changes Nov 3, 2025
Copilot AI review requested due to automatic review settings November 3, 2025 16:45
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 1 out of 1 changed files in this pull request and generated no new comments.

Comments suppressed due to low confidence (1)

libraries/microsoft-agents-a365-tooling/microsoft_agents_a365/tooling/utils/utility.py:1

  • The copyright header format does not match the required format. It should be '# Copyright (c) Microsoft Corporation.' followed by '# Licensed under the MIT License.' on the next line.
# Copyright (c) Microsoft. All rights reserved.

joratz
joratz previously approved these changes Nov 3, 2025
Replaced `agent_user_id` with `agent_instance_id` across the codebase to standardize the unique identifier for agents. Updated method signatures, arguments, logging, and validation logic to reflect this change.

Aligned token scope handling with the new authentication mechanism by replacing `get_ppapi_token_scope` with `get_mcp_platform_authentication_scope`. Removed legacy token scopes and updated constants accordingly.

Modified tooling gateway URL generation to use `agent_instance_id`. Updated documentation, examples, and logging to ensure consistency with the new identifier.
Copilot AI review requested due to automatic review settings November 3, 2025 20:34
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 no new comments.

Comments suppressed due to low confidence (1)

libraries/microsoft-agents-a365-tooling-extensions-azureaifoundry/microsoft_agents_a365/tooling/extensions/azureaifoundry/services/mcp_tool_registration_service.py:27

  • The imports reference 'microsoft_kairo' which appears to be a legacy reference. These should be updated to use the appropriate 'microsoft_agents_a365' package imports instead, consistent with the rest of the codebase.
from microsoft_kairo.tooling.common.services.mcp_tool_server_configuration_service import (
    McpToolServerConfigurationService,
)
from microsoft_kairo.tooling.common.utils.constants import Constants

pontemonti
pontemonti previously approved these changes Nov 3, 2025
Copilot AI review requested due to automatic review settings November 4, 2025 01:13
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 no new comments.

Comments suppressed due to low confidence (2)

libraries/microsoft-agents-a365-tooling/microsoft_agents_a365/tooling/utils/init.py:4

  • The docstring contains the legacy 'Kairo' keyword. It should be updated to reflect the current product name.
Utility modules for the Kairo SDK Tooling Common components.

libraries/microsoft-agents-a365-tooling-extensions-azureaifoundry/microsoft_agents_a365/tooling/extensions/azureaifoundry/services/mcp_tool_registration_service.py:27

  • The imports reference microsoft_kairo module which appears to be a legacy package name. These imports should be updated to use the correct package name (likely microsoft_agents_a365.tooling based on other files).
from microsoft_kairo.tooling.common.services.mcp_tool_server_configuration_service import (
    McpToolServerConfigurationService,
)
from microsoft_kairo.tooling.common.utils.constants import Constants

@sellakumaran sellakumaran merged commit f81ec6e into main Nov 4, 2025
8 checks passed
@sellakumaran sellakumaran deleted the users/sellak/entraSDK branch November 4, 2025 04:28
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.

5 participants