Azure DevOps
MCP Azure DevOps Bridge
A Model Context Protocol (MCP) integration server for Azure DevOps. This focused integration allows you to manage work items, wiki documentation, sprint planning, and handle attachments and discussions seamlessly.
π Azure DevOps Integration
Connect with Azure DevOps for comprehensive project management:
- Work Items - Create, update, query, and manage work items
- Wiki Documentation - Create, update, and retrieve wiki pages
- Sprint Planning - Retrieve current sprint information and list sprints
- Attachments & Discussions - Add and retrieve attachments and comments to/from work items
π Getting Started
Prerequisites
- Go 1.23 or later
- Azure DevOps Personal Access Token (PAT)
Installation
Installing Go 1.23 or above
Windows
Install Go using one of these package managers:
-
Using winget:
winget install GoLang.Go
-
Using Chocolatey:
choco install golang
-
Using Scoop:
scoop install go
After installation, verify with:
go version
macOS
Install Go using Homebrew:
brew install go
Verify the installation:
go version
Building the Project
- Clone and build:
git clone https://github.com/krishh-amilineni/mcp-azuredevops-bridge.git
cd mcp-azuredevops-bridge
go build
- Configure your environment:
export AZURE_DEVOPS_ORG="your-org"
export AZDO_PAT="your-pat-token"
export AZURE_DEVOPS_PROJECT="your-project"
- Add to your Windsurf / Cursor configuration:
{
"mcpServers": {
"azuredevops-bridge": {
"command": "/full/path/to/mcp-azuredevops-bridge/mcp-azuredevops-bridge",
"args": [],
"env": {
"AZURE_DEVOPS_ORG": "organization",
"AZDO_PAT": "personal_access_token",
"AZURE_DEVOPS_PROJECT": "project"
}
}
}
}
π‘ Example Workflows
Work Item Management
"Create a user story for the new authentication feature in Azure DevOps"
Wiki Documentation
"Create a wiki page documenting the API endpoints for our service"
"List all wiki pages in our project wiki"
"Get the content of the 'Getting Started' page from the wiki"
"Show me all available wikis in my Azure DevOps project"
Sprint Planning
"Show me the current sprint's work items and their status"
Attachments and Comments
"Add this screenshot as an attachment to work item #123"
π§ Features
Work Item Management
- Create new work items (user stories, bugs, tasks, etc.)
- Update existing work items
- Query work items by various criteria
- Link work items to each other
Wiki Management
- Create and update wiki pages
- Search wiki content
- Retrieve page content and subpages
- Automatic wiki discovery - dynamically finds all available wikis for your project
- Smart wiki selection - selects the most appropriate wiki based on the project context
- Get list of available wikis for debugging and exploration
Sprint Management
- Get current sprint information
- List all sprints
- View sprint statistics
Attachments and Comments
- Add attachments to work items
- Retrieve attachments from work items
- Add comments to work items
- View comments on work items
π Advanced Wiki Usage
The DevOps Bridge includes enhanced wiki functionality that can help you access documentation more effectively:
Available Wiki Tools
list_wiki_pages
- Lists all wiki pages, optionally from a specific pathget_wiki_page
- Retrieves the content of a specific wiki pagemanage_wiki_page
- Creates or updates a wiki pagesearch_wiki
- Searches for content across wiki pagesget_available_wikis
- Lists all available wikis in your Azure DevOps organization
Wiki Troubleshooting
If you're having trouble accessing wiki content:
- Use the
get_available_wikis
tool to see all available wikis and their IDs - Check that your PAT token has appropriate permissions for wiki access
- Verify that the wiki path is correct - wiki paths are case-sensitive
- Enable verbose logging to see detailed request and response information
π Security
This integration uses Personal Access Tokens (PAT) for authenticating with Azure DevOps. Ensure your PAT has the appropriate permissions for the operations you want to perform.
π Credits
This project was inspired by and draws from the original work at TheApeMachine/mcp-server-devops-bridge. We appreciate their contribution to the open source community.
π License
This project is licensed under the MIT License - see the LICENSE file for details.
π€ Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -m 'Add some amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request