azure-devops

v34.0.0
@mcp-consultant-tools/azure-devops Checked 1 day ago Published 5 months ago

MCP server for Azure DevOps integration - wikis, work items, pull requests, and variable group read access

B 84/100 Discovery passed License not confirmed CloudGit

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

ParameterTypeDescription
project *stringThe project name

search-wiki-pages

Search wiki pages across Azure DevOps projects

ParameterTypeDescription
searchText *stringThe text to search for
maxResultsnumberMaximum number of results (default: 25)
projectstringOptional 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).

ParameterTypeDescription
project *stringThe project name
wikiId *stringThe wiki identifier (ID or name)
includeContentbooleanInclude page content (default: true)
pageIdnumberThe numeric page ID from a wiki URL (e.g., 3789 from ...wiki/wikis/Wiki.wiki/3789/Page-Name). Either pageId or pagePath is required.
pagePathstringThe path to the page (e.g., '/Setup/Authentication'). Either pagePath or pageId is required.
recursionLevelstringPopulate 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.

ParameterTypeDescription
project *stringThe project name
wikiId *stringThe wiki identifier (ID or name)
depthstringHow deep to enumerate (default: full)
pagePathstringRoot 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)

ParameterTypeDescription
content *stringThe markdown content for the page
pagePath *stringThe path for the new page (e.g., '/Setup/NewGuide')
project *stringThe project name
wikiId *stringThe 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)

ParameterTypeDescription
content *stringThe updated markdown content
pagePath *stringThe path to the page
project *stringThe project name
wikiId *stringThe wiki identifier
versionstringThe 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)

ParameterTypeDescription
new_str *stringThe replacement string
old_str *stringThe exact string to replace (must be unique unless replace_all is true)
pagePath *stringThe path to the wiki page (e.g., '/SharePoint-Online/04-DEV-Configuration')
project *stringThe project name
wikiId *stringThe wiki identifier (ID or name)
descriptionstringOptional description of the change (for audit logging)
replace_allbooleanIf 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.

ParameterTypeDescription
pagePath *stringPage path (e.g., '/Setup/Old-Page')
project *stringThe project name
wikiId *stringThe 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.

ParameterTypeDescription
attachmentPath *stringThe 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 *stringThe project name
wikiId *stringThe wiki identifier (ID or name)
outputDirstringDirectory to save the file. Default: OS temp dir

download-wiki-page-attachments

Download all image/file attachments referenced in a wiki page. Extracts ![...](/.attachments/...) references from page content and downloads each file to disk. Returns file paths for Claude to Read and interpret images.

ParameterTypeDescription
pagePath *stringThe wiki page path (e.g., '/Setup/Authentication')
project *stringThe project name
wikiId *stringThe wiki identifier (ID or name)
outputDirstringDirectory 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"`

ParameterTypeDescription
project *stringThe project name
wikiId *stringThe wiki identifier (ID or name)
outputPathstringLocal file path to save to. Default: docs/wiki-pages/{flattened-path}.md
pageIdnumberThe numeric page ID from a wiki URL (e.g., 3789 from ...wiki/wikis/Wiki.wiki/3789/Page-Name). Either pageId or pagePath is required.
pagePathstringThe 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"`

ParameterTypeDescription
filePath *stringPath 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

ParameterTypeDescription
project *stringThe project name
workItemId *numberThe work item ID

query-work-items Query Work Items

Query work items using WIQL (Work Item Query Language) in Azure DevOps

ParameterTypeDescription
project *stringThe project name
wiql *stringThe 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…
maxResultsnumberMaximum 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.

ParameterTypeDescription
project *stringThe project name
queryId *stringThe 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`
detailstringLevel of detail: 'summary' (default) returns key fields only, 'full' returns all fields expanded
fieldsarrayCustom 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"]`
groupBystringGroup results by a summary field name and return counts per group. Examples: - By state: `state` - By assigned to: `assignedTo` - By priority: `priority`
maxResultsnumberMaximum 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.

ParameterTypeDescription
project *stringThe project name
queryId *stringThe saved query GUID

get-work-item-comments

Get comments/discussion for a work item in Azure DevOps

ParameterTypeDescription
project *stringThe project name
workItemId *numberThe 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.

ParameterTypeDescription
commentText *stringThe 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 *stringThe project name
workItemId *numberThe 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.

ParameterTypeDescription
commentId *numberThe comment ID to update. Get comment IDs from get-work-item-comments.
commentText *stringThe 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 *stringThe project name
workItemId *numberThe 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.

ParameterTypeDescription
patchOperations *arrayArray of JSON Patch operations. Each operation specifies what to change. Examples: - Update state: `{ "op": "replace", "path": "/fields/System.State", "value": "Active" }` - Set description: `{ "…
project *stringThe project name
workItemId *numberThe work item ID
skipAutoConvertbooleanSkip 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)

ParameterTypeDescription
fields *objectObject 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 *stringThe project name
workItemType *stringThe work item type: 'Bug', 'Task', 'User Story', 'Feature', 'Epic', or custom types
parentIdnumberOptional parent work item ID (for creating child items). Simplified alternative to relations parameter.
relationsarrayOptional 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.

ParameterTypeDescription
filePath *stringAbsolute 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 *stringThe project name
fileNamestringOptional override for the filename ADO will store. Defaults to the basename of filePath.
workItemIdnumberOptional 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)

ParameterTypeDescription
project *stringThe project name
workItemId *numberThe work item ID

list-repositories

List all Git repositories in an Azure DevOps project. Returns repository ID, name, default branch, and URLs.

ParameterTypeDescription
project *stringThe 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.

ParameterTypeDescription
project *stringThe project name
repositoryId *stringRepository ID (GUID) or name
statusstringFilter by PR status (default: active)
topnumberMaximum results (default: 25)

get-pull-request

Get details of a specific pull request including title, description, author, reviewers with votes, and merge status.

ParameterTypeDescription
project *stringThe project name
pullRequestId *numberThe pull request ID
repositoryId *stringRepository 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.

ParameterTypeDescription
project *stringThe project name
pullRequestId *numberThe pull request ID
repositoryId *stringRepository ID (GUID) or name

get-pull-request-commits

Get all commits included in a pull request. Shows commit ID, message, author, and date.

ParameterTypeDescription
project *stringThe project name
pullRequestId *numberThe pull request ID
repositoryId *stringRepository 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.

ParameterTypeDescription
project *stringThe project name
pullRequestId *numberThe pull request ID
repositoryId *stringRepository ID (GUID) or name
iterationIdnumberIteration 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).

ParameterTypeDescription
buildId *numberThe build ID
project *stringThe project name
detailstringLevel of detail: 'summary' (default), 'timeline' (include steps), or 'full' (include logs)
maxIssuesnumberMaximum issues per record (default: 5, prioritizes errors over warnings)
timelineScopestringTimeline 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.

ParameterTypeDescription
buildId *numberThe build ID
project *stringThe project name
maxIssuesnumberMaximum issues per record (default: 5, prioritizes errors over warnings)
scopestringFilter 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.

ParameterTypeDescription
buildId *numberThe build ID
project *stringThe project name
logIdnumberOptional specific log ID to retrieve content
modestringFilter 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.

ParameterTypeDescription
project *stringThe project name

get-variable-group

Get a specific variable group by ID from Azure DevOps. Returns all variables (secrets are masked).

ParameterTypeDescription
groupId *numberThe variable group ID
project *stringThe 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…

ParameterTypeDescription
project *stringThe project name
childTypestringFilter by work item type when using parentId (default: 'User Story'). Common values: 'User Story', 'Bug', 'Task'
folderstringOverride folder path (default: docs/user-stories or AZUREDEVOPS_SYNC_FOLDER)
includeCommentsbooleanAlso save comments to {id}-comments.md (default: false)
parentIdnumberPull all child work items of this parent (e.g., Feature ID to pull all User Stories)
skipAutoConvertbooleanSkip automatic HTML-to-markdown conversion. Only use when explicitly requested. Default: false (auto-convert enabled)
workItemIdsarrayWork 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)`

ParameterTypeDescription
project *stringThe project name
folderstringOverride folder path (default: docs/user-stories or AZUREDEVOPS_SYNC_FOLDER)
skipAutoConvertbooleanSkip automatic HTML-to-markdown conversion. Only use when explicitly requested. Default: false (auto-convert enabled)
workItemIdsarrayWork 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.

ParameterTypeDescription
project *stringThe project name
workItemIds *arrayWork item IDs to check

list-synced-work-items

List work items that have been synced to local markdown files.

ParameterTypeDescription
folderstringOverride 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"`

ParameterTypeDescription
project *stringThe project name
folderstringOverride folder path (default: docs/user-stories or AZUREDEVOPS_SYNC_FOLDER)
parentIdnumberParent work item ID. Omit for standalone items (Features, Epics)
workItemTypestringWork 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.

ParameterTypeDescription
parentId *numberParent Feature ID - the new user story will be created under this feature
project *stringThe project name
folderstringOverride 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]`

ParameterTypeDescription
parentIds *arrayParent work item IDs (User Stories) to fetch tasks for
project *stringThe project name
folderstringOverride folder path (default: docs/user-stories or AZUREDEVOPS_SYNC_FOLDER)
skipAutoConvertbooleanSkip 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]`

ParameterTypeDescription
parentIds *arrayParent work item IDs to sync tasks for
project *stringThe project name
folderstringOverride folder path (default: docs/user-stories or AZUREDEVOPS_SYNC_FOLDER)
skipAutoConvertbooleanSkip 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.

ParameterTypeDescription
project *stringThe project name
workItemId *numberThe 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.

ParameterTypeDescription
project *stringThe project name
workItemType *stringThe 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.

ParameterTypeDescription
project *stringThe 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).

ParameterTypeDescription
project *stringThe project name
maxResultsnumberMaximum work items to include (default: 200)
workItemStatestringFilter by work item state (e.g., 'Active', 'Testing', 'Resolved') Examples: - All active User Stories: `workItemType: "User Story", workItemState: "Active"` - All bugs in testing: `workItemType:…
workItemTypestringFilter 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.

ParameterTypeDescription
itemId *stringThe checklist item ID (from get-checklist response)
project *stringThe project name
state *stringThe 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 *numberThe work item ID
completedByDisplayNamestringDisplay 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.

ParameterTypeDescription
project *stringThe project name
text *stringThe checklist item text (max 128 characters)
workItemId *numberThe work item ID
requiredbooleanWhether 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.

ParameterTypeDescription
itemId *stringThe checklist item ID to remove (from get-checklist response, must be a custom item)
project *stringThe project name
workItemId *numberThe 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.

ParameterTypeDescription
items *stringJSON 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 *stringThe project name
workItemType *stringThe 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.

ParameterTypeDescription
intent *stringWhat visualization to create. Examples: 'sprint status dashboard', 'burndown chart', 'team workload by assignee', 'priority breakdown', 'bug trend over time'
project *stringThe ADO project name
maxResultsnumberMaximum work items to fetch (default: 20 for visualization)
queryIdstringSaved query GUID. Provide either queryId OR wiql, not both. Found in ADO query URLs: https://dev.azure.com/{org}/{project}/_queries/query/{queryId}/
themestringColor theme (default: light)
wiqlstringWIQL 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.

ParameterTypeDescription
html *stringThe complete HTML snippet to render. Must be self-contained with inline CSS and scripts.
titlestringShort 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).

ParameterTypeDescription
name *stringRun 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 *stringProject name
buildIdnumberBuild ID if run is tied to a pipeline
commentstringRun description/context
testCaseIdsarrayTest 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.

ParameterTypeDescription
project *stringProject name
results *arrayArray of test results to add
runId *numberTest run ID (from create-test-run)

complete-test-run

Mark a test run as completed. Returns summary with pass/fail counts.

ParameterTypeDescription
project *stringProject name
runId *numberTest run ID
commentstringCompletion summary

get-test-runs

List test runs in a project, optionally filtered by state and date.

ParameterTypeDescription
project *stringProject name
fromDatestringFilter runs updated after this date (ISO format, e.g., '2026-04-01')
maxRunsnumberMaximum runs to return (default: 25)
statestringFilter by run state Examples: - In progress: `InProgress` - Completed: `Completed` - Aborted: `Aborted`

get-test-run-results

Get detailed results for a specific test run.

ParameterTypeDescription
project *stringProject name
runId *numberTest run ID
outcomestringFilter 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.

ParameterTypeDescription
project *stringProject name
testCaseId *numberTest Case work item ID