Skip to content

Uvx support#1359

Merged
xiangyan99 merged 17 commits intomainfrom
uvx_support
Jan 23, 2026
Merged

Uvx support#1359
xiangyan99 merged 17 commits intomainfrom
uvx_support

Conversation

@xiangyan99
Copy link
Copy Markdown
Member

What does this PR do?

[Provide a clear, concise description of the changes]

Add uvx support.

[Any additional context, screenshots, or information that helps reviewers]

GitHub issue number?

[Link to the GitHub issue this PR addresses]

Pre-merge Checklist

  • Required for All PRs
    • Read contribution guidelines
    • PR title clearly describes the change
    • Commit history is clean with descriptive messages (cleanup guide)
    • Added comprehensive tests for new/modified functionality
    • Updated servers/Azure.Mcp.Server/CHANGELOG.md and/or servers/Fabric.Mcp.Server/CHANGELOG.md for product changes (features, bug fixes, UI/UX, updated dependencies)
  • For MCP tool changes:
    • One tool per PR: This PR adds or modifies only one MCP tool for faster review cycles
    • Updated servers/Azure.Mcp.Server/README.md and/or servers/Fabric.Mcp.Server/README.md documentation
    • Validate README.md changes using script at eng/scripts/Process-PackageReadMe.ps1. See Package README
    • Updated command list in /servers/Azure.Mcp.Server/docs/azmcp-commands.md and/or /docs/fabric-commands.md
    • Run .\eng\scripts\Update-AzCommandsMetadata.ps1 to update tool metadata in azmcp-commands.md (required for CI)
    • For new or modified tool descriptions, ran ToolDescriptionEvaluator and obtained a score of 0.4 or more and a top 3 ranking for all related test prompts
    • For tools with new names, including new tools or renamed tools, update consolidated-tools.json
    • For new tools associated with Azure services or publicly available tools/APIs/products, add URL to documentation in the PR description
  • Extra steps for Azure MCP Server tool changes:
    • Updated test prompts in /servers/Azure.Mcp.Server/docs/e2eTestPrompts.md
    • 👉 For Community (non-Microsoft team member) PRs:
      • Security review: Reviewed code for security vulnerabilities, malicious code, or suspicious activities before running tests (crypto mining, spam, data exfiltration, etc.)
      • Manual tests run: added comment /azp run mcp - pullrequest - live to run Live Test Pipeline

@xiangyan99 xiangyan99 changed the title Uvx support [In progress] Uvx support Dec 10, 2025
@xiangyan99 xiangyan99 marked this pull request as ready for review January 13, 2026 23:18
@xiangyan99 xiangyan99 requested a review from a team as a code owner January 13, 2026 23:18
Copilot AI review requested due to automatic review settings January 13, 2026 23:18
@xiangyan99 xiangyan99 requested review from a team as code owners January 13, 2026 23:18
@xiangyan99 xiangyan99 changed the title [In progress] Uvx support Uvx support Jan 13, 2026
Copy link
Copy Markdown
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 adds PyPI packaging support to enable installation of Azure MCP Server via pip, pipx, and uvx. The implementation creates platform-specific wheels containing pre-compiled binaries for different OS and architecture combinations.

Changes:

  • Added PyPI packaging infrastructure including packaging script (Pack-Pypi.ps1), Python entry point modules, and project template
  • Updated build scripts to extract and track PyPI-specific properties from project files
  • Added PyPI package configuration to Azure.Mcp.Server.csproj

Reviewed changes

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

Show a summary per file
File Description
servers/Azure.Mcp.Server/src/Azure.Mcp.Server.csproj Added PyPI package metadata (package name and keywords)
eng/scripts/Process-PackageReadMe.ps1 Added 'pypi' as a valid package type for README processing
eng/scripts/Pack-Pypi.ps1 New script to create platform-specific PyPI wheels with embedded binaries
eng/scripts/New-BuildInfo.ps1 Added extraction of PyPI properties from project files
eng/scripts/Get-ProjectProperties.ps1 Added PyPI-related properties to extraction list
eng/pypi/wrapper/init.py Cross-platform wrapper package (currently unused by packaging script)
eng/pypi/pyproject.toml.template Template for PyPI package metadata
eng/pypi/init.py Python entry point that executes the platform-specific binary
eng/pypi/README.md Documentation for PyPI packaging process

Comment thread eng/pypi/wrapper/__init__.py Outdated
Comment thread eng/pypi/wrapper/__init__.py Outdated
Comment thread eng/pypi/wrapper/__init__.py Outdated
Comment thread eng/pypi/wrapper/__init__.py Outdated
Comment thread eng/pypi/__init__.py
Comment thread eng/pypi/wrapper/__init__.py Outdated
Comment thread eng/scripts/New-BuildInfo.ps1
Comment thread eng/pypi/README.md
Comment thread eng/scripts/Pack-Pypi.ps1 Outdated
Comment thread eng/scripts/Pack-Pypi.ps1 Outdated
Comment thread eng/pypi/README.md
Comment thread eng/pypi/README.md
Comment thread eng/pipelines/templates/jobs/pypi/release-pypi.yml Outdated
Comment thread eng/scripts/Pack-Pypi.ps1 Outdated
Comment thread eng/pipelines/templates/jobs/pypi/pack-pypi.yml
Comment thread eng/scripts/Pack-Pypi.ps1 Outdated
Comment thread eng/scripts/Pack-Pypi.ps1 Outdated
Copy link
Copy Markdown
Contributor

@scbedd scbedd left a comment

Choose a reason for hiding this comment

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

  1. Pin package versions used for build + python version.
  2. Run a test release from your branch for the template server before merging.

It looks great otherwise @xiangyan99 .

@github-project-automation github-project-automation Bot moved this from Untriaged to In Progress in Azure MCP Server Jan 23, 2026
Copy link
Copy Markdown
Contributor

@scbedd scbedd left a comment

Choose a reason for hiding this comment

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

I do not agree with unpinned python version + build and wheel version, but I'm also not going to block. We can always add it later. All good now!

Please run a complete release of template.server to verify complete release flow before merge.

@xiangyan99
Copy link
Copy Markdown
Member Author

I do not agree with unpinned python version + build and wheel version, but I'm also not going to block. We can always add it later.

Please run a complete release of template.server to verify complete release flow before merge.

Sorry I misunderstood. Updated the PR to ping the build and wheel version.

scbedd
scbedd approved these changes Jan 23, 2026
@xiangyan99 xiangyan99 merged commit 023bfd6 into main Jan 23, 2026
53 checks passed
@xiangyan99 xiangyan99 deleted the uvx_support branch January 23, 2026 23:27
@github-project-automation github-project-automation Bot moved this from In Progress to Done in Azure MCP Server Jan 23, 2026
colbytimm pushed a commit to colbytimm/microsoft-mcp that referenced this pull request Apr 20, 2026
* add uvx support

* updates

* update

* update

* update

* modifications to include the new artifact

* update

* update

* added pypi settings

* update release-pypi script

* address feedback

* ping build tool versions

---------

Co-authored-by: Scott Beddall <scbedd@microsoft.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants