# DevOps On-Premises [Health: Active]

**Category:** 🔄 Version Control  
**Repository:** https://github.com/zwitbaum/mcp-devops-on-prem  
**GitHub Stars:** 6  
**Views:** 3  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/devops-on-premises

## Description
MCP server for on-prem Azure DevOps: repos, pull requests, work items, and wiki.

## Tools
Capabilities this server exposes over MCP:

- **devops_pull_request_list** — List pull requests of a repository, filtered by status, target branch, and creation and/or closing time, with paging
- **devops_pull_request_get** — Retrieve a pull request by ID, including author, reviewers, merge status, linked work items, and commit SHAs for diffing
- **devops_pull_request_write** — Create or update pull requests, update reviewers, or cast your PR vote
- **devops_pull_request_list_threads** — Returns a hierarchical list of non-deleted comment threads and their text comments
- **devops_pull_request_list_thread_comments** — List non-deleted text comments in a specific thread
- **devops_pull_request_create_comment** — Create a new thread with an initial comment (general or inline on a file/line)
- **devops_pull_request_reply_comment** — Reply to an existing comment thread
- **devops_pull_request_update_thread** — Update the status of a comment thread
- **devops_pull_request_update_comment** — Update the text of an existing comment
- **devops_pull_request_delete_comment** — Delete a comment from a pull request thread
- **devops_repository_list** — List all repositories in the project
- **devops_repository_get** — Retrieve repository details by name or ID
- **devops_repository_commit_changes** — List files changed in a specific commit
- **devops_repository_diffs_commits** — Get the difference between two commits (changed file paths)
- **devops_repository_item_content** — Get raw file content at a specific commit or branch
- **devops_get_item_content_diff** — Get line-level textual diff of a file between two commits (added lines prefixed `+`, removed `-`)
- **devops_work_item_get** — Retrieve a work item (PBI, bug, task) by numeric ID. Returns a compact object with key fields, attachments (files and inline images), and linked items (work items, pull requests, commits)
- **devops_work_item_attachment_get** — Download a work item attachment by its GUID, either saving locally or returning base64-encoded content
- **devops_work_item_type_get** — Get the definition of a work item type by name (e.g. `Bug`, `User Story`)
- **devops_work_item_query_by_wiql** — Execute a WIQL (Work Item Query Language) query and return matching work items
- **devops_work_item_create** — Create a new work item with typed fields; Html is the default format
- **devops_work_item_update** — Update fields on a work item using JSON Patch (add / replace / remove)
- **devops_work_item_delete** — Delete a work item, moves to Recycle Bin by default; use `destroy=True` for permanent deletion (requires project permission)
- **devops_work_item_undelete** — Restore a soft-deleted work item from the Recycle Bin
- **devops_work_item_link_update** — Add or remove a relation link between two work items (parent, child, related, successor, predecessor, etc.)
- **devops_work_item_artifact_link_update** — Add or remove an artifact link (Pull Request, Build, Commit, Branch, Changeset) on a work item
- **devops_work_item_comment_list** — List comments on a work item with configurable page size and format
- **devops_work_item_comment_add** — Add a comment to a work item
- **devops_work_item_comment_update** — Update an existing comment on a work item
- **devops_work_item_comment_delete** — Delete a comment from a work item
- **devops_code_search** — Search source code with optional repository, path, and branch filters
- **devops_work_item_search** — Search work items with optional area, type, state, and assigned-to filters
- **devops_wiki_search** — Search wiki pages with an optional wiki filter
- **devops_wiki_page_get** — Get wiki page metadata and optional content by wiki ID and page ID
- **devops_wiki_page_create_or_update** — Create or update a wiki page under a specified parent page
- **devops_wiki_page_update** — Update an existing wiki page by ID
- **devops_wiki_page_delete** — Delete an existing wiki page by ID

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `uvx` (confidence: high):

```json
"mcpServers": {
  "devops-on-premises": {
    "command": "uvx",
    "args": ["mcp-devops-onpremise@latest"],
    "env": {
      "DEVOPS_API_URL": "",
      "DEVOPS_USERNAME": "",
      "DEVOPS_PASSWORD": "",
      "DEVOPS_PAT": ""
    }
  }
}
```

**Requires environment variables:** `DEVOPS_API_URL`, `DEVOPS_USERNAME`, `DEVOPS_PASSWORD`, `DEVOPS_PAT` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What DevOps On-Premises does

DevOps On-Premises provides an MCP interface for Azure DevOps Server, the self-hosted edition formerly known as Team Foundation Server. It is intended for organizations whose projects run on internal infrastructure, including environments reached through a VPN or protected by Windows domain authentication.

The server gives AI assistants access to repository data, pull requests, work items, and source-code search. It can retrieve files and commit information, compare revisions, inspect and modify pull requests, manage work item fields and relationships, and read or edit comments. Work item responses can include attachments and links to other work items, pull requests, and commits.

## How it works

The package runs as an MCP process and communicates with an MCP-compatible client. Configuration points the server at a complete Azure DevOps project URL, such as `https://server/organization/project`. Authentication can use NTLM with a domain username and password, a personal access token, or an OAuth bearer token.

NTLM is suited to on-premises and VPN deployments where Windows credentials are used. PAT authentication avoids placing an account password in the client configuration when tokens are enabled by policy. OAuth bearer tokens are intended for setups that have OAuth 2.0 configured on Azure DevOps Server, including CI/CD scenarios.

## Setup and configuration

Python 3.10 or newer and `uv` are prerequisites. A typical client configuration launches the package with `uvx`:

```json
{
  "mcpServers": {
    "devops-onprem": {
      "command": "uvx",
      "args": ["mcp-devops-onpremise@latest"],
      "env": {
        "DEVOPS_API_URL": "https://your-devops-server/your-organization/your-project",
        "DEVOPS_USERNAME": "DOMAIN\\your-username",
        "DEVOPS_PASSWORD": "your-password"
      }
    }
  }
}
```

For PAT authentication, replace the username and password variables with `DEVOPS_PAT`. The package can also be installed permanently; in that case, invoke `mcp-devops-onpremise` directly instead of using `uvx`. Installation guidance is available for VS Code, Visual Studio, Cursor, Goose, LM Studio, Amp, Claude Code, Claude Desktop, Codex, Gemini CLI, OpenCode, Qodo Gen, Warp, Windsurf, GitHub Copilot CLI, and GitHub Copilot Coding Agent.

## Tools and capabilities

- Retrieve repository lists and repository metadata by name or ID.
- Read file contents at a branch or commit, list files changed by a commit, and compare two commits.
- Produce line-level file diffs with added and removed lines.
- Get pull requests with linked work items and commit SHAs for review or diffing.
- Create or update pull requests, manage reviewers, and cast votes.
- List, create, reply to, update, and delete pull-request comment threads and comments, including inline file comments.
- Retrieve, create, update, delete, restore, and query work items using WIQL.
- Manage work item fields, attachments, comments, parent or related links, and artifact links to pull requests, builds, commits, branches, or changesets.
- Search source code with optional repository, path, and branch filters.

## Limitations and notes

This server targets Azure DevOps Server and is not intended for Azure DevOps Services hosted at `dev.azure.com`. Microsoft’s official Azure DevOps MCP server is the alternative for the cloud service.

Permanent deletion of a work item requires the `destroy` option and appropriate project permission. PATs can expire, and token authentication may be restricted by organizational policy. OAuth use requires administrator-configured OAuth 2.0 support on the Azure DevOps Server.

The package is distributed under Apache-2.0. Manual configurations using `@latest` allow `uvx` to resolve the newest package release when the process starts.

_Full upstream README: https://allmcps.com/mcp/devops-on-premises/readme_

