# Azure DevOps Server (formerly TFS)

> Azure DevOps Server (formerly TFS) is an open-source MCP server for cloud and infrastructure. MCP server for on-premises Azure DevOps Server (TFS) with NTLM sign-in. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, self-hosted, Windows
- **Website:** https://zwitbaum.github.io/mcp-devops-on-prem
- **Repository:** https://github.com/zwitbaum/mcp-devops-on-prem
- **MCP Registry name:** io.github.zwitbaum/mcp-devops-on-prem
- **Categories:** cloud and infrastructure, developer tools
- **Listing updated:** 2026-11-14

## About

The project exists because Microsoft's official Azure DevOps MCP server supports only the cloud service, Azure DevOps Services, and Microsoft has said it does not plan to support the on-premises Server edition. This one targets Azure DevOps Server, formerly Team Foundation Server, and says it is not for dev.azure.com.

Its main difference is NTLM authentication with Windows domain credentials, needed where the server only accepts NTLM or where VPN and domain access are required. Personal access tokens and OAuth bearer tokens work too. You supply the full project URL, such as https://server/org/project, through environment variables.

Assistants can browse repositories, review pull requests, manage work items and read or update wiki pages. It also retrieves commit diffs with added and removed lines, as the web UI shows them, to support code review. The maintainers say requested features are fast-tracked. It installs from PyPI with Python 3.10 or later and uv, and is released under Apache-2.0. The authors state it is a community project not affiliated with Microsoft.

## Features

- **NTLM authentication:** Works with Windows domain credentials and VPN setups.
- **PAT and bearer tokens:** Alternative authentication methods.
- **Pull request review:** Read repositories, pull requests and comments.
- **Work item management:** Create and update work items.
- **Wiki access:** Read and update wiki pages.
- **Commit diffs:** Added and removed lines like the web UI.

## Good for

- Review a pull request on an on-prem server
- Create or update work items from chat
- Read project wiki pages for context
- Summarise a commit's changes

## Install

### Claude Code (Terminal)

```sh
claude mcp add mcp-devops-on-prem --env DEVOPS_API_URL='<DEVOPS_API_URL>' --env DEVOPS_PASSWORD='<DEVOPS_PASSWORD>' --env DEVOPS_PAT='<DEVOPS_PAT>' --env DEVOPS_TOKEN='<DEVOPS_TOKEN>' -- uvx mcp-devops-onpremise
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "mcp-devops-on-prem": {
      "command": "uvx",
      "args": [
        "mcp-devops-onpremise"
      ],
      "env": {
        "DEVOPS_API_URL": "<DEVOPS_API_URL>",
        "DEVOPS_PASSWORD": "<DEVOPS_PASSWORD>",
        "DEVOPS_PAT": "<DEVOPS_PAT>",
        "DEVOPS_TOKEN": "<DEVOPS_TOKEN>"
      }
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "mcp-devops-on-prem": {
      "command": "uvx",
      "args": [
        "mcp-devops-onpremise"
      ],
      "env": {
        "DEVOPS_API_URL": "<DEVOPS_API_URL>",
        "DEVOPS_PASSWORD": "<DEVOPS_PASSWORD>",
        "DEVOPS_PAT": "<DEVOPS_PAT>",
        "DEVOPS_TOKEN": "<DEVOPS_TOKEN>"
      }
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "mcp-devops-on-prem": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "mcp-devops-onpremise"
      ],
      "env": {
        "DEVOPS_API_URL": "<DEVOPS_API_URL>",
        "DEVOPS_PASSWORD": "<DEVOPS_PASSWORD>",
        "DEVOPS_PAT": "<DEVOPS_PAT>",
        "DEVOPS_TOKEN": "<DEVOPS_TOKEN>"
      }
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "mcp-devops-on-prem": {
      "command": "uvx",
      "args": [
        "mcp-devops-onpremise"
      ],
      "env": {
        "DEVOPS_API_URL": "<DEVOPS_API_URL>",
        "DEVOPS_PASSWORD": "<DEVOPS_PASSWORD>",
        "DEVOPS_PAT": "<DEVOPS_PAT>",
        "DEVOPS_TOKEN": "<DEVOPS_TOKEN>"
      }
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "mcp-devops-on-prem": {
      "command": "uvx",
      "args": [
        "mcp-devops-onpremise"
      ],
      "env": {
        "DEVOPS_API_URL": "<DEVOPS_API_URL>",
        "DEVOPS_PASSWORD": "<DEVOPS_PASSWORD>",
        "DEVOPS_PAT": "<DEVOPS_PAT>",
        "DEVOPS_TOKEN": "<DEVOPS_TOKEN>"
      }
    }
  }
}
```

## FAQ

### Does it work with Azure DevOps Services in the cloud?

No. It is for the on-premises Server edition only.

### How do I authenticate?

NTLM with domain credentials, a personal access token or an OAuth bearer token.

### What do I need installed?

Python 3.10 or later and uv.

### Is it from Microsoft?

No, it is a community project not affiliated with or endorsed by Microsoft.

### Is Azure DevOps Server (formerly TFS) free?

Yes. Azure DevOps Server (formerly TFS) is open source, so you can use and self-host it for free.

### How do I add Azure DevOps Server (formerly TFS) to Claude Code?

Run this command in your terminal: claude mcp add mcp-devops-on-prem --env DEVOPS_API_URL='<DEVOPS_API_URL>' --env DEVOPS_PASSWORD='<DEVOPS_PASSWORD>' --env DEVOPS_PAT='<DEVOPS_PAT>' --env DEVOPS_TOKEN='<DEVOPS_TOKEN>' -- uvx mcp-devops-onpremise

### What are the best alternatives to Azure DevOps Server (formerly TFS)?

The closest alternatives to Azure DevOps Server (formerly TFS) are REA, Codebase Memory, GitHub, Serena MCP: the IDE for your agent and XERJ.

## Alternatives

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [Codebase Memory](https://ai-powered.com/mcp/codebase-memory): Codebase Memory is an open-source MCP server for knowledge and memory.
- [GitHub](https://ai-powered.com/mcp/github-2): GitHub is an open-source MCP server for developer tools.
- [Serena MCP: the IDE for your agent](https://ai-powered.com/mcp/serena-mcp-the-ide-for-your-agent): Serena MCP: the IDE for your agent is an open-source MCP server for developer tools.
- [XERJ](https://ai-powered.com/mcp/xerj): XERJ is an open-source MCP server for knowledge and memory.
- [Ouroboros](https://ai-powered.com/mcp/ouroboros): Ouroboros is an open-source MCP server for developer tools.
- [Claude Code Ultimate Guide](https://ai-powered.com/mcp/claude-code-ultimate-guide): Claude Code Ultimate Guide is an open-source MCP server for ai models and llm tooling.
- [Concord MCP](https://ai-powered.com/mcp/concord-mcp): Concord MCP is a freemium MCP server for developer tools.

---
Source: https://ai-powered.com/mcp/azure-devops-server-formerly-tfs
