
Azure DevOps Cursor IDE MCP server plugin
概览
A Model Context Protocol (MCP) server for integrating Azure DevOps with Cursor IDE. This tool allows Claude AI in Cursor to interact with Azure DevOps, providing access to projects, work items, repositories, and pull requests. - Get Azure DevOps projects - Retrieve work items by ID - Fetch multiple work items - List repositories in a project - Get pull requests for a repository - View pull request details and threads - Retrieve work item attachments (images, PDFs, and other files) - Get work item comments with metadata (including mentions and reactions) - Get detailed code changes for pull requests (view file contents before and after changes) - Create comments on pull requests (with support for replying to existing comments) - Test Plan Management: - List all test plans in a project - Get test plan details by ID - List test suites in a test plan - Get test suite details by ID - List test cases in a test suite - Smart Response Handling: - Automatic truncation of large responses to...
README
以下为原文 README 节选,完整内容请查看原文。
Cursor Azure DevOps MCP Server
A Model Context Protocol (MCP) server for integrating Azure DevOps with Cursor IDE. This tool allows Claude AI in Cursor to interact with Azure DevOps, providing access to projects, work items, repositories, and pull requests.
Features
- Get Azure DevOps projects
- Retrieve work items by ID
- Fetch multiple work items
- List repositories in a project
- Get pull requests for a repository
- View pull request details and threads
- Retrieve work item attachments (images, PDFs, and other files)
- Get work item comments with metadata (including mentions and reactions)
- Get detailed code changes for pull requests (view file contents before and after changes)
- Create comments on pull requests (with support for replying to existing comments)
- Test Plan Management:
- List all test plans in a project
- Get test plan details by ID
- List test suites in a test plan
- Get test suite details by ID
- List test cases in a test suite
- Smart Response Handling:
- Automatic truncation of large responses to fit AI model limits
- Preservation of essential fields in truncated responses
- Metadata about truncation status and original size
- Project Configuration:
- Default project support from configuration
- Fallback to configuration when project is not specified
- Proper error handling for missing project information
Changelog
Version 1.0.3
Added
- Test Plan Management Support:
- New tool:
azure_devops_test_plans- List all test plans for a project - New tool:
azure_devops_test_plan- Get a test plan by ID - New tool:
azure_devops_test_suites- List all test suites for a test plan - New tool:
azure_devops_test_suite- Get a test suite by ID - New tool:
azure_devops_test_cases- List all test cases for a test suite
- New tool:
Enhanced
- Response Size Management:
- Added intelligent response truncation (max 50KB by default)
- Preserved essential fields in truncated responses
- Added truncation metadata in responses
- Project Configuration:
- Added support for default project from configuration
安装
npx cursor-azure-devops-mcp --azure-org-url=https://dev.azure.com/your-organization --azure-token=your-token --azure-project=YourProject