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.
- 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
- Node.js (v18 or higher recommended)
- Azure DevOps account with appropriate permissions
- Azure DevOps Personal Access Token (PAT)
- Clone the repository:
git clone <repository-url>
cd azure-devops-mcp- Install dependencies:
npm install- Configure environment variables:
- Copy
.env.exampleto.env - Fill in the required environment variables:
- Copy
cp .env.example .envnpm startThen add to Cursor:
Make sure you use the path http://localhost:3000/sse. You can change ports by defining one in the env.

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
npm run build- Build the TypeScript projectnpm run dev- Run the server in development mode with hot reloadnpm start- Run the production server
MIT