Azure DevOps MCP Server for Cline
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
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Azure DevOps MCP Server for Cline list my recent pull requests"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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
Related MCP server: Azure DevOps MCP Server
Installation
Installing via Smithery
To install Azure DevOps Server for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @stefanskiasan/azure-devops-mcp-server --client claudeManual Installation
Clone this repository:
git clone https://github.com/stefanskiasan/azure-devops-mcp-server.git
cd azure-devops-mcp-serverInstall dependencies:
npm installBuild the server:
npm run buildNote: 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.jsonFor Claude desktop app:
%LOCALAPPDATA%/Claude/claude_desktop_config.json
Add the following configuration to the mcpServers object:
{
"mcpServers": {
"azure-devops": {
"command": "node",
"args": ["/absolute/path/to/azure-devops-server/build/index.js"],
"env": {
"AZURE_DEVOPS_ORG": "your-organization",
"AZURE_DEVOPS_PAT": "your-personal-access-token",
"AZURE_DEVOPS_PROJECT": "your-project-name"
},
"disabled": false,
"autoApprove": []
}
}
}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:
npm run inspectorTroubleshooting
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
srcdirectoryRun
npm run watchfor developmentBuild with
npm run buildwhen readyTest using the inspector:
npm run inspector
License
MIT License - See LICENSE for details
Available Tools
15 toolscreate_pull_requestB
Create a new pull request
Inputs: title (required), repositoryId (required), sourceRefName (required), targetRefName (required), +2 more.
create_wikiC
Create a new wiki
Inputs: name (required), projectId, mappedPath.
create_work_itemC
Create a new work item using JSON patch operations
Inputs: type (required), document (required).
get_boardsC
List available boards in the project
Inputs: team.
get_wiki_pageC
Get a wiki page by path
Inputs: wikiIdentifier (required), path (required), version, includeContent.
get_wikisB
List all wikis in the project
Inputs: no named parameters.
get_work_itemC
Get work items by IDs
Inputs: ids (required), fields, asOf, $expand, +1 more.
list_pipelinesC
List all pipelines in the project
Inputs: folder, name.
list_projectsB
List all projects in the Azure DevOps organization
Inputs: no named parameters.
list_pull_requestsC
List all pull requests in the project
Inputs: status, creatorId, repositoryId.
list_work_itemsC
List work items from a board
Inputs: query (required).
trigger_pipelineC
Trigger a pipeline run
Inputs: pipelineId (required), branch, variables.
update_pull_requestC
Update an existing pull request
Inputs: pullRequestId (required), title, status, description, +1 more.
update_wiki_pageC
Create or update a wiki page
Inputs: wikiIdentifier (required), path (required), content (required), comment.
update_work_itemB
Update an existing work item using JSON patch operations
Inputs: id (required), document (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 15 tools
Each tool targets a distinct resource and action (e.g., get_wikis vs get_wiki_page, list_work_items vs get_work_item). No two tools have overlapping purposes, and the descriptions clearly differentiate them.
All tools follow a consistent verb_noun pattern using snake_case, with verbs like get, list, create, update, and trigger. There are no deviations or mixed conventions.
With 15 tools covering projects, wikis, work items, pipelines, pull requests, and boards, the count is well-scoped for an Azure DevOps management server. Each tool addresses a meaningful operation.
Core workflows (create, read, update, list) are covered for work items, wikis, and pull requests, plus project and pipeline management. Minor gaps like delete operations or merge PR are absent but not critical for basic usage.
Maintenance
Related MCP Connectors
The MCP server for Azure DevOps, bringing the power of Azure DevOps directly to your agents.
Issues, projects, cycles, and roadmaps via the official Linear hosted MCP server.
Your org's AI agents, tasks, runs, search, and brain files as MCP tools and resources.
mtdt.io MCP: Salesforce DevOps platform connector (metadata deployments, backups and more)
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables interaction with Azure DevOps services including work items, repositories, pipelines, wikis, and test plans through a local MCP server that provides direct access to Azure DevOps REST APIs from your code editor.MIT
- AlicenseNot gradedqualityDmaintenanceEnables integration with Azure DevOps services, allowing interaction with work items, pull requests, pipelines, wikis, boards, and projects through natural language in Cline and other MCP clients.2MIT
- FlicenseNot gradedqualityDmaintenanceConnects Azure DevOps work items to Claude Code via MCP, enabling fetching, listing, updating tickets and automating PR creation.-
- FlicenseNot gradedqualityCmaintenanceEnables managing Azure DevOps work items such as PBIs, tasks, and bugs, along with their comments, directly from MCP-compatible clients like Claude Desktop or Cursor.-