@azure-devops/mcp 2.10.0-nightly.20260909 → 2.10.0-nightly.20260910
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/tools/work-items.js +5 -8
- package/dist/version.js +1 -1
- package/package.json +2 -2
package/dist/tools/work-items.js
CHANGED
|
@@ -90,11 +90,14 @@ async function resolveCommentMentions(text, format, tokenProvider, connectionPro
|
|
|
90
90
|
}
|
|
91
91
|
function configureWorkItemTools(server, tokenProvider, connectionProvider, userAgentProvider) {
|
|
92
92
|
// --- wit_work_item ----------------------------------------------------------
|
|
93
|
-
server.tool(WORKITEM_TOOLS.wit_work_item, "Retrieve work item data
|
|
93
|
+
server.tool(WORKITEM_TOOLS.wit_work_item, "Retrieve work item data. Use the action parameter to specify the operation.", {
|
|
94
94
|
action: z
|
|
95
95
|
.enum(["get", "get_batch", "list_comments", "my", "list_revisions", "list_for_iteration", "get_type"])
|
|
96
96
|
.describe("The action to perform. Options: get (get a single work item by ID), get_batch (get multiple work items by IDs), list_comments (list comments on a work item), my (get work items relevant to the authenticated user), list_revisions (list revisions of a work item), list_for_iteration (list work items for a team iteration), get_type (get metadata for a work item type)."),
|
|
97
|
-
project: z
|
|
97
|
+
project: z
|
|
98
|
+
.string()
|
|
99
|
+
.optional()
|
|
100
|
+
.describe("The name or ID of the Azure DevOps project. Optional for get; when omitted, the work item is retrieved at organization scope. For other actions, a project selection prompt will be shown if omitted."),
|
|
98
101
|
id: z.coerce.number().min(1).optional().describe("Work item ID. Required for: get."),
|
|
99
102
|
ids: z.array(z.coerce.number().min(1)).optional().describe("Work item IDs. Required for: get_batch."),
|
|
100
103
|
workItemId: z.coerce.number().min(1).optional().describe("Work item ID. Required for: list_comments, list_revisions."),
|
|
@@ -118,12 +121,6 @@ function configureWorkItemTools(server, tokenProvider, connectionProvider, userA
|
|
|
118
121
|
if (action === "get") {
|
|
119
122
|
if (!id)
|
|
120
123
|
return { content: [{ type: "text", text: "id is required for get" }], isError: true };
|
|
121
|
-
if (!resolvedProject) {
|
|
122
|
-
const result = await elicitProject(server, connection, "Select the Azure DevOps project to retrieve the work item from.");
|
|
123
|
-
if ("response" in result)
|
|
124
|
-
return result.response;
|
|
125
|
-
resolvedProject = result.resolved;
|
|
126
|
-
}
|
|
127
124
|
let effectiveExpand = expand;
|
|
128
125
|
if (fields && fields.length > 0 && effectiveExpand != null) {
|
|
129
126
|
effectiveExpand = "none";
|
package/dist/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const packageVersion = "2.10.0-nightly.
|
|
1
|
+
export const packageVersion = "2.10.0-nightly.20260910";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@azure-devops/mcp",
|
|
3
|
-
"version": "2.10.0-nightly.
|
|
3
|
+
"version": "2.10.0-nightly.20260910",
|
|
4
4
|
"mcpName": "microsoft.com/azure-devops",
|
|
5
5
|
"description": "MCP server for interacting with Azure DevOps",
|
|
6
6
|
"license": "MIT",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"@azure/logger": "^1.3.0",
|
|
42
42
|
"@azure/msal-node": "^5.5.0",
|
|
43
43
|
"@azure/msal-node-extensions": "^5.3.5",
|
|
44
|
-
"@modelcontextprotocol/sdk": "1.
|
|
44
|
+
"@modelcontextprotocol/sdk": "1.30.0",
|
|
45
45
|
"azure-devops-extension-api": "^5.272.3",
|
|
46
46
|
"azure-devops-extension-sdk": "^4.0.2",
|
|
47
47
|
"azure-devops-node-api": "^15.1.2",
|