cursor-azure-devops-mcp
Advanced tools
Comparing version
@@ -144,3 +144,13 @@ import * as azdev from 'azure-devops-node-api'; | ||
} | ||
const pullRequest = await this.gitClient.getPullRequestById(pullRequestId, repositoryId, projectName); | ||
// Get all pull requests for the repository with all statuses | ||
const pullRequests = await this.gitClient.getPullRequests(repositoryId, { | ||
project: projectName, | ||
status: 'all', | ||
includeLinks: true, | ||
}); | ||
// Find the specific pull request | ||
const pullRequest = pullRequests.find((pr) => pr.pullRequestId === pullRequestId); | ||
if (!pullRequest) { | ||
throw new Error(`Pull request ${pullRequestId} not found in repository ${repositoryId}`); | ||
} | ||
return pullRequest; | ||
@@ -147,0 +157,0 @@ } |
{ | ||
"name": "cursor-azure-devops-mcp", | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"description": "MCP Server for Cursor IDE-Azure DevOps Integration", | ||
@@ -5,0 +5,0 @@ "main": "build/index.js", |
136183
0.31%2877
0.35%