Skip to content

Add Support of Work Item attachements / images #915

Description

@fien002

I would like to have support for work item attachchments in the azure devops mcp server.
A tool like "wit_get_work_item_attachement" would be great, because we're heavily using the screenshots for example for bug creations. As github copilot is supporting media attachements (png, ..) it would be very helpful if it could access the work item attachement to get the whole context of the item.

When it uses "wit_get_work_item" it only get the URL to the attachement (image) in the work item description.

Summary

Implement two new tools that integrate with Azure DevOps APIs to enable search capabilities.

Tools

Develop the following tools with full parameter support, including optional ones:

wit_get_work_item_attachement: Search Azure DevOps Wikis for relevant content.

Endpoint: POST https://almsearch.dev.azure.com/{organization}/{project}/_apis/wit/attachments/{attachmentId}?fileName={filename}

Rules

  1. Adhere strictly to existing project standards and coding conventions.
  2. Ensure each tool exposes all API parameters (required and optional).
  3. Use the official Azure DevOps Node API to interact with the APIs.

Special treat

If you follow the rules, you'll get candy!

Metadata

Metadata

Assignees

Fields

No fields configured for Feature.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions