The Azure DevOps MCP Server for Cline enables integration with Azure DevOps services, allowing you to manage:
Work Items: Retrieve by ID, query with WIQL, create new, or update existing items
Boards: List available project boards
Pipelines: List all pipelines and trigger pipeline runs
Pull Requests: List, create, update, or get details of specific PRs
Wiki: List wikis, get/create/update wiki pages, or create new wikis
Projects: List all projects within your Azure DevOps organization
Azure DevOps MCP Server for Cline
This Model Context Protocol (MCP) server provides integration with Azure DevOps, allowing Cline to interact with Azure DevOps services.
Prerequisites
Node.js (v20 LTS or higher)
npm (comes with Node.js)
A Cline installation
Azure DevOps account with access tokens
Installation
Installing via Smithery
To install Azure DevOps Server for Claude Desktop automatically via Smithery:
Manual Installation
Clone this repository:
Install dependencies:
Build the server:
Note: The build output (build/
directory) is not included in version control. You must run the build command after cloning the repository.
Configuration
1. Get Azure DevOps Personal Access Token (PAT)
Go to Azure DevOps and sign in
Click on your profile picture in the top right
Select "Security"
Click "New Token"
Give your token a name and select the required scopes:
Code (read, write)
- For Pull Request operationsWork Items (read, write)
- For Work Item managementBuild (read, execute)
- For Pipeline operationsWiki (read, write)
- For Wiki operationsProject and Team (read)
- For Project and Board information
Copy the generated token
2. Configure Cline MCP Settings
Add the server configuration to your Cline MCP settings file:
For VSCode extension:
%APPDATA%/Code/User/globalStorage/rooveterinaryinc.roo-cline/settings/cline_mcp_settings.json
For Claude desktop app:
%LOCALAPPDATA%/Claude/claude_desktop_config.json
Add the following configuration to the mcpServers
object:
Replace the following values:
/absolute/path/to/azure-devops-server
: The absolute path to where you cloned this repositoryyour-organization
: Your Azure DevOps organization nameyour-project-name
: Your Azure DevOps project nameyour-personal-access-token
: The PAT you generated in step 1
Available Tools
Work Items
get_work_item
: Get a work item by IDlist_work_items
: Query work items using WIQLcreate_work_item
: Create a new work item (Bug, Task, User Story)update_work_item
: Update an existing work item
Boards
get_boards
: Get available boards in the project
Pipelines
list_pipelines
: List all pipelines in the projecttrigger_pipeline
: Execute a pipeline
Pull Requests
list_pull_requests
: List pull requestscreate_pull_request
: Create a new pull requestupdate_pull_request
: Update a pull requestget_pull_request
: Get pull request details
Wiki
get_wikis
: List all wikis in the projectget_wiki_page
: Get a wiki pagecreate_wiki
: Create a new wikiupdate_wiki_page
: Create or update a wiki page
Projects
list_projects
: List all projects in the Azure DevOps organization
Verification
Restart Cline (or VSCode) after adding the configuration
The Azure DevOps MCP server should now be listed in Cline's capabilities
You can verify the installation using the MCP Inspector:
Troubleshooting
If the server isn't connecting:
Check that the path in your MCP settings is correct
Verify your Azure DevOps credentials
Check the Cline logs for any error messages
If you get authentication errors:
Verify your PAT hasn't expired
Ensure the PAT has all necessary scopes
Double-check the organization and project names
For other issues:
Run the inspector tool to verify the server is working correctly
Check the server logs for any error messages
Development
To modify or extend the server:
Make your changes in the
src
directoryRun
npm run watch
for developmentBuild with
npm run build
when readyTest using the inspector:
npm run inspector
License
MIT License - See LICENSE for details
local-only server
The server can only run on the client's local machine because it depends on local resources.
Integrates Cline with Azure DevOps services, enabling access to work items, repositories, and pull requests through configurable MCP tools.
Related Resources
Related MCP Servers
- AsecurityAlicenseAqualityEnables interaction with Azure Table Storage directly through Cline. This tool allows you to query and manage data in Azure Storage Tables.Last updated -315MIT License
- AsecurityAlicenseAqualityA TypeScript-based MCP server that enables interaction with Azure Table Storage directly through Cline. This tool allows you to query and manage data in Azure Storage Tables.Last updated -114MIT License
- AsecurityFlicenseAqualityAn MCP server that provides seamless interaction with Azure DevOps Git repositories, enabling users to manage repositories, branches, pull requests, and pipelines through natural language.Last updated -823
- -securityFlicense-qualityEnables interaction with Azure DevOps through Personal Access Token authentication. Supports work item management, wiki operations, project/repository listing, and build pipeline access through natural language.Last updated -