@azure-devops/mcp 2.1.0-nightly.20250913 → 2.1.0-nightly.20250915

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 CHANGED
@@ -255,10 +255,10 @@ For example, use `"-d", "core", "work", "work-items"` to load only Work Item rel
255
255
  }
256
256
  ],
257
257
  "servers": {
258
- "ado": {
258
+ "ado_with_filtered_domains": {
259
259
  "type": "stdio",
260
- "command": "mcp-server-azuredevops",
261
- "args": ["${input:ado_org}", "-d", "core", "work", "work-items"]
260
+ "command": "npx",
261
+ "args": ["-y", "@azure-devops/mcp", "${input:ado_org}", "-d", "core", "work", "work-items"]
262
262
  }
263
263
  }
264
264
  }
@@ -571,7 +571,8 @@ function configureRepoTools(server, tokenProvider, connectionProvider, userAgent
571
571
  }, async ({ repositoryId, pullRequestId, content, project, filePath, status, rightFileStartLine, rightFileStartOffset, rightFileEndLine, rightFileEndOffset }) => {
572
572
  const connection = await connectionProvider();
573
573
  const gitApi = await connection.getGitApi();
574
- const threadContext = { filePath: filePath };
574
+ const normalizedFilePath = filePath && !filePath.startsWith("/") ? `/${filePath}` : filePath;
575
+ const threadContext = { filePath: normalizedFilePath };
575
576
  if (rightFileStartLine !== undefined) {
576
577
  if (rightFileStartLine < 1) {
577
578
  throw new Error("rightFileStartLine must be greater than or equal to 1.");
package/dist/version.js CHANGED
@@ -1 +1 @@
1
- export const packageVersion = "2.1.0-nightly.20250913";
1
+ export const packageVersion = "2.1.0-nightly.20250915";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@azure-devops/mcp",
3
- "version": "2.1.0-nightly.20250913",
3
+ "version": "2.1.0-nightly.20250915",
4
4
  "description": "MCP server for interacting with Azure DevOps",
5
5
  "license": "MIT",
6
6
  "author": "Microsoft Corporation",