@azure-devops/mcp 2.2.0-nightly.20251006 → 2.2.0-nightly.20251007
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/README.md +1 -3
- package/dist/index.js +3 -2
- package/dist/prompts.js +0 -30
- package/dist/version.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -7,8 +7,6 @@ Easily install the Azure DevOps MCP Server for VS Code or VS Code Insiders:
|
|
|
7
7
|
|
|
8
8
|
This TypeScript project provides a **local** MCP server for Azure DevOps, enabling you to perform a wide range of Azure DevOps tasks directly from your code editor.
|
|
9
9
|
|
|
10
|
-
> 🚨 **Public Preview:** This project is in public preview. Tools and features may change before general availability.
|
|
11
|
-
|
|
12
10
|
## 📄 Table of Contents
|
|
13
11
|
|
|
14
12
|
1. [📺 Overview](#-overview)
|
|
@@ -95,7 +93,6 @@ Interact with these Azure DevOps services:
|
|
|
95
93
|
- **repo_get_pull_request_by_id**: Get a pull request by its ID.
|
|
96
94
|
- **repo_create_pull_request**: Create a new pull request.
|
|
97
95
|
- **repo_create_branch**: Create a new branch in the repository.
|
|
98
|
-
- **repo_update_pull_request_status**: Update the status of an existing pull request to active or abandoned.
|
|
99
96
|
- **repo_update_pull_request**: Update various fields of an existing pull request (title, description, draft status, target branch).
|
|
100
97
|
- **repo_update_pull_request_reviewers**: Add or remove reviewers for an existing pull request.
|
|
101
98
|
- **repo_reply_to_comment**: Replies to a specific comment on a pull request.
|
|
@@ -137,6 +134,7 @@ Interact with these Azure DevOps services:
|
|
|
137
134
|
- **wiki_list_wikis**: Retrieve a list of wikis for an organization or project.
|
|
138
135
|
- **wiki_get_wiki**: Get the wiki by wikiIdentifier.
|
|
139
136
|
- **wiki_list_pages**: Retrieve a list of wiki pages for a specific wiki and project.
|
|
137
|
+
- **wiki_get_page**: Retrieve wiki page metadata by path.
|
|
140
138
|
- **wiki_get_page_content**: Retrieve wiki page content by wikiIdentifier and path.
|
|
141
139
|
- **wiki_create_or_update_page**: Create or update wiki pages with full content support.
|
|
142
140
|
|
package/dist/index.js
CHANGED
|
@@ -8,7 +8,7 @@ import yargs from "yargs";
|
|
|
8
8
|
import { hideBin } from "yargs/helpers";
|
|
9
9
|
import { createAuthenticator } from "./auth.js";
|
|
10
10
|
import { getOrgTenant } from "./org-tenants.js";
|
|
11
|
-
import { configurePrompts } from "./prompts.js";
|
|
11
|
+
//import { configurePrompts } from "./prompts.js";
|
|
12
12
|
import { configureAllTools } from "./tools.js";
|
|
13
13
|
import { UserAgentComposer } from "./useragent.js";
|
|
14
14
|
import { packageVersion } from "./version.js";
|
|
@@ -77,7 +77,8 @@ async function main() {
|
|
|
77
77
|
};
|
|
78
78
|
const tenantId = (await getOrgTenant(orgName)) ?? argv.tenant;
|
|
79
79
|
const authenticator = createAuthenticator(argv.authentication, tenantId);
|
|
80
|
-
|
|
80
|
+
// removing prompts untill further notice
|
|
81
|
+
// configurePrompts(server);
|
|
81
82
|
configureAllTools(server, authenticator, getAzureDevOpsClient(authenticator, userAgentComposer), () => userAgentComposer.userAgent, enabledDomains);
|
|
82
83
|
const transport = new StdioServerTransport();
|
|
83
84
|
await server.connect(transport);
|
package/dist/prompts.js
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
// Copyright (c) Microsoft Corporation.
|
|
2
2
|
// Licensed under the MIT License.
|
|
3
|
-
import { z } from "zod";
|
|
4
3
|
import { CORE_TOOLS } from "./tools/core.js";
|
|
5
|
-
import { WORKITEM_TOOLS } from "./tools/work-items.js";
|
|
6
4
|
function configurePrompts(server) {
|
|
7
5
|
server.prompt("Projects", "Lists all projects in the Azure DevOps organization.", {}, () => ({
|
|
8
6
|
messages: [
|
|
@@ -18,33 +16,5 @@ Present the results in alphabetical order in a table with the following columns:
|
|
|
18
16
|
},
|
|
19
17
|
],
|
|
20
18
|
}));
|
|
21
|
-
server.prompt("Teams", "Retrieves all teams for a given Azure DevOps project.", { project: z.string() }, ({ project }) => ({
|
|
22
|
-
messages: [
|
|
23
|
-
{
|
|
24
|
-
role: "user",
|
|
25
|
-
content: {
|
|
26
|
-
type: "text",
|
|
27
|
-
text: String.raw `
|
|
28
|
-
# Task
|
|
29
|
-
Use the '${CORE_TOOLS.list_project_teams}' tool to retrieve all teams for the project '${project}'.
|
|
30
|
-
Present the results in alphabetical order in a table with the following columns: Name and Id`,
|
|
31
|
-
},
|
|
32
|
-
},
|
|
33
|
-
],
|
|
34
|
-
}));
|
|
35
|
-
server.prompt("getWorkItem", "Retrieves details for a specific Azure DevOps work item by ID.", { id: z.string().describe("The ID of the work item to retrieve."), project: z.string().describe("The name or ID of the Azure DevOps project.") }, ({ id, project }) => ({
|
|
36
|
-
messages: [
|
|
37
|
-
{
|
|
38
|
-
role: "user",
|
|
39
|
-
content: {
|
|
40
|
-
type: "text",
|
|
41
|
-
text: String.raw `
|
|
42
|
-
# Task
|
|
43
|
-
Use the '${WORKITEM_TOOLS.get_work_item}' tool to retrieve details for the work item with ID '${id}' in project '${project}'.
|
|
44
|
-
Present the following fields: ID, Title, State, Assigned To, Work Item Type, Description or Repro Steps, and Created Date.`,
|
|
45
|
-
},
|
|
46
|
-
},
|
|
47
|
-
],
|
|
48
|
-
}));
|
|
49
19
|
}
|
|
50
20
|
export { configurePrompts };
|
package/dist/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const packageVersion = "2.2.0-nightly.
|
|
1
|
+
export const packageVersion = "2.2.0-nightly.20251007";
|