Integrations
Manages environment configuration for connecting to Azure DevOps services, including organization URL and personal access tokens.
Provides repository operations and code search capabilities through integration with Azure DevOps Git repositories.
Leverages the official Node.js SDK for Azure DevOps to enable project management, work item tracking, and repository operations.
Azure DevOps MCP (Model Context Protocol)
This project serves as a reference server implementation for the Model Context Protocol (MCP) integrated with Azure DevOps. It enables AI assistants to interact with Azure DevOps resources and perform operations programmatically.
Features
- Azure DevOps integration using official Node.js SDK
- Support for Model Context Protocol (MCP)
- Project management operations
- Work item management
- Repository operations
- Code search capabilities
Prerequisites
- Node.js (v18 or higher recommended)
- Azure DevOps account with appropriate permissions
- Azure DevOps Personal Access Token (PAT)
Installation
- Clone the repository:
- Install dependencies:
- Configure environment variables:
- Copy
.env.example
to.env
- Fill in the required environment variables:
- Copy
Add to Cursor
Then add to Cursor:
Make sure you use the path http://localhost:3000/sse
. You can change ports by defining one in the env.
Environment Configuration
The following environment variables need to be configured in your .env
file:
AZURE_DEVOPS_ORG_URL
: Your Azure DevOps organization URLAZURE_DEVOPS_PAT
: Personal Access Token for Azure DevOps- Additional configuration variables as specified in
.env.example
Available Scripts
npm run build
- Build the TypeScript projectnpm run dev
- Run the server in development mode with hot reloadnpm start
- Run the production server
License
MIT
This server cannot be installed
A reference server implementation for the Model Context Protocol that enables AI assistants to interact with Azure DevOps resources and perform operations such as project management, work item tracking, repository operations, and code search programmatically.