MCPcopy Index your code
hub / github.com/Azure/azure-devops-cli-extension

github.com/Azure/azure-devops-cli-extension @20260702.1

Chat with this repo
repository ↗ · DeepWiki ↗ · release 20260702.1 ↗ · + Follow
14,697 symbols 31,326 edges 759 files 8,707 documented · 59%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Azure DevOps Extension for Azure CLI

Build Status

The Azure DevOps Extension for Azure CLI adds Pipelines, Boards, Repos, Artifacts and DevOps commands to the Azure CLI 2.0.

The Azure CLI with the Azure DevOps Extension has replaced the VSTS CLI. The VSTS CLI has been deprecated and will no longer be receiving new features. We recommend that users of the VSTS CLI switch to the Azure CLI and add the Azure DevOps extension. See the Command Mapping section to view the mapping between VSTS CLI and Azure DevOps Extension commands.

Quick start

  1. Install the Azure CLI. You must have at least v2.0.69, which you can verify with the az --version command.

  2. Add the Azure DevOps Extension az extension add --name azure-devops

  3. Run the az login command.

If the CLI can open your default browser, it will do so and load a sign-in page. Otherwise, you need to open a browser page and follow the instructions on the command line to enter an authorization code after navigating to https://aka.ms/devicelogin in your browser. For more information, see the Azure CLI login page.

See the Get started guide for detailed setup instructions.

Usage

$az [group] [subgroup] [command] {parameters}

Adding the Azure DevOps Extension adds devops, pipelines, artifacts, boards and repos groups. Enterprise live migrations are available under az devops migrations. For usage and help content for any command, pass in the -h parameter, for example:

$ az devops -h

Group
    az devops : Manage Azure DevOps organization level operations.
        Related Groups
        az pipelines: Manage Azure Pipelines
        az boards: Manage Azure Boards
        az repos: Manage Azure Repos
        az artifacts: Manage Azure Artifacts.

Subgroups:
    admin            : Manage administration operations.
    migrations       : Manage enterprise live migrations.
    extension        : Manage extensions.
    project          : Manage team projects.
    security         : Manage security related operations.
    service-endpoint : Manage service endpoints/service connections.
    team             : Manage teams.
    user             : Manage users.
    wiki             : Manage wikis.

Commands:
    configure        : Configure the Azure DevOps CLI or view your configuration.
    feedback         : Displays information on how to provide feedback to the Azure DevOps CLI team.
    invoke           : This command will invoke request for any DevOps area and resource. Please use
                       only json output as the response of this command is not fixed. Helpful docs -
                       https://docs.microsoft.com/en-us/rest/api/azure/devops/.
    login            : Set the credential (PAT) to use for a particular organization.
    logout           : Clear the credential for all or a particular organization.

Contribute

See our contribution guidelines to learn how you can contribute to this project.

TLDR of contribution guidelines

Questions : Stack Overflow

Bug reports : Developer Community

New Feature request : Azure DevOps repo

License

MIT License

Core symbols most depended-on inside this repo

_send
called by 3377
azure-devops/azext_devops/devops_sdk/client.py
_unwrap_collection
called by 941
azure-devops/azext_devops/devops_sdk/client.py
get
called by 185
azure-devops/azext_devops/devops_sdk/_file_cache.py
start
called by 136
azure-devops/azext_devops/dev/common/external_tool.py
resolve_instance_and_project
called by 121
azure-devops/azext_devops/dev/common/services.py

Shape

Method 9,004
Class 4,999
Function 694

Languages

Python100%

Modules by API surface

azure-devops/azext_devops/devops_sdk/v6_0/task_agent/models.py244 symbols
azure-devops/azext_devops/devops_sdk/v5_1/task_agent/models.py242 symbols
azure-devops/azext_devops/devops_sdk/v5_0/task_agent/models.py234 symbols
azure-devops/azext_devops/devops_sdk/v6_0/test/models.py230 symbols
azure-devops/azext_devops/devops_sdk/v5_1/test/models.py230 symbols
azure-devops/azext_devops/devops_sdk/v6_0/git/models.py216 symbols
azure-devops/azext_devops/devops_sdk/v5_1/git/models.py216 symbols
azure-devops/azext_devops/devops_sdk/v5_0/test/models.py216 symbols
azure-devops/azext_devops/devops_sdk/v5_0/git/models.py214 symbols
azure-devops/azext_devops/devops_sdk/v6_0/release/models.py202 symbols
azure-devops/azext_devops/devops_sdk/v6_0/test_results/models.py198 symbols
azure-devops/azext_devops/devops_sdk/v5_1/release/models.py192 symbols

For agents

$ claude mcp add azure-devops-cli-extension \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact