azure-devops
v34.0.0MCP server for Azure DevOps integration - wikis, work items, pull requests, and variable group read access
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
get-configuration
Get the configured Azure DevOps organization and projects. Use this to construct correct URLs.
get-wikis
Get all wikis in an Azure DevOps project
| Parameter | Type | Description |
|---|---|---|
project * | string | The project name |
search-wiki-pages
Search wiki pages across Azure DevOps projects
| Parameter | Type | Description |
|---|---|---|
searchText * | string | The text to search for |
maxResults | number | Maximum number of results (default: 25) |
project | string | Optional project filter |
get-wiki-page
Get a specific wiki page with content from Azure DevOps. Supports lookup by path OR page ID (from wiki URLs like ...wiki/wikis/Wiki.wiki/3789/Page-Name).
| Parameter | Type | Description |
|---|---|---|
project * | string | The project name |
wikiId * | string | The wiki identifier (ID or name) |
includeContent | boolean | Include page content (default: true) |
pageId | number | The numeric page ID from a wiki URL (e.g., 3789 from ...wiki/wikis/Wiki.wiki/3789/Page-Name). Either pageId or pagePath is required. |
pagePath | string | The path to the page (e.g., '/Setup/Authentication'). Either pagePath or pageId is required. |
recursionLevel | string | Populate subPages with child pages: 'oneLevel' for direct children, 'full' for the whole subtree (default: none — subPages omitted). For tree enumeration without content, prefer get-wiki-tree. |
get-wiki-tree
Get the wiki page hierarchy (paths + ids, no content) under a path — enumerate a wiki's structure without pulling page bodies.
| Parameter | Type | Description |
|---|---|---|
project * | string | The project name |
wikiId * | string | The wiki identifier (ID or name) |
depth | string | How deep to enumerate (default: full) |
pagePath | string | Root path to enumerate from (default: '/' — the whole wiki) |
create-wiki-page
Create a new wiki page in Azure DevOps (requires AZUREDEVOPS_ENABLE_WIKI_WRITE=true)
| Parameter | Type | Description |
|---|---|---|
content * | string | The markdown content for the page |
pagePath * | string | The path for the new page (e.g., '/Setup/NewGuide') |
project * | string | The project name |
wikiId * | string | The wiki identifier |
update-wiki-page
Update an existing wiki page in Azure DevOps. Version is auto-fetched if not provided, so you can update pages without first calling get-wiki-page. (requires AZUREDEVOPS_ENABLE_WIKI_WRITE=true)
| Parameter | Type | Description |
|---|---|---|
content * | string | The updated markdown content |
pagePath * | string | The path to the page |
project * | string | The project name |
wikiId * | string | The wiki identifier |
version | string | The ETag/version for optimistic concurrency. If not provided, will be auto-fetched from the current page. |
ado-str-replace-wiki
Replace a specific string in an Azure DevOps wiki page without rewriting entire content. More efficient than update-wiki-page for small changes. (requires AZUREDEVOPS_ENABLE_WIKI_WRITE=true)
| Parameter | Type | Description |
|---|---|---|
new_str * | string | The replacement string |
old_str * | string | The exact string to replace (must be unique unless replace_all is true) |
pagePath * | string | The path to the wiki page (e.g., '/SharePoint-Online/04-DEV-Configuration') |
project * | string | The project name |
wikiId * | string | The wiki identifier (ID or name) |
description | string | Optional description of the change (for audit logging) |
replace_all | boolean | If true, replace all occurrences. If false (default), old_str must be unique in the page. |
delete-wiki-page
Delete a wiki page permanently (requires AZUREDEVOPS_ENABLE_WIKI_DELETE=true). WARNING: This permanently deletes the page and all sub-pages.
| Parameter | Type | Description |
|---|---|---|
pagePath * | string | Page path (e.g., '/Setup/Old-Page') |
project * | string | The project name |
wikiId * | string | The wiki identifier |
download-wiki-attachment
Download a single wiki attachment/image from Azure DevOps wiki to disk. Uses the wiki's backing git repository to retrieve binary files. Claude can then Read the downloaded image for multimodal analysis.
| Parameter | Type | Description |
|---|---|---|
attachmentPath * | string | The attachment path as it appears in wiki markdown (e.g., from /.attachments/ references) Examples: - Image with GUID: `/.attachments/image-3c114d08-35a1-4d31-a68f-5ddf3dabdd32.png` - Named scree… |
project * | string | The project name |
wikiId * | string | The wiki identifier (ID or name) |
outputDir | string | Directory to save the file. Default: OS temp dir |
download-wiki-page-attachments
Download all image/file attachments referenced in a wiki page. Extracts  references from page content and downloads each file to disk. Returns file paths for Claude to Read and interpret images.
| Parameter | Type | Description |
|---|---|---|
pagePath * | string | The wiki page path (e.g., '/Setup/Authentication') |
project * | string | The project name |
wikiId * | string | The wiki identifier (ID or name) |
outputDir | string | Directory to save files. Default: OS temp dir |
save-wiki-page-to-file
Download an ADO wiki page and save it as a local markdown file with frontmatter metadata. Supports lookup by path OR page ID (from wiki URLs). The agent can then edit the file locally with the Edit tool and upload it back with upload-wiki-page-from-file. Examples: - Save to specific path: `outputPath: "./docs/wiki/auth-guide.md"` - Save with default naming: `project: "MyProject", wikiId: "MyProject.wiki", pagePath: "/Setup/Authentication"`
| Parameter | Type | Description |
|---|---|---|
project * | string | The project name |
wikiId * | string | The wiki identifier (ID or name) |
outputPath | string | Local file path to save to. Default: docs/wiki-pages/{flattened-path}.md |
pageId | number | The numeric page ID from a wiki URL (e.g., 3789 from ...wiki/wikis/Wiki.wiki/3789/Page-Name). Either pageId or pagePath is required. |
pagePath | string | The wiki page path (e.g., '/Setup/Authentication'). Either pagePath or pageId is required. |
upload-wiki-page-from-file
Upload a local markdown file back to ADO wiki. Reads frontmatter metadata (project, wikiId, pagePath, version) from the file to determine the target. Uses stored etag for optimistic concurrency. Requires AZUREDEVOPS_ENABLE_WIKI_WRITE=true. Examples: - Upload edited wiki page: `filePath: "./docs/wiki/auth-guide.md"` - Upload from project folder: `filePath: "docs/wiki-pages/Setup-Authentication.md"`
| Parameter | Type | Description |
|---|---|---|
filePath * | string | Path to the local markdown file with frontmatter (created by save-wiki-page-to-file) |
get-work-item Get Work Item
Get a work item by ID with full details from Azure DevOps
| Parameter | Type | Description |
|---|---|---|
project * | string | The project name |
workItemId * | number | The work item ID |
query-work-items Query Work Items
Query work items using WIQL (Work Item Query Language) in Azure DevOps
| Parameter | Type | Description |
|---|---|---|
project * | string | The project name |
wiql * | string | The WIQL query string. SQL-like syntax with field names in brackets. Common fields: [System.Id], [System.Title], [System.State], [System.WorkItemType], [System.AssignedTo], [System.Parent]. Use @Me fo… |
maxResults | number | Maximum number of results (default: 200) |
run-saved-query Run Saved Query
Execute a saved Azure DevOps query by its query ID (GUID). Returns a compact summary by default (ID, Title, Assigned To, State, Severity, Priority, Tags, Story Points, Resolved Reason). Use detail='full' for all fields.
| Parameter | Type | Description |
|---|---|---|
project * | string | The project name |
queryId * | string | The saved query GUID. Found in ADO query URLs: https://dev.azure.com/{org}/{project}/_queries/query/{queryId}/ Examples: - From URL: `aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee` |
detail | string | Level of detail: 'summary' (default) returns key fields only, 'full' returns all fields expanded |
fields | array | Custom list of ADO field reference names to return. Overrides the default summary fields. Examples: - Effort and state: `["System.Title", "System.State", "Microsoft.VSTS.Scheduling.Effort"]` |
groupBy | string | Group results by a summary field name and return counts per group. Examples: - By state: `state` - By assigned to: `assignedTo` - By priority: `priority` |
maxResults | number | Maximum number of results (default: 50) |
get-saved-query
Get a saved Azure DevOps query's metadata and WIQL text without executing it. Useful for inspecting or modifying a query before running it.
| Parameter | Type | Description |
|---|---|---|
project * | string | The project name |
queryId * | string | The saved query GUID |
get-work-item-comments
Get comments/discussion for a work item in Azure DevOps
| Parameter | Type | Description |
|---|---|---|
project * | string | The project name |
workItemId * | number | The work item ID |
add-work-item-comment
Add a comment to a work item in Azure DevOps (requires AZUREDEVOPS_ENABLE_WORK_ITEM_WRITE=true). By default, comments are sent as Markdown. For orgs without Markdown preview, set AZUREDEVOPS_COMMENT_FORMAT=html to auto-convert Markdown to HTML.
| Parameter | Type | Description |
|---|---|---|
commentText * | string | The comment text in Markdown format. Use standard Markdown syntax: **bold**, *italic*, `code`, - lists, [links](url), etc. Will be auto-converted to HTML if AZUREDEVOPS_COMMENT_FORMAT=html is set. |
project * | string | The project name |
workItemId * | number | The work item ID |
update-work-item-comment
Update an existing comment on a work item in Azure DevOps (requires AZUREDEVOPS_ENABLE_WORK_ITEM_WRITE=true). By default, comments are sent as Markdown. For orgs without Markdown preview, set AZUREDEVOPS_COMMENT_FORMAT=html to auto-convert Markdown to HTML.
| Parameter | Type | Description |
|---|---|---|
commentId * | number | The comment ID to update. Get comment IDs from get-work-item-comments. |
commentText * | string | The updated comment text in Markdown format. Use standard Markdown syntax: **bold**, *italic*, `code`, - lists, [links](url), etc. Will be auto-converted to HTML if AZUREDEVOPS_COMMENT_FORMAT=html is… |
project * | string | The project name |
workItemId * | number | The work item ID |
update-work-item
Update a work item in Azure DevOps using JSON Patch operations (requires AZUREDEVOPS_ENABLE_WORK_ITEM_WRITE=true). Auto-injects markdown format operations for large text fields.
| Parameter | Type | Description |
|---|---|---|
patchOperations * | array | Array of JSON Patch operations. Each operation specifies what to change. Examples: - Update state: `{ "op": "replace", "path": "/fields/System.State", "value": "Active" }` - Set description: `{ "… |
project * | string | The project name |
workItemId * | number | The work item ID |
skipAutoConvert | boolean | Skip automatic markdown format injection for large text fields. Only use when explicitly requested. Default: false |
create-work-item
Create a new work item in Azure DevOps with optional parent relationship (requires AZUREDEVOPS_ENABLE_WORK_ITEM_WRITE=true)
| Parameter | Type | Description |
|---|---|---|
fields * | object | Object with field values. Required: System.Title. Common fields: System.Description, System.State, System.AssignedTo, Microsoft.VSTS.Common.AcceptanceCriteria, Microsoft.VSTS.TCM.ReproSteps (bugs). E… |
project * | string | The project name |
workItemType * | string | The work item type: 'Bug', 'Task', 'User Story', 'Feature', 'Epic', or custom types |
parentId | number | Optional parent work item ID (for creating child items). Simplified alternative to relations parameter. |
relations | array | Optional array of work item relationships. Use parentId for simple parent-child relationships. |
upload-work-item-attachment
Upload a local file to ADO as a work item attachment and return the attachment URL (requires AZUREDEVOPS_ENABLE_WORK_ITEM_WRITE=true). Embed the returned URL in an <img src=...> tag inside any HTML field or comment to reference the file. When workItemId is provided, the upload is recorded in that work item's local .attachments.json so the next sync push knows the file already exists in ADO.
| Parameter | Type | Description |
|---|---|---|
filePath * | string | Absolute path to the local file to upload. Common case: a screenshot taken by Playwright or a saved evidence file. Examples: - Playwright screenshot for evidence: `/tmp/playwright-screenshot.png`… |
project * | string | The project name |
fileName | string | Optional override for the filename ADO will store. Defaults to the basename of filePath. |
workItemId | number | Optional work item ID to associate the upload with. When provided, the attachment is recorded in that work item's local manifest so subsequent sync push operations recognise it as already on ADO. |
delete-work-item
Delete a work item in Azure DevOps (requires AZUREDEVOPS_ENABLE_WORK_ITEM_DELETE=true)
| Parameter | Type | Description |
|---|---|---|
project * | string | The project name |
workItemId * | number | The work item ID |
list-repositories
List all Git repositories in an Azure DevOps project. Returns repository ID, name, default branch, and URLs.
| Parameter | Type | Description |
|---|---|---|
project * | string | The project name |
list-pull-requests
List pull requests in a Git repository. Filter by status (active, completed, abandoned, all). Returns PR ID, title, author, branches, and review status.
| Parameter | Type | Description |
|---|---|---|
project * | string | The project name |
repositoryId * | string | Repository ID (GUID) or name |
status | string | Filter by PR status (default: active) |
top | number | Maximum results (default: 25) |
get-pull-request
Get details of a specific pull request including title, description, author, reviewers with votes, and merge status.
| Parameter | Type | Description |
|---|---|---|
project * | string | The project name |
pullRequestId * | number | The pull request ID |
repositoryId * | string | Repository ID (GUID) or name |
get-pull-request-threads
Get all comment threads and discussions on a pull request. Includes inline code comments with file paths and line numbers.
| Parameter | Type | Description |
|---|---|---|
project * | string | The project name |
pullRequestId * | number | The pull request ID |
repositoryId * | string | Repository ID (GUID) or name |
get-pull-request-commits
Get all commits included in a pull request. Shows commit ID, message, author, and date.
| Parameter | Type | Description |
|---|---|---|
project * | string | The project name |
pullRequestId * | number | The pull request ID |
repositoryId * | string | Repository ID (GUID) or name |
get-pull-request-changes
Get file changes (diffs) in a pull request. Shows added, modified, deleted, and renamed files with their paths.
| Parameter | Type | Description |
|---|---|---|
project * | string | The project name |
pullRequestId * | number | The pull request ID |
repositoryId * | string | Repository ID (GUID) or name |
iterationId | number | Iteration ID (default: latest) |
get-build-status
Get build status and details. Use detail='summary' for basic status, 'timeline' for step breakdown (default scope='problems' shows only failed/warning items), or 'full' for logs. The timelineScope controls what records are included: 'problems' (default, only errors/warnings), 'stages' (minimal), 'jobs' (moderate), 'all' (everything).
| Parameter | Type | Description |
|---|---|---|
buildId * | number | The build ID |
project * | string | The project name |
detail | string | Level of detail: 'summary' (default), 'timeline' (include steps), or 'full' (include logs) |
maxIssues | number | Maximum issues per record (default: 5, prioritizes errors over warnings) |
timelineScope | string | Timeline scope: 'problems' (default, only errors/warnings/failures), 'stages' (minimal), 'jobs' (moderate), 'all' (everything - may be large) |
get-build-timeline
Get step-by-step breakdown of a build. Shows stages, jobs, and tasks with timing, status, and error/warning counts. Use scope to control output size: 'problems' (default, only errors/warnings), 'stages' (minimal), 'jobs' (moderate), 'all' (everything). Always includes summary stats regardless of scope.
| Parameter | Type | Description |
|---|---|---|
buildId * | number | The build ID |
project * | string | The project name |
maxIssues | number | Maximum issues per record (default: 5, prioritizes errors over warnings) |
scope | string | Filter scope: 'problems' (default, only errors/warnings/failures), 'stages' (minimal), 'jobs' (moderate), 'all' (everything - may be large) |
get-build-logs
Get build logs. Without logId, returns list of available logs with line counts. With logId, returns that log's content filtered by mode to reduce noise from progress indicators.
| Parameter | Type | Description |
|---|---|---|
buildId * | number | The build ID |
project * | string | The project name |
logId | number | Optional specific log ID to retrieve content |
mode | string | Filter mode: 'summary' (default) removes progress indicators like 'Receiving objects: 1%', 'full' returns everything, 'errors' shows only errors/warnings |
list-variable-groups
List all variable groups in an Azure DevOps project. Variable groups store values and secrets used in pipelines.
| Parameter | Type | Description |
|---|---|---|
project * | string | The project name |
get-variable-group
Get a specific variable group by ID from Azure DevOps. Returns all variables (secrets are masked).
| Parameter | Type | Description |
|---|---|---|
groupId * | number | The variable group ID |
project * | string | The project name |
sync-work-item-to-file
Download work item(s) from ADO and save as local markdown file(s). Token-efficient for editing. READ-ONLY: HTML fields are converted to Markdown in the LOCAL FILE only — ADO is never modified. If a field with an HTML table is converted, a lossy-conversion warning is returned; re-read the original with get-work-item before editing it. Can also pull all child work items under a parent (e.g., all User Stories under a Feature). Examples: - Pull single work item: `workItemIds: [1044]` - Pull multiple work items: `workItemIds: [1044, 1045, 1046]` - Pull all User Stories under Feature: `pare…
| Parameter | Type | Description |
|---|---|---|
project * | string | The project name |
childType | string | Filter by work item type when using parentId (default: 'User Story'). Common values: 'User Story', 'Bug', 'Task' |
folder | string | Override folder path (default: docs/user-stories or AZUREDEVOPS_SYNC_FOLDER) |
includeComments | boolean | Also save comments to {id}-comments.md (default: false) |
parentId | number | Pull all child work items of this parent (e.g., Feature ID to pull all User Stories) |
skipAutoConvert | boolean | Skip automatic HTML-to-markdown conversion. Only use when explicitly requested. Default: false (auto-convert enabled) |
workItemIds | array | Work item IDs to pull (optional if using parentId) |
sync-work-item-from-file
Upload local markdown changes back to ADO. Auto-detects new_*.md files and creates them as new work items. Auto-converts HTML fields to markdown. Requires AZUREDEVOPS_ENABLE_WORK_ITEM_WRITE=true. Examples: - Push specific work items: `workItemIds: [1044, 1045]` - Auto-create new work items: `project: "MyProject" (auto-detects new_*.md files)`
| Parameter | Type | Description |
|---|---|---|
project * | string | The project name |
folder | string | Override folder path (default: docs/user-stories or AZUREDEVOPS_SYNC_FOLDER) |
skipAutoConvert | boolean | Skip automatic HTML-to-markdown conversion. Only use when explicitly requested. Default: false (auto-convert enabled) |
workItemIds | array | Work item IDs to push (optional - new_*.md files are auto-detected) |
check-work-item-markdown
Check if work item fields are markdown (required for sync) or HTML format.
| Parameter | Type | Description |
|---|---|---|
project * | string | The project name |
workItemIds * | array | Work item IDs to check |
list-synced-work-items
List work items that have been synced to local markdown files.
| Parameter | Type | Description |
|---|---|---|
folder | string | Override folder path (default: docs/user-stories or AZUREDEVOPS_SYNC_FOLDER) |
create-work-item-file
Create a new work item template file locally for any type (User Story, Bug, Feature, Epic, Task, etc.). The file can be edited and then pushed to ADO using sync-work-item-from-file. Parent is optional - omit for standalone items like Features or Epics. Examples: - User Story under Feature: `project: "MyProject", parentId: 12345, workItemType: "User Story"` - Bug under Feature: `project: "MyProject", parentId: 12345, workItemType: "Bug"` - Standalone Feature (no parent): `project: "MyProject", workItemType: "Feature"` - Standalone Epic: `project: "MyProject", workItemType: "Epic"`
| Parameter | Type | Description |
|---|---|---|
project * | string | The project name |
folder | string | Override folder path (default: docs/user-stories or AZUREDEVOPS_SYNC_FOLDER) |
parentId | number | Parent work item ID. Omit for standalone items (Features, Epics) |
workItemType | string | Work item type: 'User Story', 'Bug', 'Feature', 'Epic', 'Task', etc. |
create-user-story-file
Create a new user story template file locally. Alias for create-work-item-file with type='User Story'. The file can be edited and then pushed to ADO using sync-work-item-from-file.
| Parameter | Type | Description |
|---|---|---|
parentId * | number | Parent Feature ID - the new user story will be created under this feature |
project * | string | The project name |
folder | string | Override folder path (default: docs/user-stories or AZUREDEVOPS_SYNC_FOLDER) |
sync-tasks-to-file
Download all tasks under a parent work item (User Story) to a local markdown file. Auto-converts HTML descriptions to markdown. Supports pulling tasks for multiple parents at once. Examples: - Pull tasks for single User Story: `parentIds: [12345]` - Pull tasks for multiple User Stories: `parentIds: [12345, 12346, 12347]`
| Parameter | Type | Description |
|---|---|---|
parentIds * | array | Parent work item IDs (User Stories) to fetch tasks for |
project * | string | The project name |
folder | string | Override folder path (default: docs/user-stories or AZUREDEVOPS_SYNC_FOLDER) |
skipAutoConvert | boolean | Skip automatic HTML-to-markdown conversion for task descriptions. Only use when explicitly requested. Default: false |
sync-tasks-from-file
Push local task changes back to ADO with upsert semantics. Existing tasks (## Task #ID) are updated, new tasks (## NEW TASK) are created. Auto-converts HTML fields to markdown. Requires AZUREDEVOPS_ENABLE_WORK_ITEM_WRITE=true. Examples: - Push tasks for single parent: `parentIds: [12345]` - Push tasks for multiple parents: `parentIds: [12345, 12346]`
| Parameter | Type | Description |
|---|---|---|
parentIds * | array | Parent work item IDs to sync tasks for |
project * | string | The project name |
folder | string | Override folder path (default: docs/user-stories or AZUREDEVOPS_SYNC_FOLDER) |
skipAutoConvert | boolean | Skip automatic HTML-to-markdown conversion for task descriptions. Only use when explicitly requested. Default: false |
get-checklist
Get the merged checklist for a work item. Combines the WIT default template with per-work-item state overrides and custom items. Shows completion status for each item.
| Parameter | Type | Description |
|---|---|---|
project * | string | The project name |
workItemId * | number | The work item ID |
get-checklist-template
Get the default checklist template for a work item type in a project. Templates define the standard checklist items that appear on all work items of that type.
| Parameter | Type | Description |
|---|---|---|
project * | string | The project name |
workItemType * | string | The work item type name Examples: - User Story checklist: `User Story` - Bug checklist: `Bug` - Task checklist: `Task` - Feature checklist: `Feature` |
list-checklist-templates
List all checklist templates configured in a project. Shows which work item types have checklist templates and how many items each has.
| Parameter | Type | Description |
|---|---|---|
project * | string | The project name |
get-checklist-report
Get a completion report for checklists across work items. Cross-references checklist data with ADO work items to show which items have incomplete checklists. Results sorted by completion (least complete first).
| Parameter | Type | Description |
|---|---|---|
project * | string | The project name |
maxResults | number | Maximum work items to include (default: 200) |
workItemState | string | Filter by work item state (e.g., 'Active', 'Testing', 'Resolved') Examples: - All active User Stories: `workItemType: "User Story", workItemState: "Active"` - All bugs in testing: `workItemType:… |
workItemType | string | Filter by work item type Examples: - User Story checklist: `User Story` - Bug checklist: `Bug` - Task checklist: `Task` - Feature checklist: `Feature` |
update-checklist-item
Update the state of a checklist item on a work item. When setting to 'Completed', automatically records who completed it and when. Requires AZUREDEVOPS_ENABLE_WORK_ITEM_WRITE=true.
| Parameter | Type | Description |
|---|---|---|
itemId * | string | The checklist item ID (from get-checklist response) |
project * | string | The project name |
state * | string | The new state for the checklist item Examples: - Mark as completed: `Completed` - Mark as in progress: `In Progress` - Mark as blocked: `Blocked` - Mark as not applicable: `N/A` - Reset to… |
workItemId * | number | The work item ID |
completedByDisplayName | string | Display name for completedBy (defaults to 'MCP Automation'). Only used when state is 'Completed'. |
add-checklist-item
Add a custom checklist item to a work item's shared checklist. Custom items are visible to all users. Max 128 characters. Requires AZUREDEVOPS_ENABLE_WORK_ITEM_WRITE=true.
| Parameter | Type | Description |
|---|---|---|
project * | string | The project name |
text * | string | The checklist item text (max 128 characters) |
workItemId * | number | The work item ID |
required | boolean | Whether the item is required (default: false) |
remove-checklist-item
Remove a custom checklist item from a work item's shared checklist. Only custom items can be removed (not template items). Requires AZUREDEVOPS_ENABLE_WORK_ITEM_WRITE=true.
| Parameter | Type | Description |
|---|---|---|
itemId * | string | The checklist item ID to remove (from get-checklist response, must be a custom item) |
project * | string | The project name |
workItemId * | number | The work item ID |
update-checklist-template
Update the default checklist template for a work item type. Replaces all template items. Changes affect all work items of that type immediately. Requires AZUREDEVOPS_ENABLE_WORK_ITEM_WRITE=true.
| Parameter | Type | Description |
|---|---|---|
items * | string | JSON array of template items. Each item: {text: string, required?: boolean}. Max 128 chars per item. Examples: - Simple checklist: `[{"text": "Update documentation", "required": true}, {"text": "Ad… |
project * | string | The project name |
workItemType * | string | The work item type name Examples: - User Story checklist: `User Story` - Bug checklist: `Bug` - Task checklist: `Task` - Feature checklist: `Feature` |
visualize-data
Fetch work item data and prepare it for a rich visual dashboard. ONLY use this tool when the user explicitly asks for a visual, chart, dashboard, or graphic representation of their data (e.g. 'visualize', 'show me a chart', 'create a dashboard'). Do NOT use for regular queries — use query-work-items or run-saved-query instead, which are faster. Accepts either a WIQL query or a saved query ID (GUID). After receiving the response, generate a complete HTML snippet following the design system rules, then call render-visualization with the HTML.
| Parameter | Type | Description |
|---|---|---|
intent * | string | What visualization to create. Examples: 'sprint status dashboard', 'burndown chart', 'team workload by assignee', 'priority breakdown', 'bug trend over time' |
project * | string | The ADO project name |
maxResults | number | Maximum work items to fetch (default: 20 for visualization) |
queryId | string | Saved query GUID. Provide either queryId OR wiql, not both. Found in ADO query URLs: https://dev.azure.com/{org}/{project}/_queries/query/{queryId}/ |
theme | string | Color theme (default: light) |
wiql | string | WIQL query to fetch work items. Provide either wiql OR queryId, not both. Example: SELECT [System.Id], [System.Title], [System.State], [System.WorkItemType], [System.AssignedTo] FROM WorkItems WHERE [… |
render-visualization Render Visualization
Render generated HTML as an interactive visualization in the MCP App. Call this after generating HTML from visualize-data results. Pass the complete HTML snippet — it will be sanitized and rendered in an iframe.
| Parameter | Type | Description |
|---|---|---|
html * | string | The complete HTML snippet to render. Must be self-contained with inline CSS and scripts. |
title | string | Short title for the visualization (e.g. 'Sprint Status Dashboard') |
create-test-run
Create an automated test run in Azure DevOps. Sets isAutomated=true automatically (no Test Plan license needed). Optionally links test case work items to the run via hyperlinks (ADO has no native artifact link for test runs).
| Parameter | Type | Description |
|---|---|---|
name * | string | Run name — include story ID and date for traceability Examples: - Plugin test: `Plugin Test — #1928 — 2026-04-10` - API regression: `API Regression — Release 30.0` - Integration test: `… |
project * | string | Project name |
buildId | number | Build ID if run is tied to a pipeline |
comment | string | Run description/context |
testCaseIds | array | Test Case work item IDs to link to this run (adds hyperlink from each test case to the run URL) |
add-test-results
Add test results to an existing test run. Each result represents one test step or test case with pass/fail outcome.
| Parameter | Type | Description |
|---|---|---|
project * | string | Project name |
results * | array | Array of test results to add |
runId * | number | Test run ID (from create-test-run) |
complete-test-run
Mark a test run as completed. Returns summary with pass/fail counts.
| Parameter | Type | Description |
|---|---|---|
project * | string | Project name |
runId * | number | Test run ID |
comment | string | Completion summary |
get-test-runs
List test runs in a project, optionally filtered by state and date.
| Parameter | Type | Description |
|---|---|---|
project * | string | Project name |
fromDate | string | Filter runs updated after this date (ISO format, e.g., '2026-04-01') |
maxRuns | number | Maximum runs to return (default: 25) |
state | string | Filter by run state Examples: - In progress: `InProgress` - Completed: `Completed` - Aborted: `Aborted` |
get-test-run-results
Get detailed results for a specific test run.
| Parameter | Type | Description |
|---|---|---|
project * | string | Project name |
runId * | number | Test run ID |
outcome | string | Filter by outcome Examples: - Passed: `Passed` - Failed: `Failed` - Not executed: `NotExecuted` - Blocked: `Blocked` - Not applicable: `NotApplicable` |
get-test-case-history
Get test run history for a specific Test Case work item. Shows when it was last run and what the outcome was. Searches recent completed runs for results referencing this test case.
| Parameter | Type | Description |
|---|---|---|
project * | string | Project name |
testCaseId * | number | Test Case work item ID |
link-test-case
Link a test case to a user story (TestedBy relation) and/or a test run (Hyperlink). Idempotent — skips if link already exists. Story link uses Microsoft.VSTS.Common.TestedBy. Run link uses Hyperlink (ADO has no artifact link for test runs).
| Parameter | Type | Description |
|---|---|---|
project * | string | Project name |
testCaseId * | number | Test Case work item ID |
runId | number | Test Run ID to link via hyperlink |
runSummary | string | Comment for the run hyperlink (e.g., '8/8 Passed') |
storyId | number | User Story ID to link via Tests/Tested By relation |