Skip to main content
Glama

Azure DevOps MCP Server with PAT Authentication

by ennuiii

wit_add_artifact_link

Link artifacts like repositories, branches, commits, and builds to Azure DevOps work items using VSTFS URIs or individual components. Simplifies tracking and referencing related development resources.

Instructions

Add artifact links (repository, branch, commit, builds) to work items. You can either provide the full vstfs URI or the individual components to build it automatically.

Input Schema

NameRequiredDescriptionDefault
artifactUriNoThe complete VSTFS URI of the artifact to link. If provided, individual component parameters are ignored.
branchNameNoThe branch name (e.g., 'main'). Required when linkType is 'Branch'.
buildIdNoThe build ID. Required when linkType is 'Build', 'Found in build', or 'Integrated in build'.
commentNoComment to include with the artifact link.
commitIdNoThe commit SHA hash. Required when linkType is 'Fixed in Commit'.
linkTypeNoType of artifact link, defaults to 'Branch'. This determines both the link type and how to build the VSTFS URI from individual components.Branch
projectYesThe name or ID of the Azure DevOps project.
projectIdNoThe project ID (GUID) containing the artifact. Required for Git artifacts when artifactUri is not provided.
pullRequestIdNoThe pull request ID. Required when linkType is 'Pull Request'.
repositoryIdNoThe repository ID (GUID) containing the artifact. Required for Git artifacts when artifactUri is not provided.
workItemIdYesThe ID of the work item to add the artifact link to.

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "artifactUri": { "description": "The complete VSTFS URI of the artifact to link. If provided, individual component parameters are ignored.", "type": "string" }, "branchName": { "description": "The branch name (e.g., 'main'). Required when linkType is 'Branch'.", "type": "string" }, "buildId": { "description": "The build ID. Required when linkType is 'Build', 'Found in build', or 'Integrated in build'.", "type": "number" }, "comment": { "description": "Comment to include with the artifact link.", "type": "string" }, "commitId": { "description": "The commit SHA hash. Required when linkType is 'Fixed in Commit'.", "type": "string" }, "linkType": { "default": "Branch", "description": "Type of artifact link, defaults to 'Branch'. This determines both the link type and how to build the VSTFS URI from individual components.", "enum": [ "Branch", "Build", "Fixed in Changeset", "Fixed in Commit", "Found in build", "Integrated in build", "Model Link", "Pull Request", "Related Workitem", "Result Attachment", "Source Code File", "Tag", "Test Result", "Wiki" ], "type": "string" }, "project": { "description": "The name or ID of the Azure DevOps project.", "type": "string" }, "projectId": { "description": "The project ID (GUID) containing the artifact. Required for Git artifacts when artifactUri is not provided.", "type": "string" }, "pullRequestId": { "description": "The pull request ID. Required when linkType is 'Pull Request'.", "type": "number" }, "repositoryId": { "description": "The repository ID (GUID) containing the artifact. Required for Git artifacts when artifactUri is not provided.", "type": "string" }, "workItemId": { "description": "The ID of the work item to add the artifact link to.", "type": "number" } }, "required": [ "workItemId", "project" ], "type": "object" }

Other Tools from Azure DevOps MCP Server with PAT Authentication

Related Tools

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ennuiii/DevOpsMcpPAT'

If you have feedback or need assistance with the MCP directory API, please join our Discord server