query-azure-devopslisted
Install: claude install-skill justinmchoi/ai-toolkit
# Query Azure DevOps
Azure DevOps is not reachable via WebFetch or generic MCP servers.
The correct path is the Azure CLI with the `azure-devops` extension.
## Tech-Path Discovery (run in order, stop at the first success)
```
1. WebFetch dev.azure.com/* -> ALWAYS FAILS (redirects to MSFT login)
2. ToolSearch "azure devops mcp" -> MISS - azure MCP covers infrastructure
(Storage, Key Vault, Cosmos DB), not DevOps
3. Atlassian MCP -> MISS - surfaces Confluence only, no ADO
4. az account show -> PASS if Azure CLI is authenticated
5. az extension list | grep azure-devops -> PASS if the extension is installed
```
If step 4 or 5 fails, tell the user to run:
```sh
az login
az extension add --name azure-devops
```
## Query Work Items (WIQL)
```sh
az boards query \
--wiql "SELECT [System.Id], [System.Title], [System.WorkItemType], [System.State], \
[System.AssignedTo], [System.CreatedDate], [System.ChangedDate] \
FROM WorkItems \
WHERE [System.AssignedTo] = '<email>' \
AND [System.ChangedDate] >= '<YYYY-MM-DD>' \
AND [System.ChangedDate] <= '<YYYY-MM-DD>' \
ORDER BY [System.ChangedDate] DESC" \
--organization https://dev.azure.com/<org> \
--project <project> \
--output json
```
Useful WIQL fields: `[System.WorkItemType]`, `[System.State]`, `[System.Tags]`, `[System.IterationPath]`, `[Microsoft.VSTS.